numerical pruning value fail to parse #4828
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
When passing a numerical value to --state-pruning or --blocks-pruning (like 1000) to polkadot-parachain built from master, it fails with:
Seems to have been broken by: #4810
I added some debug logs here:
polkadot-sdk/substrate/client/cli/src/params/pruning_params.rs
Line 104 in 6daa939
Steps to reproduce
build polkadot-parachain from latest master
run
polkadot-parachain --blocks-pruning 1000
The text was updated successfully, but these errors were encountered: