From 401c0e3b7ff3f83f5d300d36da5e583c7d2df424 Mon Sep 17 00:00:00 2001 From: john xu Date: Thu, 2 Jan 2025 15:05:30 +0800 Subject: [PATCH] Updated gas_limit conversion; added TAIKO_DOCKER_IMAGE_NAME; removed ARM64 build steps --- crates/taiko/payload/builder/src/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/taiko/payload/builder/src/builder.rs b/crates/taiko/payload/builder/src/builder.rs index 28a6fecaf41a..2695f1bf8805 100644 --- a/crates/taiko/payload/builder/src/builder.rs +++ b/crates/taiko/payload/builder/src/builder.rs @@ -68,7 +68,7 @@ where 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; - block_env.gas_limit = config.attributes.block_metadata.gas_limit.into(); + block_env.gas_limit = U256::from(config.attributes.block_metadata.gas_limit); block_env.prevrandao = Some(config.attributes.block_metadata.mix_hash); block_env.coinbase = config.attributes.block_metadata.beneficiary;