Skip to content

Commit

Permalink
Finished hardfork scope
Browse files Browse the repository at this point in the history
  • Loading branch information
cyborgshead committed Oct 20, 2024
1 parent 6db73aa commit fe9a35f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/upgrades/v5/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
const (
UpgradeName = "v5"

UpgradeHeight = 15_700_799
UpgradeHeight = 15_700_842
)

var Fork = upgrades.Fork{
Expand Down
8 changes: 1 addition & 7 deletions app/upgrades/v5/forks.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
func RunForkLogic(ctx sdk.Context, keepers *keepers.AppKeepers) {
logger := ctx.Logger().With("upgrade", UpgradeName)

logger.Info("Applying emergency hard fork for v5.")
logger.Info("Applying emergency hard fork for v5")

liquidityParams := keepers.LiquidityKeeper.GetParams(ctx)
liquidityParams.CircuitBreakerEnabled = true
Expand All @@ -22,10 +22,4 @@ func RunForkLogic(ctx sdk.Context, keepers *keepers.AppKeepers) {
keepers.BankKeeper.SetSendEnabled(ctx, "milliampere", false)

logger.Info("set bank send disabled for millivolt and amperes")

//transferParams := keepers.TransferKeeper.GetParams(ctx)
//transferParams.SendEnabled = false
//keepers.TransferKeeper.SetParams(ctx, transferParams)
//
//logger.Info("set ibc send disabled for all tokens")
}

0 comments on commit fe9a35f

Please sign in to comment.