Optimize eth_getBlockByNumber and eth_getBlockByHash implementations #187

Merged
prathamesh0 merged 3 commits from pm-optimize-getblock into v4 2022-08-23 07:12:20 +00:00
prathamesh0 commented 2022-08-19 09:14:20 +00:00 (Migrated from github.com)

Part of https://github.com/vulcanize/ipld-eth-server/issues/186
Handles todo: https://github.com/vulcanize/ipld-eth-server/blob/release-v4.1.4-alpha/pkg/eth/backend.go#L315

  • Use joins instead of firing queries in two steps and in a loop
  • Use a DB transaction to all queries in an API call
  • Upgrade ipfs-ethdb to v4.0.6-alpha
Part of https://github.com/vulcanize/ipld-eth-server/issues/186 Handles todo: https://github.com/vulcanize/ipld-eth-server/blob/release-v4.1.4-alpha/pkg/eth/backend.go#L315 - Use joins instead of firing queries in two steps and in a loop - Use a DB transaction to all queries in an API call - Upgrade `ipfs-ethdb` to `v4.0.6-alpha`
ashwinphatak (Migrated from github.com) reviewed 2022-08-19 09:14:20 +00:00
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#187
No description provided.