diff --git a/app/app.go b/app/app.go index e4761e3fef..83e053b840 100644 --- a/app/app.go +++ b/app/app.go @@ -453,7 +453,7 @@ func NewApp( } func (app *AkashApp) registerUpgradeHandlers() { - app.keeper.upgrade.SetUpgradeHandler("akash_v0.13.0-cosmos_v0.43.0", func(ctx sdk.Context, + app.keeper.upgrade.SetUpgradeHandler("akash_v0.13.0_cosmos_v0.43.0", func(ctx sdk.Context, plan upgradetypes.Plan, _ module.VersionMap) (module.VersionMap, error) { // 1st-time running in-store migrations, using 1 as fromVersion to // avoid running InitGenesis. diff --git a/sdkutil/address.go b/sdkutil/address.go index 384f99c9d4..36a82ebb7f 100644 --- a/sdkutil/address.go +++ b/sdkutil/address.go @@ -3,7 +3,7 @@ package sdkutil import sdk "github.com/cosmos/cosmos-sdk/types" // MustAccAddressFromBech32 creates an AccAddress from a Bech32 string. -// It internally calls `sdk.AccAddressFromBech32` and ignores the error. +// It panics if there is an error. func MustAccAddressFromBech32(address string) sdk.AccAddress { addr, err := sdk.AccAddressFromBech32(address) if err != nil {