mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(builder): desired block gas limit (#13351)
This commit is contained in:
@ -157,7 +157,7 @@ impl ConfigureEvmEnv for OpEvmConfig {
|
||||
timestamp: U256::from(attributes.timestamp),
|
||||
difficulty: U256::ZERO,
|
||||
prevrandao: Some(attributes.prev_randao),
|
||||
gas_limit: U256::from(parent.gas_limit),
|
||||
gas_limit: U256::from(attributes.gas_limit),
|
||||
// calculate basefee based on parent block's gas usage
|
||||
basefee: self.chain_spec.next_block_base_fee(parent, attributes.timestamp)?,
|
||||
// calculate excess gas based on parent block's blob gas usage
|
||||
|
||||
Reference in New Issue
Block a user