reth icon indicating copy to clipboard operation
reth copied to clipboard

feat(provider, prune): return receipts log filter

Open shekhirin opened this issue 1 week ago • 1 comments
trafficstars

Fixes https://github.com/paradigmxyz/reth/issues/19621

This PR returns the previously removed receipts log filter pruning, but makes it work only with Full and Before prune modes. Most of the changes are reverted from https://github.com/paradigmxyz/reth/pull/19184.

We're returning it, because some stakers depend on having receipts from certain staking protocols, and they don't want to store all 300GB+ of receipts on Mainnet.

We don't have Distance prune mode for this segment anymore because it's not useful for the type of pruning stakers do, and for us to support it, we would need to add a prune segment back. Full and Before modes work without a separate pruning segment, writing only specific receipts at the time of persisting.

shekhirin avatar Nov 10 '25 13:11 shekhirin