paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.79k stars 1.03k forks source link

store receipts for local pending block #9948

Closed mattsse closed 1 week ago

mattsse commented 1 month ago

Describe the feature

currently we don't store the receipts for the pending block we just built

https://github.com/paradigmxyz/reth/blob/750eb26256b6fcea0ad378a8cf08fe28f2dc0a7b/crates/rpc/rpc-eth-types/src/pending_block.rs#L118-L118

and for eth_getBlockreceipts we don't check the local block

https://github.com/paradigmxyz/reth/blob/750eb26256b6fcea0ad378a8cf08fe28f2dc0a7b/crates/rpc/rpc-eth-api/src/helpers/block.rs#L154-L154

TODO

cc @loocapro

Additional context

No response

malik672 commented 1 month ago

@mattsse assign me

Parikalp-Bhardwaj commented 1 month ago

Hi @malik672 are you still working on this issue?

malik672 commented 1 month ago

yeah