Skip to content

Commit

Permalink
feat: changed version from v1 to v12
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrinivas8687 committed Jan 8, 2024
1 parent b6e8b2d commit dff9231
Show file tree
Hide file tree
Showing 238 changed files with 1,410 additions and 1,406 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/sentinel-official/hub/v1/app/ante"
"github.com/sentinel-official/hub/v12/app/ante"
)

const (
Expand Down
12 changes: 6 additions & 6 deletions app/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ import (
ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported"
ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper"

custommintkeeper "github.com/sentinel-official/hub/v1/x/mint/keeper"
customminttypes "github.com/sentinel-official/hub/v1/x/mint/types"
swapkeeper "github.com/sentinel-official/hub/v1/x/swap/keeper"
swaptypes "github.com/sentinel-official/hub/v1/x/swap/types"
vpnkeeper "github.com/sentinel-official/hub/v1/x/vpn/keeper"
vpntypes "github.com/sentinel-official/hub/v1/x/vpn/types"
custommintkeeper "github.com/sentinel-official/hub/v12/x/mint/keeper"
customminttypes "github.com/sentinel-official/hub/v12/x/mint/types"
swapkeeper "github.com/sentinel-official/hub/v12/x/swap/keeper"
swaptypes "github.com/sentinel-official/hub/v12/x/swap/types"
vpnkeeper "github.com/sentinel-official/hub/v12/x/vpn/keeper"
vpntypes "github.com/sentinel-official/hub/v12/x/vpn/types"
)

type Keepers struct {
Expand Down
14 changes: 7 additions & 7 deletions app/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ import (
ibcsolomachine "github.com/cosmos/ibc-go/v7/modules/light-clients/06-solomachine"
ibctm "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint"

deposittypes "github.com/sentinel-official/hub/v1/x/deposit/types"
custommint "github.com/sentinel-official/hub/v1/x/mint"
customminttypes "github.com/sentinel-official/hub/v1/x/mint/types"
"github.com/sentinel-official/hub/v1/x/swap"
swaptypes "github.com/sentinel-official/hub/v1/x/swap/types"
"github.com/sentinel-official/hub/v1/x/vpn"
vpntypes "github.com/sentinel-official/hub/v1/x/vpn/types"
deposittypes "github.com/sentinel-official/hub/v12/x/deposit/types"
custommint "github.com/sentinel-official/hub/v12/x/mint"
customminttypes "github.com/sentinel-official/hub/v12/x/mint/types"
"github.com/sentinel-official/hub/v12/x/swap"
swaptypes "github.com/sentinel-official/hub/v12/x/swap/types"
"github.com/sentinel-official/hub/v12/x/vpn"
vpntypes "github.com/sentinel-official/hub/v12/x/vpn/types"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions app/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
ibctransfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types"
ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported"

customminttypes "github.com/sentinel-official/hub/v1/x/mint/types"
swaptypes "github.com/sentinel-official/hub/v1/x/swap/types"
vpntypes "github.com/sentinel-official/hub/v1/x/vpn/types"
customminttypes "github.com/sentinel-official/hub/v12/x/mint/types"
swaptypes "github.com/sentinel-official/hub/v12/x/swap/types"
vpntypes "github.com/sentinel-official/hub/v12/x/vpn/types"
)

type StoreKeys struct {
Expand Down
4 changes: 2 additions & 2 deletions cmd/sentinelhub/app_creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
"github.com/prometheus/client_golang/prometheus"
"github.com/spf13/cast"

"github.com/sentinel-official/hub/v1/app"
hubtypes "github.com/sentinel-official/hub/v1/types"
"github.com/sentinel-official/hub/v12/app"
hubtypes "github.com/sentinel-official/hub/v12/types"
)

type appCreator struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/sentinelhub/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/server"
servercmd "github.com/cosmos/cosmos-sdk/server/cmd"

hubtypes "github.com/sentinel-official/hub/v1/types"
hubtypes "github.com/sentinel-official/hub/v12/types"
)

func HomeDir() (string, error) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/sentinelhub/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
"github.com/spf13/cobra"

"github.com/sentinel-official/hub/v1/app"
"github.com/sentinel-official/hub/v12/app"
)

func initAppConfig() (string, interface{}) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/sentinel-official/hub/v1
module github.com/sentinel-official/hub/v12

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/deposit/v1/deposit.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.deposit.v1;
import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/deposit/types";
option go_package = "github.com/sentinel-official/hub/v12/x/deposit/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/deposit/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sentinel.deposit.v1;

import "gogoproto/gogo.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/deposit/types";
option go_package = "github.com/sentinel-official/hub/v12/x/deposit/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/deposit/v1/querier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
import "google/api/annotations.proto";
import "sentinel/deposit/v1/deposit.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/deposit/types";
option go_package = "github.com/sentinel-official/hub/v12/x/deposit/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/mint/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.mint.v1;
import "gogoproto/gogo.proto";
import "sentinel/mint/v1/inflation.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/mint/types";
option go_package = "github.com/sentinel-official/hub/v12/x/mint/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/mint/v1/inflation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.mint.v1;
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/mint/types";
option go_package = "github.com/sentinel-official/hub/v12/x/mint/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/node/v2/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.node.v2;
import "gogoproto/gogo.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/node/types";
option go_package = "github.com/sentinel-official/hub/v12/x/node/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/node/v2/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "sentinel/node/v2/node.proto";
import "sentinel/node/v2/params.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/node/types";
option go_package = "github.com/sentinel-official/hub/v12/x/node/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/node/v2/msg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/node/types";
option go_package = "github.com/sentinel-official/hub/v12/x/node/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/node/v2/node.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/node/types";
option go_package = "github.com/sentinel-official/hub/v12/x/node/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/node/v2/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/duration.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/node/types";
option go_package = "github.com/sentinel-official/hub/v12/x/node/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/node/v2/querier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "sentinel/node/v2/node.proto";
import "sentinel/node/v2/params.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/node/types";
option go_package = "github.com/sentinel-official/hub/v12/x/node/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/plan/v2/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.plan.v2;
import "gogoproto/gogo.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/plan/types";
option go_package = "github.com/sentinel-official/hub/v12/x/plan/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/plan/v2/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.plan.v2;
import "gogoproto/gogo.proto";
import "sentinel/plan/v2/plan.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/plan/types";
option go_package = "github.com/sentinel-official/hub/v12/x/plan/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/plan/v2/msg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
import "google/protobuf/duration.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/plan/types";
option go_package = "github.com/sentinel-official/hub/v12/x/plan/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/plan/v2/plan.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/plan/types";
option go_package = "github.com/sentinel-official/hub/v12/x/plan/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/plan/v2/querier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "google/api/annotations.proto";
import "sentinel/plan/v2/plan.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/plan/types";
option go_package = "github.com/sentinel-official/hub/v12/x/plan/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/provider/v2/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sentinel.provider.v2;

import "gogoproto/gogo.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/provider/types";
option go_package = "github.com/sentinel-official/hub/v12/x/provider/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/provider/v2/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "sentinel/provider/v2/params.proto";
import "sentinel/provider/v2/provider.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/provider/types";
option go_package = "github.com/sentinel-official/hub/v12/x/provider/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/provider/v2/msg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.provider.v2;
import "gogoproto/gogo.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/provider/types";
option go_package = "github.com/sentinel-official/hub/v12/x/provider/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/provider/v2/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.provider.v2;
import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/provider/types";
option go_package = "github.com/sentinel-official/hub/v12/x/provider/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/provider/v2/provider.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/provider/types";
option go_package = "github.com/sentinel-official/hub/v12/x/provider/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/provider/v2/querier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "sentinel/provider/v2/params.proto";
import "sentinel/provider/v2/provider.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/provider/types";
option go_package = "github.com/sentinel-official/hub/v12/x/provider/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/session/v2/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.session.v2;
import "gogoproto/gogo.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/session/types";
option go_package = "github.com/sentinel-official/hub/v12/x/session/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/session/v2/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "sentinel/session/v2/params.proto";
import "sentinel/session/v2/session.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/session/types";
option go_package = "github.com/sentinel-official/hub/v12/x/session/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/session/v2/msg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.session.v2;
import "gogoproto/gogo.proto";
import "sentinel/session/v2/proof.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/session/types";
option go_package = "github.com/sentinel-official/hub/v12/x/session/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/session/v2/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.session.v2;
import "gogoproto/gogo.proto";
import "google/protobuf/duration.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/session/types";
option go_package = "github.com/sentinel-official/hub/v12/x/session/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/session/v2/proof.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "google/protobuf/duration.proto";
import "sentinel/types/v1/bandwidth.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/session/types";
option go_package = "github.com/sentinel-official/hub/v12/x/session/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/session/v2/querier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "google/api/annotations.proto";
import "sentinel/session/v2/params.proto";
import "sentinel/session/v2/session.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/session/types";
option go_package = "github.com/sentinel-official/hub/v12/x/session/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/session/v2/session.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "google/protobuf/timestamp.proto";
import "sentinel/types/v1/bandwidth.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/session/types";
option go_package = "github.com/sentinel-official/hub/v12/x/session/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/subscription/v2/allocation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sentinel.subscription.v2;

import "gogoproto/gogo.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/subscription/types";
option go_package = "github.com/sentinel-official/hub/v12/x/subscription/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/subscription/v2/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package sentinel.subscription.v2;
import "gogoproto/gogo.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/subscription/types";
option go_package = "github.com/sentinel-official/hub/v12/x/subscription/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/subscription/v2/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "google/protobuf/any.proto";
import "sentinel/subscription/v2/allocation.proto";
import "sentinel/subscription/v2/params.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/subscription/types";
option go_package = "github.com/sentinel-official/hub/v12/x/subscription/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
2 changes: 1 addition & 1 deletion proto/sentinel/subscription/v2/msg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sentinel.subscription.v2;

import "gogoproto/gogo.proto";

option go_package = "github.com/sentinel-official/hub/v1/x/subscription/types";
option go_package = "github.com/sentinel-official/hub/v12/x/subscription/types";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

Expand Down
Loading

0 comments on commit dff9231

Please sign in to comment.