Skip to content

Commit

Permalink
Merge branch 'inflation-fix' of https://github.com/Stride-Labs/stride
Browse files Browse the repository at this point in the history
…into inflation-fix
  • Loading branch information
shellvish committed Oct 14, 2023
2 parents 8544454 + 3b063d8 commit 3ac58a6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/upgrades/v16/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (

ratelimitkeeper "github.com/Stride-Labs/stride/v15/x/ratelimit/keeper"
stakeibckeeper "github.com/Stride-Labs/stride/v15/x/stakeibc/keeper"
stakeibctypes "github.com/Stride-Labs/stride/v15/x/stakeibc/types"
)

var (
Expand All @@ -30,12 +31,12 @@ func CreateUpgradeHandler(
ctx.Logger().Info("Unhalting Cosmos Hub...")
hostZone, found := stakeibcKeeper.GetHostZone(ctx, CosmosHubChainId)
if !found {
ctx.Logger().Error("Cosmos Hub host zone not found!")
} else {
hostZone.Halted = false
stakeibcKeeper.SetHostZone(ctx, hostZone)
return vm, stakeibctypes.ErrHostZoneNotFound.Wrap(CosmosHubChainId)
}

hostZone.Halted = false
stakeibcKeeper.SetHostZone(ctx, hostZone)

// remove stuatom from rate limits
ctx.Logger().Info("Removing stuatom as a blacklisted asset...")
ratelimitKeeper.RemoveDenomFromBlacklist(ctx, CosmosHubStToken)
Expand Down

0 comments on commit 3ac58a6

Please sign in to comment.