Skip to content

Commit

Permalink
fix: spec id at head
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Edison <[email protected]>
  • Loading branch information
greged93 committed Mar 6, 2025
1 parent 0ef364e commit 34bbfa6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/scroll/evm/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ impl<ChainSpec: ScrollHardforks> ScrollEvmConfig<ChainSpec> {
ScrollSpecId::DARWIN
} else if chain_spec.scroll_fork_activation(ScrollHardfork::Curie).active_at_head(head) {
ScrollSpecId::CURIE
} else {
} else if chain_spec.scroll_fork_activation(ScrollHardfork::Bernoulli).active_at_head(head)
{
ScrollSpecId::BERNOULLI
} else {
ScrollSpecId::SHANGHAI
}
}
}
Expand Down

0 comments on commit 34bbfa6

Please sign in to comment.