Skip to content

Commit

Permalink
fill the baseFee
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp committed Dec 30, 2024
1 parent 587b8b1 commit b15b302
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/taiko/payload/builder/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ where
suggested_fee_recipient: config.attributes.suggested_fee_recipient(),
prev_randao: config.attributes.prev_randao(),
};
self.evm_config.next_cfg_and_block_env(parent, next_attributes)
let (cfg_with_handler_cfg, mut block_env) =
self.evm_config.next_cfg_and_block_env(parent, next_attributes)?;
block_env.basefee = config.attributes.base_fee_per_gas;

Ok((cfg_with_handler_cfg, block_env))
}
}

Expand Down

0 comments on commit b15b302

Please sign in to comment.