Skip to content

Commit

Permalink
Make MAX_BLOB_NUMBER_PER_BLOCK equal 6 rather than double TARGET_BLOB…
Browse files Browse the repository at this point in the history
…_NUMBER_PER_BLOCK
  • Loading branch information
lima-limon-inc committed Jan 23, 2025
1 parent 57af4ed commit f04ba07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/blockchain/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub const TARGET_BLOB_GAS_PER_BLOCK: u64 = 393216;
pub const TARGET_BLOB_NUMBER_PER_BLOCK: u64 = 3;

/// Max number of blobs per block
pub const MAX_BLOB_NUMBER_PER_BLOCK: u64 = 2 * TARGET_BLOB_NUMBER_PER_BLOCK;
pub const MAX_BLOB_NUMBER_PER_BLOCK: u64 = 6;

/// Maximum consumable blob gas for data blobs per block.
pub const MAX_BLOB_GAS_PER_BLOCK: u64 = MAX_BLOB_NUMBER_PER_BLOCK * GAS_PER_BLOB;
Expand Down

0 comments on commit f04ba07

Please sign in to comment.