We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ebbe8c commit 8b4f318Copy full SHA for 8b4f318
crates/anvil/src/config.rs
@@ -534,7 +534,7 @@ impl NodeConfig {
534
BlobExcessGasAndPrice::new(
535
excess_blob_gas,
536
get_blob_base_fee_update_fraction(
537
- self.chain_id.unwrap_or(Chain::mainnet().id()),
+ self.get_chain_id(),
538
self.get_genesis_timestamp(),
539
),
540
)
@@ -543,10 +543,7 @@ impl NodeConfig {
543
544
/// Returns the [`BlobParams`] that should be used.
545
pub fn get_blob_params(&self) -> BlobParams {
546
- get_blob_params(
547
548
- self.get_genesis_timestamp(),
549
- )
+ get_blob_params(self.get_chain_id(), self.get_genesis_timestamp())
550
}
551
552
/// Returns the hardfork to use
0 commit comments