prune_config no longer returns an optional value #10784
Labels
A-cli
Related to the reth CLI
C-bug
An unexpected or incorrect behavior
C-enhancement
New feature or request
Describe the feature
in #10639 additional prune cli args were introduced and the return value of
reth/crates/node/core/src/args/pruning.rs
Lines 94 to 145 in cb0625c
was changed, this now no longer returns an optional value
this should remain an option because None is equivalent to "no pruning == archive"
Additional context
imo we can require the full flag for all of these, and return none if no full is set
this shouldn't impact #10774
The text was updated successfully, but these errors were encountered: