File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/scroll/chainspec/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use alloc::sync::Arc;
88use alloy_chains:: { Chain , NamedChain } ;
99use reth_chainspec:: ChainSpec ;
1010use reth_primitives_traits:: SealedHeader ;
11- use reth_scroll_forks:: ScrollHardfork ;
11+ use reth_scroll_forks:: SCROLL_MAINNET_HARDFORKS ;
1212
1313/// The Scroll Mainnet spec
1414pub static SCROLL_MAINNET : LazyLock < Arc < ScrollChainSpec > > = LazyLock :: new ( || {
@@ -23,7 +23,7 @@ pub static SCROLL_MAINNET: LazyLock<Arc<ScrollChainSpec>> = LazyLock::new(|| {
2323 SCROLL_MAINNET_GENESIS_HASH ,
2424 ) ,
2525 genesis,
26- hardforks : ScrollHardfork :: scroll_mainnet ( ) ,
26+ hardforks : SCROLL_MAINNET_HARDFORKS . clone ( ) ,
2727 ..Default :: default ( )
2828 } ,
2929 config : ScrollChainConfig :: mainnet ( ) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use alloc::sync::Arc;
88use alloy_chains:: { Chain , NamedChain } ;
99use reth_chainspec:: ChainSpec ;
1010use reth_primitives_traits:: SealedHeader ;
11- use reth_scroll_forks:: ScrollHardfork ;
11+ use reth_scroll_forks:: SCROLL_SEPOLIA_HARDFORKS ;
1212
1313/// The Scroll Sepolia spec
1414pub static SCROLL_SEPOLIA : LazyLock < Arc < ScrollChainSpec > > = LazyLock :: new ( || {
@@ -23,7 +23,7 @@ pub static SCROLL_SEPOLIA: LazyLock<Arc<ScrollChainSpec>> = LazyLock::new(|| {
2323 SCROLL_SEPOLIA_GENESIS_HASH ,
2424 ) ,
2525 genesis,
26- hardforks : ScrollHardfork :: scroll_sepolia ( ) ,
26+ hardforks : SCROLL_SEPOLIA_HARDFORKS . clone ( ) ,
2727 ..Default :: default ( )
2828 } ,
2929 config : ScrollChainConfig :: sepolia ( ) ,
You can’t perform that action at this time.
0 commit comments