You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/archive/migration/mina-berkeley-migration-script
+14-28Lines changed: 14 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -209,7 +209,7 @@ function initial(){
209
209
functioncheck_log_for_error() {
210
210
local __log=$1;
211
211
212
-
grep Error "$__log";
212
+
grep '"level":"Error"'"$__log";
213
213
local __have_errors=$?;
214
214
215
215
if [ $__have_errors-eq 0 ];then
@@ -537,19 +537,18 @@ function final_help(){
537
537
echo""
538
538
printf" %-25s %s\n""-h | --help""show help";
539
539
printf" %-25s %s\n""-r | --replayer-checkpoint""[file] path to genesis ledger file";
540
-
printf" %-25s %s\n""-f | --fork-state-hash""[hash] fork state hash";
541
540
printf" %-25s %s\n""-s | --source-db""[connection_str] connection string to database to be migrated";
542
541
printf" %-25s %s\n""-t | --target-db""[connection_str] connection string to database which will hold migrated data";
543
542
printf" %-25s %s\n""-b | --blocks-bucket""[string] name of precomputed blocks bucket. NOTICE: there is an assumption that precomputed blocks are named with format: {network}-{height}-{state_hash}.json";
544
543
printf" %-25s %s\n""-bs | --blocks-batch-size""[int] number of precomputed blocks to be fetch at once from Gcloud. Bigger number like 1000 can help speed up migration process";
545
544
printf" %-25s %s\n""-n | --network""[string] network name when determining precomputed blocks. NOTICE: there is an assumption that precomputed blocks are named with format: {network}-{height}-{state_hash}.json";
546
-
printf" %-25s %s\n""-fc | --fork-config""[file] Fork-state config file is dump file in form of json containing fork block and ledger file. It should be provied by MF or O(1)Labs team after fork block is announced";
545
+
printf" %-25s %s\n""-fc | --fork-genesis-config""[file] Genesis config file for the fork network. It should be provied by MF or O(1)Labs team after fork block is announced";
547
546
printf" %-25s %s\n""-d | --delete-blocks""delete blocks after they are processed (saves space with -sb)"
548
547
printf" %-25s %s\n""-p | --prefetch-blocks""downloads all blocks at once instead of incrementally"
0 commit comments