Skip to content

Commit

Permalink
fix pfm previous version (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 authored Nov 20, 2023
1 parent 9d2dacc commit 4d0d08e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/upgrades/v2/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
packetforwardtypes "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/types"
icahosttypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types"
ibctransfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types"
"github.com/cosmos/ibc-go/v7/modules/core/exported"
Expand Down Expand Up @@ -86,6 +87,8 @@ func CreateV2UpgradeHandler(
subspace.WithKeyTable(keyTable)
}
}
// set correct previous module version for pfm
fromVM[packetforwardtypes.ModuleName] = 1

// Migrate Tendermint consensus parameters from x/params module to a deprecated x/consensus module.
// The old params module is required to still be imported in your app.go in order to handle this migration.
Expand Down

0 comments on commit 4d0d08e

Please sign in to comment.