Skip to content

Commit ef99359

Browse files
committed
chore: bump reth and update everything
1 parent 1932253 commit ef99359

File tree

6 files changed

+101
-200
lines changed

6 files changed

+101
-200
lines changed

Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["crates/*"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.14.0"
6+
version = "0.15.0"
77
edition = "2024"
88
rust-version = "1.88"
99
authors = ["init4"]
@@ -34,15 +34,15 @@ debug = false
3434
incremental = false
3535

3636
[workspace.dependencies]
37-
signet-blobber = { version = "0.14", path = "crates/blobber" }
38-
signet-block-processor = { version = "0.14", path = "crates/block-processor" }
39-
signet-db = { version = "0.14", path = "crates/db" }
40-
signet-genesis = { version = "0.14", path = "crates/genesis" }
41-
signet-node = { version = "0.14", path = "crates/node" }
42-
signet-node-config = { version = "0.14", path = "crates/node-config" }
43-
signet-node-tests = { version = "0.14", path = "crates/node-tests" }
44-
signet-node-types = { version = "0.14", path = "crates/node-types" }
45-
signet-rpc = { version = "0.14", path = "crates/rpc" }
37+
signet-blobber = { version = "0.15", path = "crates/blobber" }
38+
signet-block-processor = { version = "0.15", path = "crates/block-processor" }
39+
signet-db = { version = "0.15", path = "crates/db" }
40+
signet-genesis = { version = "0.15", path = "crates/genesis" }
41+
signet-node = { version = "0.15", path = "crates/node" }
42+
signet-node-config = { version = "0.15", path = "crates/node-config" }
43+
signet-node-tests = { version = "0.15", path = "crates/node-tests" }
44+
signet-node-types = { version = "0.15", path = "crates/node-types" }
45+
signet-rpc = { version = "0.15", path = "crates/rpc" }
4646

4747
init4-bin-base = { version = "0.13.1", features = ["alloy"] }
4848

crates/block-processor/src/utils.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ use reth_chainspec::EthereumHardforks;
44
/// Equivalent to [`reth_evm_ethereum::revm_spec`], however, always starts at
55
/// [`SpecId::PRAGUE`] and transitions to [`SpecId::OSAKA`].
66
pub fn revm_spec(chain_spec: &reth::chainspec::ChainSpec, timestamp: u64) -> SpecId {
7-
if chain_spec.is_osaka_active_at_timestamp(timestamp) { SpecId::OSAKA } else { SpecId::PRAGUE }
7+
if chain_spec.is_amsterdam_active_at_timestamp(timestamp) {
8+
SpecId::AMSTERDAM
9+
} else if chain_spec.is_osaka_active_at_timestamp(timestamp) {
10+
SpecId::OSAKA
11+
} else {
12+
SpecId::PRAGUE
13+
}
814
}
915

1016
/// This is simply a compile-time assertion to ensure that all SpecIds are
@@ -32,6 +38,7 @@ const fn assert_in_range(spec_id: SpecId) {
3238
| SpecId::SHANGHAI
3339
| SpecId::CANCUN
3440
| SpecId::PRAGUE
35-
| SpecId::OSAKA => {}
41+
| SpecId::OSAKA
42+
| SpecId::AMSTERDAM => {}
3643
}
3744
}

0 commit comments

Comments
 (0)