diff --git a/docs/migration/seidb_archive_migration.md b/docs/migration/seidb_archive_migration.md index f06dd19b9..7c41e4284 100644 --- a/docs/migration/seidb_archive_migration.md +++ b/docs/migration/seidb_archive_migration.md @@ -105,7 +105,17 @@ This may take a couple hours to run. You will see logs of form ### Step 3: Note down MIGRATION_HEIGHT Note down the latest height as outputted from the sc migration log. -Save it as an env var $MIGRATION_HEIGHT. + +As an example the sc migration log would show: +``` +latest version: 111417590 +D[2024-10-29|15:26:03.657] Finished loading IAVL tree +D[2024-10-29|15:26:03.657] Finished loading IAVL tree +D[2024-10-29|15:26:03.657] Finished loading IAVL tree +``` + +Save that `latest version` (in example 111417590) as an env var $MIGRATION_HEIGHT. + ```bash MIGRATION_HEIGHT=<> ``` diff --git a/tools/migration/ss/migrator.go b/tools/migration/ss/migrator.go index 1b4fe5b4d..3f86b406e 100644 --- a/tools/migration/ss/migrator.go +++ b/tools/migration/ss/migrator.go @@ -95,7 +95,7 @@ func (m *Migrator) Verify(version int64) error { verifyErr = fmt.Errorf("verification error: value doesn't match for key %s", string(key)) } count++ - if count%10000 == 0 { + if count%1000000 == 0 { fmt.Printf("SeiDB Archive Migration:: Verified %d keys in for module %s\n", count, module) } return false