Skip to content

Commit

Permalink
Update app for testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
phamminh0811 committed Sep 17, 2024
1 parent 8bda247 commit 2e057de
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 54 deletions.
2 changes: 0 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ import (
v8 "github.com/classic-terra/core/v3/app/upgrades/v8"
v8_1 "github.com/classic-terra/core/v3/app/upgrades/v8_1"
v8_2 "github.com/classic-terra/core/v3/app/upgrades/v8_2"
v9 "github.com/classic-terra/core/v3/app/upgrades/v9"
v9_1 "github.com/classic-terra/core/v3/app/upgrades/v9_1"

customante "github.com/classic-terra/core/v3/custom/auth/ante"
Expand Down Expand Up @@ -90,7 +89,6 @@ var (
v7_1.Upgrade,
v8.Upgrade,
v8_1.Upgrade,
v9.Upgrade,
v8_2.Upgrade,
v9_1.Upgrade,
}
Expand Down
20 changes: 0 additions & 20 deletions app/upgrades/v9/constants.go

This file was deleted.

31 changes: 0 additions & 31 deletions app/upgrades/v9/upgrades.go

This file was deleted.

8 changes: 8 additions & 0 deletions app/upgrades/v9_1/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@ package v91

import (
"github.com/classic-terra/core/v3/app/upgrades"
store "github.com/cosmos/cosmos-sdk/store/types"

tax2gastypes "github.com/classic-terra/core/v3/x/tax2gas/types"
)

const UpgradeName = "v9_1"

var Upgrade = upgrades.Upgrade{
UpgradeName: UpgradeName,
CreateUpgradeHandler: CreateV91UpgradeHandler,
StoreUpgrades: store.StoreUpgrades{
Added: []string{
tax2gastypes.ModuleName,
},
},
}
2 changes: 1 addition & 1 deletion x/tax2gas/types/keys.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package types

const (
ModuleName = "tax2gas"
ModuleName = "tax2gas_testnet"

StoreKey = ModuleName

Expand Down

0 comments on commit 2e057de

Please sign in to comment.