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

Test against EngineNewPayloadV4 in EngineNewPayloadV4Test #7837

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

siladu
Copy link
Contributor

@siladu siladu commented Oct 31, 2024

The method under test was EngineNewPayloadV3 so the passing tests weren't valid 😅

Remove optional maybeRequests from AbstractEngineNewPayloadTest.setupValidPayload, instead relying on the V4 @Override ... createBlockHeader and @Override ... resp methods to construct a valid V4 request.

Also change "Missing" -> "Unexpected" message when V3 blob params sent to V2

More tidy up of this test hierarchy needed, but this unblocks adding tests for EIP-7742

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
@siladu siladu changed the title Actually test against EngineNewPayloadV4 in EngineNewPayloadV4Test Test against EngineNewPayloadV4 in EngineNewPayloadV4Test Oct 31, 2024
@siladu siladu merged commit ec46074 into hyperledger:main Oct 31, 2024
43 checks passed
@siladu siladu deleted the engine-api-v4-tests branch October 31, 2024 05:54
JanetMo pushed a commit to JanetMo/besu that referenced this pull request Nov 17, 2024
…r#7837)

Also change "Missing" -> "Unexpected" message when V3 blob params sent to V2

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Marlene Marz <m.marz@kabelmail.de>
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