iotex-core
iotex-core copied to clipboard
Implement `eth_getBlockReceipts` method
What would you like to be added
support eth_getBlockReceipts API.
Spec https://www.quicknode.com/docs/plasma/eth_getBlockReceipts
https://github.com/ethereum/go-ethereum/blob/2936b41514302ec35b420f92e06aa525b96409a7/internal/ethapi/api.go#L938
Why is this needed
Better support for TheGraph node
WARN Skipping use of block receipts, reason: Error fetching block receipts: RPC error: Error { code: InternalError, message: "method: eth_getBlockReceipts\n: web3 method not found", data: None }, provider: iotex-rpc-0, component: EthereumPollingBlockIngestor
How important you think this is for IoTeX
- [] must have
- [x] should have
- [] nice to have
Additional information
Let us know any background or context that would help us better understand the request (for example the particular use-case that prompted this request)