Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita committed Jan 8, 2025
1 parent 6680c85 commit ce9a0ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/context/interface/src/block/blob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:?}");
}
Expand Down
2 changes: 2 additions & 0 deletions crates/context/interface/src/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce9a0ff

Please sign in to comment.