Skip to content

feat(bin, prune): pass prune segments from CLI & refactor modes#4964

Merged
shekhirin merged 42 commits intomainfrom
alexey/pass-prune-segments
Oct 12, 2023
Merged

feat(bin, prune): pass prune segments from CLI & refactor modes#4964
shekhirin merged 42 commits intomainfrom
alexey/pass-prune-segments

Conversation

@shekhirin
Copy link
Member

@shekhirin shekhirin commented Oct 10, 2023

Two main changes:

  • Refactor PruneModes to only pass the exact PruneMode for segment everywhere
  • Pass segments for Pruner from CLI

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this, only a few style nits

@shekhirin shekhirin requested a review from mattsse October 11, 2023 15:27
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Base automatically changed from alexey/pruner-part-trait-impls to main October 12, 2023 07:25
@shekhirin shekhirin force-pushed the alexey/pass-prune-segments branch from 10fd27b to 3974768 Compare October 12, 2023 10:00
@shekhirin shekhirin enabled auto-merge October 12, 2023 11:43
@shekhirin shekhirin added this pull request to the merge queue Oct 12, 2023
Merged via the queue into main with commit 2dbd142 Oct 12, 2023
@shekhirin shekhirin deleted the alexey/pass-prune-segments branch October 12, 2023 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Related to the reth CLI A-pruning Related to pruning or full node C-debt A clean up/refactor of existing code C-enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants