From 3a807eca31b5dcc46e6931ed48a34c6f20919c2a Mon Sep 17 00:00:00 2001 From: Tanmay Date: Fri, 20 Dec 2024 14:35:42 -0500 Subject: [PATCH] update migration comment --- x/observer/migrations/v9/migrate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/observer/migrations/v9/migrate.go b/x/observer/migrations/v9/migrate.go index ba19b665e7..c936c7feee 100644 --- a/x/observer/migrations/v9/migrate.go +++ b/x/observer/migrations/v9/migrate.go @@ -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