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

feat(engine): validate execution requests #13685

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rkrasiuk
Copy link
Member

@rkrasiuk rkrasiuk commented Jan 6, 2025

Description

Ref ethereum/execution-apis#622

@rkrasiuk rkrasiuk added C-enhancement New feature or request E-prague Related to the prague network upgrade labels Jan 6, 2025
@rkrasiuk rkrasiuk force-pushed the rkrasiuk/validate-execution-requests branch from 4399ca3 to 451ec05 Compare January 6, 2025 21:08
@rkrasiuk rkrasiuk marked this pull request as ready for review January 9, 2025 21:13
@@ -270,6 +270,8 @@ where
.validator
.validate_version_specific_fields(EngineApiMessageVersion::V4, payload_or_attrs)?;

validate_execution_requests(&execution_requests)?;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems okay here because these rules are for the request object specifically, unclear how this will look like for OP V4

}

let request_type = request[0];
if Some(request_type) < last_request_type {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this allows multiple entries, spec isn't clear on this. so this seems okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement New feature or request E-prague Related to the prague network upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants