fixes after merge

This commit is contained in:
realbigsean
2023-07-17 09:50:32 -04:00
parent b96db45090
commit 0f514cbb36
5 changed files with 30 additions and 45 deletions

View File

@@ -126,7 +126,7 @@ impl<T: EthSpec> BlobSidecar<T> {
})
}
#[allow(clippy::integer_arithmetic)]
#[allow(clippy::arithmetic_side_effects)]
pub fn max_size() -> usize {
// Fixed part
Self::empty().as_ssz_bytes().len()

View File

@@ -139,7 +139,7 @@ impl<T: EthSpec> ExecutionPayload<T> {
+ (T::max_withdrawals_per_payload() * <Withdrawal as Encode>::ssz_fixed_len())
}
#[allow(clippy::integer_arithmetic)]
#[allow(clippy::arithmetic_side_effects)]
/// Returns the maximum size of an execution payload.
pub fn max_execution_payload_deneb_size() -> usize {
// Fixed part