Skip to content

Commit bd0b204

Browse files
committed
fix(raiko): remove useless log & fix prove script
1 parent 137cd59 commit bd0b204

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/src/utils/shasta_rules.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use reth_evm_ethereum::taiko::ANCHOR_V4_GAS_LIMIT;
33
use reth_primitives::revm_primitives::SpecId;
44
use reth_primitives::{Block, Header};
55
use std::cmp::max as std_max;
6-
use tracing::warn;
6+
use tracing::{info, warn};
77

88
use crate::consts::ForkCondition;
99
use crate::input::{BlockProposedFork, GuestBatchInput, GuestInput};
@@ -283,9 +283,9 @@ pub fn validate_shasta_block_gas_limit(
283283
),
284284
upper_limit,
285285
);
286-
tracing::info!("validate_shasta_block_gas_limit, parent_gas_limit: {}, block_gas_limit: {}, upper_limit: {}, lower_limit: {}", parent_gas_limit, block_gas_limit, upper_limit, lower_limit);
287286

288287
if block_gas_limit < lower_limit || block_gas_limit > upper_limit {
288+
info!("validate_shasta_block_gas_limit, parent_gas_limit: {}, block_gas_limit: {}, upper_limit: {}, lower_limit: {}", parent_gas_limit, block_gas_limit, upper_limit, lower_limit);
289289
warn!("block gas limit is out of bounds, block_gas_limit: {}, lower_limit: {}, upper_limit: {}", block_gas_limit, lower_limit, upper_limit);
290290
return false;
291291
}

script/prove-shasta.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ elif [ "$chain" == "holesky" ]; then
8080
l1_network="holesky"
8181
elif [ "$chain" == "taiko_mainnet" ]; then
8282
l1_network="ethereum"
83-
elif [ "$chain" == "taiko_a7" ]; then
84-
l1_network="holesky"
83+
elif [ "$chain" == "taiko_hoodi" ]; then
84+
l1_network="hoodi"
8585
elif [ "$chain" == "taiko_dev" ]; then
8686
l1_network="taiko_dev_l1"
8787
else

0 commit comments

Comments
 (0)