Optimize GQL and getBlock APIs #201

Merged
prathamesh0 merged 8 commits from pm-optimize-quries into v4 2022-11-04 04:32:09 +00:00
prathamesh0 commented 2022-11-02 08:40:33 +00:00 (Migrated from github.com)

Part of https://github.com/cerc-io/ipld-eth-server/issues/202, https://github.com/cerc-io/watcher-ts/issues/208

  • Add optional block number argument to the getLogs API
  • Use block number if passed while fetching block with transactions
  • Use block number while fetching block objects (uncles, transactions and receipts) for eth_getBlockByNumber API
  • Use block number when fetching a tx by txHash
Part of https://github.com/cerc-io/ipld-eth-server/issues/202, https://github.com/cerc-io/watcher-ts/issues/208 - Add optional block number argument to the `getLogs` API - Use block number if passed while fetching block with transactions - Use block number while fetching block objects (`uncles`, `transactions` and `receipts`) for `eth_getBlockByNumber` API - Use block number when fetching a tx by `txHash`
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/ipld-eth-server#201
No description provided.