Skip to content

Commit

Permalink
- change v9 to v10 due to tax2gas conflict
Browse files Browse the repository at this point in the history
StrathCole committed Nov 5, 2024
1 parent 6e3bb23 commit 0f2fd74
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
@@ -58,7 +58,9 @@ import (
v8_1 "github.com/classic-terra/core/v3/app/upgrades/v8_1"
v8_2 "github.com/classic-terra/core/v3/app/upgrades/v8_2"
v8_3 "github.com/classic-terra/core/v3/app/upgrades/v8_3"
v9 "github.com/classic-terra/core/v3/app/upgrades/v9"

// v9 had been used by tax2gas and has to be skipped
v10 "github.com/classic-terra/core/v3/app/upgrades/v10"

customante "github.com/classic-terra/core/v3/custom/auth/ante"
custompost "github.com/classic-terra/core/v3/custom/auth/post"
@@ -92,7 +94,7 @@ var (
v8_1.Upgrade,
v8_2.Upgrade,
v8_3.Upgrade,
v9.Upgrade,
v10.Upgrade,
}

// Forks defines forks to be applied to the network
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package v9
package v10

import (
"github.com/classic-terra/core/v3/app/upgrades"
@@ -7,11 +7,11 @@ import (
tax2gastypes "github.com/classic-terra/core/v3/x/tax/types"
)

const UpgradeName = "v9"
const UpgradeName = "v10"

var Upgrade = upgrades.Upgrade{
UpgradeName: UpgradeName,
CreateUpgradeHandler: CreateV9UpgradeHandler,
CreateUpgradeHandler: CreateV10UpgradeHandler,
StoreUpgrades: store.StoreUpgrades{
Added: []string{
tax2gastypes.ModuleName,
4 changes: 2 additions & 2 deletions app/upgrades/v9/upgrades.go → app/upgrades/v10/upgrades.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package v9
package v10

import (
"github.com/classic-terra/core/v3/app/keepers"
@@ -9,7 +9,7 @@ import (
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
)

func CreateV9UpgradeHandler(
func CreateV10UpgradeHandler(
mm *module.Manager,
cfg module.Configurator,
_ upgrades.BaseAppParamManager,

0 comments on commit 0f2fd74

Please sign in to comment.