Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehao committed Dec 4, 2024
1 parent 164d9bb commit 70abe38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion crates/scroll/chainspec/src/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ pub static SCROLL_DEV: LazyLock<Arc<ScrollChainSpec>> = LazyLock::new(|| {
paris_block_and_final_difficulty: Some((0, U256::from(0))),
hardforks: DEV_HARDFORKS.clone(),
base_fee_params: BaseFeeParamsKind::Constant(BaseFeeParams::ethereum()),
deposit_contract: None, // TODO: do we even have?
..Default::default()
},
}
Expand Down
3 changes: 2 additions & 1 deletion crates/scroll/chainspec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ impl From<Genesis> for ScrollChainSpec {
fn from(genesis: Genesis) -> Self {
use reth_scroll_forks::ScrollHardfork;
let scroll_genesis_info = ScrollGenesisInfo::extract_from(&genesis);
let genesis_info = scroll_genesis_info.scroll_chain_info.genesis_info.unwrap_or_default();
let genesis_info =
scroll_genesis_info.scroll_chain_info.genesis_info.expect("load scroll genesis info");

// Block-based hardforks
let hardfork_opts = [
Expand Down

0 comments on commit 70abe38

Please sign in to comment.