Skip to content

Commit

Permalink
skip upgrade prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani committed Sep 11, 2024
1 parent 56c3730 commit 79b2e90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ignite/templates/app/files/app/sim_test.go.plush
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
"cosmossdk.io/store"
storetypes "cosmossdk.io/store/types"
"cosmossdk.io/x/feegrant"
upgradetypes "cosmossdk.io/x/upgrade/types"
abci "github.com/cometbft/cometbft/abci/types"
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
dbm "github.com/cosmos/cosmos-db"
Expand Down Expand Up @@ -200,6 +201,9 @@ func TestAppImportExport(t *testing.T) {

// skip certain prefixes
skipPrefixes := map[string][][]byte{
upgradetypes.StoreKey: {
[]byte{upgradetypes.VersionMapByte},
},
stakingtypes.StoreKey: {
stakingtypes.UnbondingQueueKey, stakingtypes.RedelegationQueueKey, stakingtypes.ValidatorQueueKey,
stakingtypes.HistoricalInfoKey, stakingtypes.UnbondingIDKey, stakingtypes.UnbondingIndexKey,
Expand Down

0 comments on commit 79b2e90

Please sign in to comment.