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

feat(shed): add --db-path and --epoch-file to indexes events subcommands #12490

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Sep 19, 2024

Not sure this is worth merging, but I'm parking this here for now so I don't lose it, it's proven quite helpful.

Taking a clone of an existing database (can be done while running with sqlite3 on the command-line pointing to the events.db file and running .clone path/to/new/file), you can then run inspect-events and backfill-events on the cloned file using --db-path, so you extract data from a lotus node and insert in into an isolated db.

--epoch-file lets me run a specific list of epochs in inspect-events so I can double-check epochs I'm trying to fix when the list of particularly long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📌 Triage
Development

Successfully merging this pull request may close these issues.

1 participant