Skip to content
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

forest-tool db destroy subcommand doesn't manage to clean the db #3686

Closed
elmattic opened this issue Nov 7, 2023 · 0 comments · Fixed by #3693
Closed

forest-tool db destroy subcommand doesn't manage to clean the db #3686

elmattic opened this issue Nov 7, 2023 · 0 comments · Fixed by #3693
Assignees
Labels

Comments

@elmattic
Copy link
Contributor

elmattic commented Nov 7, 2023

Describe the bug

We are facing functional regression with our destroy db subcommand and this shows up when used with calibnet.

To Reproduce

  1. fill forest db using some calibnet snapshot
  2. use forest-tool db destroy --chain calibnet
  3. See error

Log output

Log Output
Aborted. Database path /Users/guillaume/Library/Application Support/com.ChainSafe.Forest/mainnet is not a valid directory.

Expected behaviour

We should be able to destroy the db at any time and for any chain configuration.

Environment

  • OS: macOS
  • Branch: main

Might be related to #3608 as the command works just before this commit, but not after.

@elmattic elmattic added the Bug label Nov 7, 2023
@elmattic elmattic changed the title forest-tool destroy db subcommand doesn't manage to clean the db forest-tool db destroy subcommand doesn't manage to clean the db Nov 8, 2023
@elmattic elmattic self-assigned this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant