Skip to content

Commit d41891e

Browse files
committed
chore: bump reth and update everything
1 parent 42bac5f commit d41891e

File tree

6 files changed

+117
-216
lines changed

6 files changed

+117
-216
lines changed

Cargo.toml

Lines changed: 26 additions & 26 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

@@ -74,22 +74,22 @@ alloy = { version = "1.0.35", features = [
7474
alloy-contract = { version = "1.0.35", features = ["pubsub"] }
7575

7676
# Reth
77-
reth = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
78-
reth-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
79-
reth-chainspec = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
80-
reth-db = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
81-
reth-db-common = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
82-
reth-eth-wire-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
83-
reth-evm-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
84-
reth-exex = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
85-
reth-exex-test-utils = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
86-
reth-network-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
87-
reth-network-peers = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
88-
reth-node-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
89-
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
90-
reth-prune-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
91-
reth-rpc-eth-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
92-
reth-transaction-pool = { git = "https://github.com/paradigmxyz/reth", tag = "v1.8.3" }
77+
reth = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
78+
reth-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
79+
reth-chainspec = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
80+
reth-db = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
81+
reth-db-common = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
82+
reth-eth-wire-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
83+
reth-evm-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
84+
reth-exex = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
85+
reth-exex-test-utils = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
86+
reth-network-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
87+
reth-network-peers = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
88+
reth-node-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
89+
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
90+
reth-prune-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
91+
reth-rpc-eth-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
92+
reth-transaction-pool = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0" }
9393

9494
# Foundry periphery
9595
foundry-blob-explorers = "0.17"

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)