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

op-service,op-node,op-program: default to new standard rpc-kind with eth_getBlockReceipts support #7768

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

protolambda
Copy link
Contributor

Description

eth_getBlockReceipts has been standard for a while now, and mostly adopted by all L1 clients. We can adopt it as a default.

We leave the "basic" rpc kind unmodified, in case anyone needs it when eth_getBlockReceipts is broken on their L1 RPC.

With eth_getBlockReceipts nodes should sync a little faster, since the method is more optimal (at least in L1 geth, where it only hydrates the receipts data once for the full block, rather than repeating the full work for the whole block per receipt call).

Tests

Updated unit-tests to cover the new RPC kind.

Updated op-e2e and other tests to use this as RPC kind.

@protolambda protolambda requested a review from a team as a code owner October 20, 2023 17:32
Copy link
Member

@clabby clabby left a comment

Choose a reason for hiding this comment

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

Nice! Excited to try this out now that Reth's is fixed 👀

Copy link
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

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

LGTM.

@ajsutton ajsutton added this pull request to the merge queue Oct 22, 2023
Merged via the queue into develop with commit 38125b9 Oct 22, 2023
64 checks passed
@ajsutton ajsutton deleted the receipts-improvement branch October 22, 2023 22:48
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.

None yet

3 participants