Skip to content

Commit

Permalink
renamed upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
swelf19 committed Jan 12, 2024
1 parent 7aa7af2 commit c60535a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
11 changes: 6 additions & 5 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package app

import (
"fmt"
"github.com/neutron-org/neutron/v2/app/upgrades/nextupgrade"
"io"
"io/fs"
"net/http"
Expand All @@ -22,9 +21,11 @@ import (
"github.com/neutron-org/neutron/v2/docs"

"github.com/neutron-org/neutron/v2/app/upgrades"
v030 "github.com/neutron-org/neutron/v2/app/upgrades/v0.3.0"
v044 "github.com/neutron-org/neutron/v2/app/upgrades/v0.4.4"
v200 "github.com/neutron-org/neutron/v2/app/upgrades/v2.0.0"
"github.com/neutron-org/neutron/v2/app/upgrades/v0.3.0"
"github.com/neutron-org/neutron/v2/app/upgrades/v0.4.4"
"github.com/neutron-org/neutron/v2/app/upgrades/v2.0.0"
"github.com/neutron-org/neutron/v2/app/upgrades/v2.0.2"

"github.com/neutron-org/neutron/v2/x/cron"

"github.com/CosmWasm/wasmd/x/wasm"
Expand Down Expand Up @@ -167,7 +168,7 @@ const (
)

var (
Upgrades = []upgrades.Upgrade{v030.Upgrade, v044.Upgrade, v200.Upgrade, nextupgrade.Upgrade}
Upgrades = []upgrades.Upgrade{v030.Upgrade, v044.Upgrade, v200.Upgrade, v202.Upgrade}

// DefaultNodeHome default home directories for the application daemon
DefaultNodeHome string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package nextupgrade
package v202

import (
"github.com/neutron-org/neutron/v2/app/upgrades"
)

const (
// UpgradeName defines the on-chain upgrade name.
UpgradeName = "NextUpgrade"
UpgradeName = "v2.0.2"
)

var Upgrade = upgrades.Upgrade{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package nextupgrade
package v202

import (
"fmt"

"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
Expand Down

0 comments on commit c60535a

Please sign in to comment.