Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Support batch fetch tx receipts of a block #1037

Closed
yihuang opened this issue Apr 9, 2022 · 1 comment
Closed

Support batch fetch tx receipts of a block #1037

yihuang opened this issue Apr 9, 2022 · 1 comment

Comments

@yihuang
Copy link
Contributor

yihuang commented Apr 9, 2022

Proposal: Support batch fetch a block's tx receipts

Current behavior:

indexing service fetches tx receipts one by one, could take several seconds, and can't catch up with block generation speed.

Desired behavior: Provide an API to batch fetch the receipts of a block.

eth_getTransactionReceiptsByBlockNumber.

Use case: More efficient indexing service.

Requests may be closed if we're not actively planning to work on them.

@yihuang yihuang changed the title Support batch fetch a block's tx receipts Support batch fetch tx receipts of a block Apr 9, 2022
yihuang added a commit to yihuang/ethermint that referenced this issue Apr 11, 2022
Closes: evmos#1037
Implements new api `eth_getTransactionReceiptsByBlock`.
yihuang added a commit to yihuang/ethermint that referenced this issue Apr 19, 2022
fedekunze added a commit that referenced this issue Apr 19, 2022
* make jsonrpc api namespaces extensible

Closes: #1052, #1037

* Apply suggestions from code review

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
@yihuang
Copy link
Contributor Author

yihuang commented Apr 20, 2022

Closed by #1056

@yihuang yihuang closed this as completed Apr 20, 2022
yihuang added a commit to yihuang/ethermint that referenced this issue Apr 20, 2022
* make jsonrpc api namespaces extensible

Closes: evmos#1052, evmos#1037

* Apply suggestions from code review

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
yihuang added a commit to yihuang/ethermint that referenced this issue Apr 27, 2022
* make jsonrpc api namespaces extensible

Closes: evmos#1052, evmos#1037

* Apply suggestions from code review

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant