paritytech / substrate

Substrate: The platform for blockchain innovators
Apache License 2.0
8.39k stars 2.65k forks source link

The historical block data will be discarded when the node is started in dev mode. #14518

Closed yingjun-wu closed 1 year ago

yingjun-wu commented 1 year ago

We can know that the node started in dev mode will only keep the most recent 250 blocks. Is there any way to change this limit?

bkchr commented 1 year ago

You can run with --state-pruning archive to keep all blocks.