forked from smartcontracts/simple-optimism-node
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
check-db
continuity script to migrate.sh (#32)
Adds a call to the check-db script in celo-migrate to migrate.sh. This checks for gaps in the source directory and exits immediately if gaps are found. Adds some drive-by changes for things that came up during testing: destination dir path should include "chaindata" calls to readlink fail if path does not exist, so we check that the source directory exists before calling readlink on it Tested locally using a baklava datadir with gaps and a baklava datadir without gaps
- Loading branch information
Showing
1 changed file
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters