Unverified Commit a9d89337 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

fix: Only apply v8 fork logic on osmosis-1 (backport #1610) (#1611)

* fix: Only apply v8 fork logic on osmosis-1 (#1610)

(cherry picked from commit e9062fcd

)

# Conflicts:
#	app/upgrades/v8/forks.go

* Fix merge conflict

Co-authored-by: default avatarJoe Abbey <joe.abbey@gmail.com>
Co-authored-by: default avatarDev Ojha <dojha@berkeley.edu>
parent ef21a94b
Showing with 6 additions and 0 deletions
+6 -0
......@@ -11,6 +11,12 @@ import (
// RunForkLogic executes height-gated on-chain fork logic for the Osmosis v8
// upgrade.
func RunForkLogic(ctx sdk.Context, superfluid *superfluidkeeper.Keeper, poolincentives *poolincentiveskeeper.Keeper, gamm *gammkeeper.Keeper) {
// 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")
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment