Skip to content

Commit

Permalink
Only pause dex for mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
jcompagni10 committed Sep 23, 2024
1 parent 1875182 commit a51c29a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/upgrades/v5.0.0/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ func CreateUpgradeHandler(
}

ctx.Logger().Info("Running dex upgrades...")
err = upgradeDexPause(ctx, *keepers.DexKeeper)
// Only pause dex for mainnet
if ctx.ChainID() == "neutron-1" {
err = upgradeDexPause(ctx, *keepers.DexKeeper)
}

if err != nil {
return nil, err
}
Expand Down

0 comments on commit a51c29a

Please sign in to comment.