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

Implement APIs to store and index blocks and provide block-related endpoints #5

Closed
Tracked by #12
franklywatson opened this issue Oct 30, 2023 · 1 comment · Fixed by #43 or #44
Closed
Tracked by #12

Implement APIs to store and index blocks and provide block-related endpoints #5

franklywatson opened this issue Oct 30, 2023 · 1 comment · Fixed by #43 or #44
Assignees
Milestone

Comments

@franklywatson
Copy link
Contributor

franklywatson commented Oct 30, 2023

This issue continues breaking down the formal Ethereum RPC spec into dependency ordered chunks. This issue groups a set of APIs which store and index blocks and provide block-related endpoints.

  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockReceipts
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber

We will need to:

Understand the internal wiring to be implemented and what interactions with BridgedAccount or other Flow constructs this will have in the functions implementation. Formalize the specification/requirements through discussion in this issue
Implement the endpoints above including corresponding automated tests to the agreed upon spec

@m-Peter
Copy link
Collaborator

m-Peter commented Feb 8, 2024

I will open a follow-up PR for eth_getBlockReceipts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment