From 42ced363e016e36484b16bb6083ec0b9b0d11b08 Mon Sep 17 00:00:00 2001 From: expertdicer Date: Tue, 7 Nov 2023 18:21:55 +0700 Subject: [PATCH] add migrate unbonding --- app/upgrades/v6/upgrade.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/upgrades/v6/upgrade.go b/app/upgrades/v6/upgrade.go index d2662f90b..d6ec9a545 100644 --- a/app/upgrades/v6/upgrade.go +++ b/app/upgrades/v6/upgrade.go @@ -41,6 +41,7 @@ func CreateUpgradeHandler( ctx.Logger().Info("First step: Migrate addresses stored in bech32 form to use new prefix") keys := keepers.GetKVStoreKey() bech32stakingmigration.MigrateAddressBech32(ctx, keys[stakingtypes.StoreKey], cdc) + bech32stakingmigration.MigrateUnbonding(ctx, keys[stakingtypes.StoreKey], cdc) bech32slashingmigration.MigrateAddressBech32(ctx, keys[slashingtypes.StoreKey], cdc) bech32govmigration.MigrateAddressBech32(ctx, keys[govtypes.StoreKey], cdc) bech32authmigration.MigrateAddressBech32(ctx, keys[authtypes.StoreKey], cdc)