Skip to content

Commit 16b8b5c

Browse files
committed
fix
1 parent 55a3440 commit 16b8b5c

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

crates/scroll/chainspec/src/dev.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ use scroll_alloy_hardforks::ScrollHardfork;
2020
pub static SCROLL_DEV: LazyLock<Arc<ScrollChainSpec>> = LazyLock::new(|| {
2121
// In order to have Feynman activated at block 0, we set the `baseFeePerGas` field of the devnet
2222
// genesis to 0.
23+
// TODO(thegaram): Update L1GasPriceOracle genesis account bytecode and storage.
2324
let genesis = serde_json::from_str(include_str!("../res/genesis/dev.json"))
2425
.expect("Can't deserialize Dev testnet genesis json");
2526

crates/scroll/chainspec/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ impl ScrollChainSpecBuilder {
190190

191191
/// Enable `GalileoV2` at genesis
192192
pub fn galileo_v2_activated(mut self) -> Self {
193-
self = self.feynman_activated();
193+
self = self.galileo_activated();
194194
self.inner = self.inner.with_fork(ScrollHardfork::GalileoV2, ForkCondition::Timestamp(0));
195195
self
196196
}

crates/scroll/hardforks/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ pub static SCROLL_MAINNET_HARDFORKS: LazyLock<ChainHardforks> = LazyLock::new(||
4141
(ScrollHardfork::EuclidV2.boxed(), ForkCondition::Timestamp(1745305200)),
4242
(ScrollHardfork::Feynman.boxed(), ForkCondition::Timestamp(1755576000)),
4343
(ScrollHardfork::Galileo.boxed(), ForkCondition::Timestamp(u64::MAX)),
44+
(ScrollHardfork::GalileoV2.boxed(), ForkCondition::Timestamp(u64::MAX)),
4445
])
4546
});
4647

@@ -66,6 +67,7 @@ pub static SCROLL_SEPOLIA_HARDFORKS: LazyLock<ChainHardforks> = LazyLock::new(||
6667
(ScrollHardfork::EuclidV2.boxed(), ForkCondition::Timestamp(1741852800)),
6768
(ScrollHardfork::Feynman.boxed(), ForkCondition::Timestamp(1753167600)),
6869
(ScrollHardfork::Galileo.boxed(), ForkCondition::Timestamp(1764054000)),
70+
(ScrollHardfork::GalileoV2.boxed(), ForkCondition::Timestamp(u64::MAX)),
6971
])
7072
});
7173

@@ -91,5 +93,6 @@ pub static DEV_HARDFORKS: LazyLock<ChainHardforks> = LazyLock::new(|| {
9193
(ScrollHardfork::EuclidV2.boxed(), ForkCondition::Timestamp(0)),
9294
(ScrollHardfork::Feynman.boxed(), ForkCondition::Timestamp(0)),
9395
(ScrollHardfork::Galileo.boxed(), ForkCondition::Timestamp(0)),
96+
(ScrollHardfork::GalileoV2.boxed(), ForkCondition::Timestamp(0)),
9497
])
9598
});

crates/scroll/node/src/test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub async fn setup(
3131
reth_e2e_test_utils::setup_engine(
3232
num_nodes,
3333
Arc::new(
34-
ScrollChainSpecBuilder::scroll_mainnet().genesis(genesis).galileo_activated().build(
34+
ScrollChainSpecBuilder::scroll_mainnet().genesis(genesis).galileo_v2_activated().build(
3535
ScrollChainConfig {
3636
max_tx_payload_bytes_per_block: 120 * 1024,
3737
..Default::default()

0 commit comments

Comments
 (0)