Skip to content

Commit 709bbd0

Browse files
authored
Merge branch 'scroll' into chore-merge-upstream-b48c72fad2
2 parents c67c132 + cc79edb commit 709bbd0

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install cargo-codspeed
2929
uses: taiki-e/install-action@v2
3030
with:
31-
tool: cargo-codspeed
31+
tool: cargo-codspeed@4.0.5
3232
- name: Build the benchmark target(s)
3333
run: ./.github/scripts/codspeed-build.sh
3434
- name: Run the benchmarks

crates/scroll/evm/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ pub fn spec_id_at_timestamp_and_number(
114114
chain_spec: impl ScrollHardforks,
115115
) -> ScrollSpecId {
116116
if chain_spec
117+
.scroll_fork_activation(ScrollHardfork::Galileo)
118+
.active_at_timestamp_or_number(timestamp, number)
119+
{
120+
ScrollSpecId::GALILEO
121+
} else if chain_spec
117122
.scroll_fork_activation(ScrollHardfork::Feynman)
118123
.active_at_timestamp_or_number(timestamp, number)
119124
{

crates/scroll/node/src/builder/pool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ mod tests {
345345
err.kind,
346346
PoolErrorKind::InvalidTransaction(
347347
InvalidPoolTransactionError::Consensus(InvalidTransactionError::InsufficientFunds(GotExpectedBoxed(expected)))
348-
) if *expected == GotExpected{ got: U256::from(400000), expected: U256::from(4205858031847u64) }
348+
) if *expected == GotExpected{ got: U256::from(400000), expected: U256::from(483673629772436u64) }
349349
));
350350

351351
// explicitly drop the manager here otherwise the `TransactionValidationTaskExecutor` will

0 commit comments

Comments
 (0)