Skip to content

Commit 9b0c783

Browse files
committed
feat(forks): add PragueEIP7692
1 parent e7fb7d8 commit 9b0c783

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/ethereum_test_forks/forks/forks.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,3 +628,29 @@ def solc_min_version(cls) -> Version:
628628
Returns the minimum version of solc that supports this fork.
629629
"""
630630
return Version.parse("1.0.0") # set a high version; currently unknown
631+
632+
633+
class PragueEIP7692( # noqa: SC200
634+
Prague,
635+
transition_tool_name="Prague", # Evmone enables (only) EOF at Prague
636+
blockchain_test_network_name="Prague", # Evmone enables (only) EOF at Prague
637+
solc_name="cancun",
638+
):
639+
"""
640+
Prague + EIP-7692 (EOF) fork
641+
"""
642+
643+
@classmethod
644+
def is_deployed(cls) -> bool:
645+
"""
646+
Flags that the fork has not been deployed to mainnet; it is under active
647+
development.
648+
"""
649+
return False
650+
651+
@classmethod
652+
def solc_min_version(cls) -> Version:
653+
"""
654+
Returns the minimum version of solc that supports this fork.
655+
"""
656+
return Version.parse("1.0.0") # set a high version; currently unknown

0 commit comments

Comments
 (0)