Skip to content

Commit

Permalink
Merge pull request #5622 from onflow/fxamacker/fix-migration-storage-…
Browse files Browse the repository at this point in the history
…check
  • Loading branch information
turbolent authored Apr 4, 2024
2 parents 33c1de0 + be8b26d commit 94a745a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/util/ledger/migrations/cadence_values_migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ func (m *CadenceBaseMigrator) MigrateAccount(
}
}

// Load storage map.
for _, domain := range domains {
_ = storage.GetStorageMap(address, domain, false)
}

storageHealthErrorBefore = storage.CheckHealth()
if storageHealthErrorBefore != nil {
m.log.Warn().
Expand Down

0 comments on commit 94a745a

Please sign in to comment.