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

chore: convert_to_payload_body_v1 #14168

Merged
merged 3 commits into from
Feb 3, 2025

Conversation

temaniarpit27
Copy link
Contributor

@temaniarpit27
Copy link
Contributor Author

@mattsse pls review

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

great smol nits

self.get_payload_bodies_by_range_with(start, count, convert_to_payload_body_v1).await
self.get_payload_bodies_by_range_with(start, count, |block| {
let transactions =
block.body().transactions().iter().map(|tx| tx.encoded_2718().into());
Copy link
Collaborator

Choose a reason for hiding this comment

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

there should be a helper fn for this:

fn encoded_2718_transactions(&self) -> Vec<Bytes> {

Copy link
Collaborator

Choose a reason for hiding this comment

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

we can now delete the entire engine module

@mattsse mattsse added the A-rpc Related to the RPC implementation label Feb 3, 2025
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

nice

@mattsse mattsse added this pull request to the merge queue Feb 3, 2025
Merged via the queue into paradigmxyz:main with commit 556c79f Feb 3, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Related to the RPC implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants