Skip to content

Commit

Permalink
fix: Only apply v8 fork logic on osmosis-1 (#1610)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeabbey authored May 27, 2022
1 parent 2d8b9bd commit e9062fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/upgrades/v8/forks.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (
// RunForkLogic executes height-gated on-chain fork logic for the Osmosis v8
// upgrade.
func RunForkLogic(ctx sdk.Context, appKeepers *keepers.AppKeepers) {
// Only proceed with v8 for mainnet, testnets need not adjust their pool incentives or unbonding.
// https://github.com/osmosis-labs/osmosis/issues/1609
if ctx.ChainID() != "osmosis-1" {
return
}

for i := 0; i < 100; i++ {
ctx.Logger().Info("I am upgrading to v8")
}
Expand Down

0 comments on commit e9062fc

Please sign in to comment.