Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update process_execution_payload and fix spec test #485

Merged
merged 4 commits into from
Nov 29, 2023

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
9 checks passed
@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