-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add more execution payload processing tests #4087
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b18c0f6
Add tests for execution payload processing with incorrect blob commit…
debjit-bw bd59b13
Merge branch 'dev' into ef-assignment
debjit-bw c3e2efe
remove invalid test
debjit-bw bc80f26
Merge branch 'dev' into ef-assignment
debjit-bw d9c9c66
add back test with comments
debjit-bw 02f6719
Delete double space in comment
jtraglia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm this would be an invalid blob transaction though 😅
See: https://eips.ethereum.org/EIPS/eip-4844#execution-layer-validation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh no, this skipped my mind sorry, i removed this test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries at all. After looking at other tests in that file, it seems that some also have invalid transactions. So it might have been okay to keep but I think removing it is for the best. Thank you.
For example, an invalid transaction:
consensus-specs/tests/core/pyspec/eth2spec/test/deneb/block_processing/test_process_execution_payload.py
Lines 89 to 101 in b1c70a9
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha, hawk eyes 👀! btw, i just updated the base branch right after you approved the CI, would you mind approving the CI run once again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, we can add it back but with a new name. Something like this, feel free to alter:
Also I would add a comment (above the
get_sample_blob_txcall) about blob transactions with zero blobs being invalid. This might not be immediately obvious to CL folks 😄