-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(primitives): increase minimum pruning distance #4750
Conversation
0845700
to
8fb1d25
Compare
Codecov Report
... and 8 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@shekhirin Is this a breaking change and thus we need to update our nodes? |
@kaliubuntu0206 I think it's not, but we still need to test it. The node should run just fine with new minimum pruning distance, and start persisting more blocks in database for the full node. As for the custom configured pruned node, this change may break the existing configuration, but shouldn't require a resync anyway. |
cd06d9d
to
4c3edd4
Compare
4c3edd4
to
995e9a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me! pending another review
Can't select them in the PR, but there are a few comments in the docs saying that pruning distance is 128. should be changed or replaced with the actually const var, so we can change it in the future without changing the docs. regex: |
testing on existing full node |
4123c65
to
daa6002
Compare
reth/crates/primitives/src/prune/target.rs
Lines 8 to 13 in 8b2ff4f