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

Add failure type for duplicate requests #623

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

marioevz
Copy link
Member

Adds another explicit scenario where engine_newPayloadV4 should return -32602: Invalid params.

For example, in the following requests list, the request elements are technically not out of order, and they have a length of more than one byte, but should still be considered invalid:

[
"0x02a94f5374fce5edbc8e2a8697c15331677e6ebf0b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",
"0x02a94f5374fce5edbc8e2a8697c15331677e6ebf0b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
]

@mkalinin mkalinin merged commit 53f3bd6 into ethereum:main Jan 21, 2025
3 checks passed
fjl pushed a commit to ethereum/go-ethereum that referenced this pull request Jan 23, 2025
sebastianst pushed a commit to ethereum-optimism/op-geth that referenced this pull request Jan 27, 2025
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