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

ENSRainbow: Add purge command #253

Open
djstrong opened this issue Feb 14, 2025 · 1 comment · Fixed by #285
Open

ENSRainbow: Add purge command #253

djstrong opened this issue Feb 14, 2025 · 1 comment · Fixed by #285
Assignees
Labels
ensrainbow ENSRainbow related

Comments

@djstrong
Copy link
Contributor

Add a purge command (or something like that) that would totally wipe the specified leveldb database.
We could add that operation to database.ts. I imagine it might also be nice to have for some of our unit tests, etc..

@djstrong djstrong added the ensrainbow ENSRainbow related label Feb 14, 2025
@djstrong djstrong self-assigned this Feb 14, 2025
@djstrong djstrong added this to ENSNode Feb 14, 2025
@djstrong djstrong moved this to On deck in ENSNode Feb 14, 2025
@djstrong
Copy link
Contributor Author

Here we can use db.clear() but it takes a lot of time and having empty database is not a valid state for ingest.
The other option is to just remove the directory.

@djstrong djstrong linked a pull request Feb 19, 2025 that will close this issue
@djstrong djstrong moved this from On deck to Ready for Review in ENSNode Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ensrainbow ENSRainbow related
Projects
Status: Ready for Review
Development

Successfully merging a pull request may close this issue.

1 participant