Skip to content

Commit

Permalink
Turn on ArrowGlacier to Merge transition tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fselmo committed Sep 30, 2022
1 parent 66e8224 commit e20500d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions eth/tools/fixtures/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
IstanbulVM,
BerlinVM,
LondonVM,
GrayGlacierVM,
ParisVM,
)

Expand Down Expand Up @@ -180,6 +181,16 @@ def chain_vm_configuration(fixture: Dict[str, Any]) -> Iterable[Tuple[int, Type[
(0, BerlinVM),
(5, LondonVM),
)
elif network == "ArrowGlacierToMergeAtDiffC0000":
# Transition expected at 6 for all tests written thus far
return (
# These tests were written before Gray Glacier was a thing. Use
# GrayGlacierVM instead since that's when PoW -> PoS transition happens.
# They should both pass but this is the more logical transition to test.
(0, GrayGlacierVM),
(6, ParisVM),
)

else:
raise ValueError(f"Network {network} does not match any known VM rules")

Expand Down

0 comments on commit e20500d

Please sign in to comment.