Skip to content

Remove receipts_log_filter pruning and everything associated with it #18889

@shekhirin

Description

@shekhirin

Describe the feature

With EIP-6110, it's no longer required for an EL node to be able to serve deposit contract logs via eth_getLogs for a CL node to sync/attest/propose, if an EL node is not willing to serve them over p2p. I got a confirmation from CL client devs that it's safe to delete them.

Currently, we do special treatment for receipts when we're running in full node, pruning only receipts that aren't associated with the deposit contract. Now, we can just prune all receipts beyond some distance, same as we do with changesets.

This is a breaking change for users who depend on prune.segments.receipts_log_filter config or --prune.receiptslogfilter CLI argument, so we need to remove this functionality in two steps:

  1. Remove the ReceiptsLogFilter pruning, but leave the config entry and CLI argument, making them a no-op that just logs a warning on startup.
  2. In a couple releases, deprecate the config and CLI argument.

Additional context

No response

Metadata

Metadata

Assignees

Labels

A-pruningRelated to pruning or full nodeC-debtA clean up/refactor of existing code

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions