Closed joshieDo closed 1 month ago
RPC calls such aseth_getTransactionByBlockHashAndIndex & eth_getTransactionByBlockNumberAndIndex should not need to fetch the whole block (with all transactions), just to get the one.
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockNumberAndIndex
https://github.com/paradigmxyz/reth/blob/b4ad28dfb4e049a54969513d6c4552783f7f4b4f/crates/rpc/rpc-eth-api/src/helpers/transaction.rs#L189-L198
No response
Hi @joshieDo i am very interested in working on this issue. Can you pls assign me to this?
sorry @KoxyG, it's something bit of an exotic usecase and in internal discussions we decided not to proceed with it.
Describe the feature
RPC calls such as
eth_getTransactionByBlockHashAndIndex
ð_getTransactionByBlockNumberAndIndex
should not need to fetch the whole block (with all transactions), just to get the one.https://github.com/paradigmxyz/reth/blob/b4ad28dfb4e049a54969513d6c4552783f7f4b4f/crates/rpc/rpc-eth-api/src/helpers/transaction.rs#L189-L198
Additional context
No response