Skip to content

Commit 3a32848

Browse files
roynalnarutolispc
andauthored
hardfork: GalileoV2 (#156)
* feat: galileo-v2 in build chainspec * update --------- Co-authored-by: Zhang Zhuo <[email protected]>
1 parent 38b33b9 commit 3a32848

File tree

3 files changed

+59
-56
lines changed

3 files changed

+59
-56
lines changed

Cargo.lock

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -60,25 +60,25 @@ alloy-evm = { version = "0.22.2", default-features = false }
6060

6161
revm-scroll = { git = "https://github.com/scroll-tech/scroll-revm", tag = "scroll-v91", default-features = false }
6262

63-
reth-chainspec = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
64-
reth-evm = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
65-
reth-evm-ethereum = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
66-
reth-ethereum-forks = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
67-
reth-execution-types = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
68-
reth-primitives = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
69-
reth-primitives-traits = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
70-
reth-stateless = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
71-
reth-trie = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
72-
73-
reth-scroll-chainspec = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
74-
reth-scroll-evm = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
75-
reth-scroll-forks = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
76-
reth-scroll-primitives = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
77-
78-
scroll-alloy-evm = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
79-
scroll-alloy-consensus = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
80-
scroll-alloy-rpc-types = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
81-
scroll-alloy-network = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91", default-features = false }
63+
reth-chainspec = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
64+
reth-evm = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
65+
reth-evm-ethereum = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
66+
reth-ethereum-forks = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
67+
reth-execution-types = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
68+
reth-primitives = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
69+
reth-primitives-traits = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
70+
reth-stateless = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
71+
reth-trie = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
72+
73+
reth-scroll-chainspec = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
74+
reth-scroll-evm = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
75+
reth-scroll-forks = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
76+
reth-scroll-primitives = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
77+
78+
scroll-alloy-evm = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
79+
scroll-alloy-consensus = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
80+
scroll-alloy-rpc-types = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
81+
scroll-alloy-network = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
8282

8383
risc0-ethereum-trie = { git = "https://github.com/risc0/risc0-ethereum" }
8484

crates/primitives/src/chainspec.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ pub fn build_chain_spec_force_hardfork(
140140
if hardfork >= Hardfork::Galileo {
141141
hardforks.insert(Hardfork::Galileo, ForkCondition::Timestamp(0));
142142
}
143+
if hardfork >= Hardfork::GalileoV2 {
144+
hardforks.insert(Hardfork::GalileoV2, ForkCondition::Timestamp(0));
145+
}
143146
sbv_helpers::dev_info!(
144147
"Building chain spec for chain {} with hardfork {:?}",
145148
chain,

0 commit comments

Comments
 (0)