Skip to content

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
.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

@rkrasiuk rkrasiuk added this pull request to the merge queue Jan 13, 2025
Merged via the queue into main with commit ac25fd8 Jan 13, 2025
43 checks passed
@rkrasiuk rkrasiuk deleted the rkrasiuk/validate-execution-requests branch January 13, 2025 10:54
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.

3 participants