Skip to content

Conversation

@james-prysm
Copy link
Contributor

@james-prysm james-prysm commented Oct 24, 2024

What type of PR is this?

Other

What does this PR do? Why is it needed?

we need to add in the first byte as the request type to the ssz serialized list of requests and avoid appending the list if it's empty.

Which issues(s) does this PR fix?

Fixes # ethereum/execution-apis#599

Other notes for review

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have made an appropriate entry to CHANGELOG.md.
  • I have added a description to this PR with sufficient context for reviewers to understand this PR.

@james-prysm james-prysm marked this pull request as ready for review October 25, 2024 18:43
@james-prysm james-prysm requested a review from a team as a code owner October 25, 2024 18:43
}
prevTypeNum = requestType
switch requestType {
case DepositRequestType:
Copy link
Contributor

Choose a reason for hiding this comment

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

As before can we remove the cases from here and treat them in separate functions?

@james-prysm james-prysm enabled auto-merge October 31, 2024 18:41
@james-prysm james-prysm added this pull request to the merge queue Oct 31, 2024
Merged via the queue into develop with commit e6ffc07 Oct 31, 2024
18 checks passed
@james-prysm james-prysm deleted the execution-requests-serialization-changes branch October 31, 2024 19:19
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.

6 participants