Skip to content

Commit

Permalink
chore: use U256::ZERO (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger authored Oct 12, 2024
1 parent b0ec232 commit 61b5b88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/node/src/chainspec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub static ODYSSEY_DEV: Lazy<Arc<OpChainSpec>> = Lazy::new(|| {
chain: Chain::from_named(NamedChain::Odyssey),
genesis: serde_json::from_str(include_str!("../../../etc/dev-genesis.json"))
.expect("Can't deserialize odyssey genesis json"),
paris_block_and_final_difficulty: Some((0, U256::from(0))),
paris_block_and_final_difficulty: Some((0, U256::ZERO)),
hardforks: ODYSSEY_FORKS.clone(),
base_fee_params: BaseFeeParamsKind::Constant(BaseFeeParams::ethereum()),
deposit_contract: None,
Expand All @@ -66,7 +66,7 @@ pub static ODYSSEY_MAINNET: Lazy<Arc<OpChainSpec>> = Lazy::new(|| {
genesis_hash: once_cell_set(b256!(
"2f980576711e3617a5e4d83dd539548ec0f7792007d505a3d2e9674833af2d7c"
)),
paris_block_and_final_difficulty: Some((0, U256::from(0))),
paris_block_and_final_difficulty: Some((0, U256::ZERO)),
hardforks: ODYSSEY_FORKS.clone(),
base_fee_params: BaseFeeParamsKind::Variable(
vec![
Expand Down

0 comments on commit 61b5b88

Please sign in to comment.