We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cbe961 commit 07de4bdCopy full SHA for 07de4bd
x/lscosmos/keeper/migrate_module.go
@@ -24,6 +24,11 @@ func (k Keeper) Migrate(ctx sdk.Context) error {
24
// port all stores
25
// HostChainParamsKey
26
27
+ pending, err := k.CheckPendingICATxs(ctx)
28
+ if pending {
29
+ return types.ErrModuleMigrationFailed.Wrapf("There are pending ica txs/ channels closed, err: %s", err)
30
+ }
31
+
32
consensusState, err := k.liquidStakeIBCKeeper.GetLatestConsensusState(ctx, hcparams.ConnectionID)
33
if err != nil {
34
k.Logger(ctx).Error("could not retrieve client state", "host_chain", hcparams.ChainID)
0 commit comments