diff --git a/crates/context/interface/src/block/blob.rs b/crates/context/interface/src/block/blob.rs index d86cc0c41e..d94c23c99b 100644 --- a/crates/context/interface/src/block/blob.rs +++ b/crates/context/interface/src/block/blob.rs @@ -167,7 +167,7 @@ mod tests { let actual = calc_excess_blob_gas( excess, blobs * GAS_PER_BLOB, - eip4844::TARGET_BLOB_NUMBER_PER_BLOCK_CANCUN, + eip4844::TARGET_BLOB_GAS_PER_BLOCK_CANCUN, ); assert_eq!(actual, expected, "test: {t:?}"); } diff --git a/crates/context/interface/src/cfg.rs b/crates/context/interface/src/cfg.rs index f7b5c81ad1..1872f2ace2 100644 --- a/crates/context/interface/src/cfg.rs +++ b/crates/context/interface/src/cfg.rs @@ -14,6 +14,8 @@ pub trait Cfg { fn spec(&self) -> Self::Spec; /// Returns the blob target and max count for the given spec id. + /// + /// EIP-7840: Add blob schedule to execution client configuration files fn blob_max_count(&self, spec_id: SpecId) -> u8; fn max_code_size(&self) -> usize;