reth icon indicating copy to clipboard operation
reth copied to clipboard

Populate requests in `get_state`

Open Rjected opened this issue 1 year ago • 0 comments

Right now get_state does not populate requests: https://github.com/paradigmxyz/reth/blob/0bf59eea514c3a8e24ebcece3fadf2d236e45389/crates/storage/provider/src/providers/database/provider.rs#L889-L895

The RequestsProvider method requires a timestamp which is not fetched in this method, so we may need to either refactor get_state (and the trait API), get the timestamp some other way, or refactor the RequestsProvider API.

Rjected avatar Oct 02 '24 17:10 Rjected