diff --git a/crates/scroll/evm/src/lib.rs b/crates/scroll/evm/src/lib.rs index 5ae4eae077a..217fa845a50 100644 --- a/crates/scroll/evm/src/lib.rs +++ b/crates/scroll/evm/src/lib.rs @@ -114,6 +114,11 @@ pub fn spec_id_at_timestamp_and_number( chain_spec: impl ScrollHardforks, ) -> ScrollSpecId { if chain_spec + .scroll_fork_activation(ScrollHardfork::Galileo) + .active_at_timestamp_or_number(timestamp, number) + { + ScrollSpecId::GALILEO + } else if chain_spec .scroll_fork_activation(ScrollHardfork::Feynman) .active_at_timestamp_or_number(timestamp, number) { diff --git a/crates/scroll/node/src/builder/pool.rs b/crates/scroll/node/src/builder/pool.rs index 8fead3e4c3f..2f7c2b65a8a 100644 --- a/crates/scroll/node/src/builder/pool.rs +++ b/crates/scroll/node/src/builder/pool.rs @@ -345,7 +345,7 @@ mod tests { err.kind, PoolErrorKind::InvalidTransaction( InvalidPoolTransactionError::Consensus(InvalidTransactionError::InsufficientFunds(GotExpectedBoxed(expected))) - ) if *expected == GotExpected{ got: U256::from(400000), expected: U256::from(4205858031847u64) } + ) if *expected == GotExpected{ got: U256::from(400000), expected: U256::from(483673629772436u64) } )); // explicitly drop the manager here otherwise the `TransactionValidationTaskExecutor` will