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

fix: use eth_getBlockReceipts for Infura RPC kind #12969

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

MqllR
Copy link
Contributor

@MqllR MqllR commented Nov 19, 2024

Infura does provide support for eth_getBlockReceipts.

curl https://mainnet.infura.io/v3/xx \
         -X POST \
         -H "Content-Type: application/json" \
         -d '{"jsonrpc": "2.0", "method": "eth_getBlockReceipts", "params": ["latest"], "id": 1}'

@MqllR MqllR requested a review from a team as a code owner November 19, 2024 15:51
@MqllR MqllR requested a review from blmalone November 19, 2024 15:51
Copy link
Contributor

@protolambda protolambda left a comment

Choose a reason for hiding this comment

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

I think you're right, but I am unable to check. The infura docs site is effectively down due to a redirect to metamask docs site, what a mess.

It will fallback automatically if the method is unavailable, so this is safe to merge.
Thanks

@protolambda
Copy link
Contributor

/ci authorize 2113164

@protolambda
Copy link
Contributor

/ci authorize c876d5b

@mslipper mslipper added this pull request to the merge queue Nov 25, 2024
Merged via the queue into ethereum-optimism:develop with commit 816b75a Nov 25, 2024
49 checks passed
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.

3 participants