Skip to content

Commit 832baf5

Browse files
committed
fix: imports
Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>
1 parent 77d9220 commit 832baf5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/scroll/chainspec/src/scroll.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use alloc::sync::Arc;
88
use alloy_chains::{Chain, NamedChain};
99
use reth_chainspec::ChainSpec;
1010
use reth_primitives_traits::SealedHeader;
11-
use reth_scroll_forks::ScrollHardfork;
11+
use reth_scroll_forks::SCROLL_MAINNET_HARDFORKS;
1212

1313
/// The Scroll Mainnet spec
1414
pub 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(),

crates/scroll/chainspec/src/scroll_sepolia.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use alloc::sync::Arc;
88
use alloy_chains::{Chain, NamedChain};
99
use reth_chainspec::ChainSpec;
1010
use reth_primitives_traits::SealedHeader;
11-
use reth_scroll_forks::ScrollHardfork;
11+
use reth_scroll_forks::SCROLL_SEPOLIA_HARDFORKS;
1212

1313
/// The Scroll Sepolia spec
1414
pub 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(),

0 commit comments

Comments
 (0)