Skip to content

Commit

Permalink
Merge pull request #5676 from onflow/bastian/add-account-usage-migration
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent authored Apr 16, 2024
2 parents 2f9ffa7 + d65c151 commit 76992bc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cmd/util/cmd/execution-state-extract/execution_state_extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,18 @@ func newMigrations(
migrations = append(migrations, migration.Migrate)
}

// At the end, fix up storage-used discrepancies
migrations = append(
migrations,
migrators.NewAccountBasedMigration(
log,
opts.NWorker,
[]migrators.AccountBasedMigration{
&migrators.AccountUsageMigrator{},
},
),
)

log.Info().Msgf("initialized migrations")

return migrations
Expand Down

0 comments on commit 76992bc

Please sign in to comment.