Skip to content

fix: update process_execution_payload and fix spec test#485

Merged
MegaRedHand merged 4 commits intomainfrom
update-spec-tests-version
Nov 29, 2023
Merged

fix: update process_execution_payload and fix spec test#485
MegaRedHand merged 4 commits intomainfrom
update-spec-tests-version

Conversation

@mpaulucci
Copy link
Collaborator

Motivation
The previous spec test version considered "bad_parent_hash_first_payload" to be a valid testcase (post was not null), but this has been fixed in this PR ethereum/consensus-specs#3350

In our code we were using the simplified version of process_execution_payload so this was having issues with the test.

Description

  • Updated spectest version to v1.4.0-alpha.0
  • Updated process_execution_payload to take a beacon body instead of an execution payload (per spec)
  • Updated code to be able to pass a mocked Execution Engine. This is a bit hacky, but Patch is not an option since the code is in lib and Patch is a test dependency. Maybe we can move the runners code to test but this is not trivial.
  • Fixed spec tests.

@mpaulucci mpaulucci requested a review from a team as a code owner November 29, 2023 17:40
@MegaRedHand MegaRedHand merged commit 235875b into main Nov 29, 2023
@MegaRedHand MegaRedHand deleted the update-spec-tests-version branch November 29, 2023 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants