Skip to content

Commit 4ac2a50

Browse files
authored
fix v9.3 upgrade handler setup (#3159)
1 parent d399e26 commit 4ac2a50

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

protocol/app/upgrades.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package app
33
import (
44
"fmt"
55

6-
v_9_1 "github.com/dydxprotocol/v4-chain/protocol/app/upgrades/v9.1"
76
v_9_3 "github.com/dydxprotocol/v4-chain/protocol/app/upgrades/v9.3"
87

98
upgradetypes "cosmossdk.io/x/upgrade/types"
@@ -23,7 +22,7 @@ var (
2322
// setupUpgradeHandlers registers the upgrade handlers to perform custom upgrade
2423
// logic and state migrations for software upgrades.
2524
func (app *App) setupUpgradeHandlers() {
26-
if app.UpgradeKeeper.HasHandler(v_9_1.UpgradeName) {
25+
if app.UpgradeKeeper.HasHandler(v_9_3.UpgradeName) {
2726
panic(fmt.Sprintf("Cannot register duplicate upgrade handler '%s'", v_9_3.UpgradeName))
2827
}
2928
app.UpgradeKeeper.SetUpgradeHandler(

0 commit comments

Comments
 (0)