-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Conversation
3c41196
to
577038c
Compare
1c30b78
to
b8ff5e6
Compare
b8ff5e6
to
6104805
Compare
@mattsse pls review |
There was a problem hiding this 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()); |
There was a problem hiding this comment.
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> { |
There was a problem hiding this comment.
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
7533252
to
23196ca
Compare
23196ca
to
21614e5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
#14149