Skip to content

Commit

Permalink
update migration comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Dec 20, 2024
1 parent e533f7e commit 3a807ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/observer/migrations/v9/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type observerKeeper interface {
const MaturityBlocks = int64(100)

// MigrateStore migrates the x/observer module state from the consensus version 8 to version 9.
// It updates the indexing for chain nonces object to use chain ID instead of chain name
// The migration deletes all the ballots and ballot lists that are older than MaturityBlocks.
func MigrateStore(ctx sdk.Context, observerKeeper observerKeeper) error {
currentHeight := ctx.BlockHeight()
// Maturity blocks is a parameter in the emissions module
Expand Down

0 comments on commit 3a807ec

Please sign in to comment.