Skip to content

Commit 2567dd1

Browse files
committed
feat(fw): use forkchoice updated version 4 for prague.
1 parent 4548018 commit 2567dd1

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

src/ethereum_test_fixtures/tests/test_blockchain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@
791791
).requests_list
792792
],
793793
],
794-
"forkchoiceUpdatedVersion": "3",
794+
"forkchoiceUpdatedVersion": "4",
795795
"newPayloadVersion": "4",
796796
"validationError": "BlockException.INCORRECT_BLOCK_FORMAT"
797797
"|TransactionException.INTRINSIC_GAS_TOO_LOW",
@@ -948,7 +948,7 @@
948948
],
949949
],
950950
"newPayloadVersion": "4",
951-
"forkchoiceUpdatedVersion": "3",
951+
"forkchoiceUpdatedVersion": "4",
952952
"validationError": "BlockException.INCORRECT_BLOCK_FORMAT"
953953
"|TransactionException.INTRINSIC_GAS_TOO_LOW",
954954
},

src/ethereum_test_forks/forks/forks.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -976,16 +976,6 @@ def engine_new_payload_version(
976976
"""
977977
return 4
978978

979-
@classmethod
980-
def engine_forkchoice_updated_version(
981-
cls, block_number: int = 0, timestamp: int = 0
982-
) -> Optional[int]:
983-
"""
984-
At Prague, version number of NewPayload and ForkchoiceUpdated diverge.
985-
"""
986-
return 3
987-
988-
989979
class CancunEIP7692( # noqa: SC200
990980
Cancun,
991981
transition_tool_name="Prague", # Evmone enables (only) EOF at Prague

0 commit comments

Comments
 (0)