Invalid params
error expected on nil Withdrawals in engine_newPayloadV2
#26604
Labels
Invalid params
error expected on nil Withdrawals in engine_newPayloadV2
#26604
System information
Geth version: Geth/v1.11.0-unstable-3a79a99f-20230203/linux-amd64/go1.19.5
CL client & version: ethereum/hive/pull/700
OS & Version: Linux
Commit hash : 3a79a99
Expected behavior
-32602: Invalid params
error is expected when nil withdrawals is used on a new payload inengine_newPayloadV2
and the payload is post-Shanghai.Same error is also expected when non-nil withdrawals is used and the payload is pre-Shanghai.
https://github.com/ethereum/execution-apis/blob/main/src/engine/shanghai.md#request
Actual behavior
Geth is currently returning:
and
Steps to reproduce the behaviour
Using ethereum/hive/pull/700, and running:
will yield both errors at some point.
I think this is the last error found in hive for the withdrawals test suite :)
The text was updated successfully, but these errors were encountered: