-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
cmd/evm: make t8ntool handle transaction decoding errors better #28397
Conversation
77d3783
to
ad59821
Compare
good, now I confirm t8n rejecting invalid blob transactions but this one still got through.
|
@winsvega if that is indeed a bug, then it deserves it's own issue in the tracker. But where is the max blobs per transaction defined? I don't see it in https://eips.ethereum.org/EIPS/eip-4844 |
it is not defined expicitly but by calculating the blob price. max blobs defined per block. so one tx can have 2, another 3. MAX_BLOB_GAS_PER_BLOCK / GAS_PER_BLOB this might not be a bug, need hive confirmation, as block logic might not be checked in t8n |
Ok, pushed a fix, PTAL |
d20c8c2
to
2981bae
Compare
2981bae
to
3fdff6e
Compare
false rejections allover the correct blob transactions. (correct by nimbus) |
now works! |
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.
lgtm
Co-authored-by: Marius van der Wijden <[email protected]>
…reum#28397) This change closes ethereum#27730 . By using an iterator instead of a slice of transactions, we can better handle the case when an individual transaction (within an otherwise well-formed RLP-list) cannot be decoded.
…er (ethereum#28397)" This reverts commit b5c13fa.
…er (ethereum#28397)" This reverts commit b5c13fa.
…reum#28397) This change closes ethereum#27730 . By using an iterator instead of a slice of transactions, we can better handle the case when an individual transaction (within an otherwise well-formed RLP-list) cannot be decoded.
…reum#28397) This change closes ethereum#27730 . By using an iterator instead of a slice of transactions, we can better handle the case when an individual transaction (within an otherwise well-formed RLP-list) cannot be decoded.
This PR closes #27730 . By using an iterator instead of a slice of transactions, we can better handle the case when an individual transaction (within an otherwise well-formed RLP-list) cannot be decoded.
For reviewers:
cc @winsvega