From 3fd90ade49bfddbcf71cad57734fbdbfccbeea34 Mon Sep 17 00:00:00 2001 From: Oren Date: Mon, 10 Feb 2025 17:22:35 +0200 Subject: [PATCH] add debug print --- x/epochstorage/keeper/migrations.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x/epochstorage/keeper/migrations.go b/x/epochstorage/keeper/migrations.go index ec1b11ef47..663bbe345a 100644 --- a/x/epochstorage/keeper/migrations.go +++ b/x/epochstorage/keeper/migrations.go @@ -138,6 +138,8 @@ func (m Migrator) MigrateVersion8To9(ctx sdk.Context) error { stakeEntry, found := m.keeper.GetStakeEntryCurrent(ctx, chainID, metadata.Provider) if found { chains = append(chains, stakeEntry.Chain) + } else { + fmt.Println("stake entry not found for provider: ", metadata.Provider, " and chain: ", chainID) } } metadata.Chains = chains