Don't init datadir if it doesn't exist in db command #9257
Labels
A-cli
Related to the reth CLI
A-db
Related to the database
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
this will always initialize the dir:
reth/crates/cli/commands/src/db/mod.rs
Line 56 in 405b730
this shouldn't be the case if --datadir does not exist
TODO
db
commandAdditional context
running
db
against a non existing datadir will create it:reth db --datadir ../does-not-exist clear mdbx StoragesTrie
The text was updated successfully, but these errors were encountered: