Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump module to v3 #721

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"

ctypes "github.com/cybercongress/go-cyber/v2/types"
ctypes "github.com/cybercongress/go-cyber/v3/types"

authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing"
ibcante "github.com/cosmos/ibc-go/v3/modules/core/ante"
"github.com/cosmos/ibc-go/v3/modules/core/keeper"

bandwidthkeeper "github.com/cybercongress/go-cyber/v2/x/bandwidth/keeper"
bandwidthtypes "github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
graphtypes "github.com/cybercongress/go-cyber/v2/x/graph/types"
bandwidthkeeper "github.com/cybercongress/go-cyber/v3/x/bandwidth/keeper"
bandwidthtypes "github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
graphtypes "github.com/cybercongress/go-cyber/v3/x/graph/types"
)

// HandlerOptions are the options required for constructing a default SDK AnteHandler.
Expand Down
14 changes: 7 additions & 7 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import (
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
"github.com/cosmos/cosmos-sdk/simapp"

"github.com/cybercongress/go-cyber/v2/app/keepers"
"github.com/cybercongress/go-cyber/v2/app/upgrades"
v2 "github.com/cybercongress/go-cyber/v2/app/upgrades/v2"
"github.com/cybercongress/go-cyber/v3/app/keepers"
"github.com/cybercongress/go-cyber/v3/app/upgrades"
v2 "github.com/cybercongress/go-cyber/v3/app/upgrades/v2"

"github.com/cosmos/cosmos-sdk/client/grpc/tmservice"
ibcclientclient "github.com/cosmos/ibc-go/v3/modules/core/02-client/client"

ctypes "github.com/cybercongress/go-cyber/v2/types"
ctypes "github.com/cybercongress/go-cyber/v3/types"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec/types"
Expand Down Expand Up @@ -57,12 +57,12 @@ import (
wasmclient "github.com/CosmWasm/wasmd/x/wasm/client"
tmjson "github.com/tendermint/tendermint/libs/json"

"github.com/cybercongress/go-cyber/v2/utils"
cyberbanktypes "github.com/cybercongress/go-cyber/v2/x/cyberbank/types"
"github.com/cybercongress/go-cyber/v3/utils"
cyberbanktypes "github.com/cybercongress/go-cyber/v3/x/cyberbank/types"

govclient "github.com/cosmos/cosmos-sdk/x/gov/client"

"github.com/cybercongress/go-cyber/v2/app/params"
"github.com/cybercongress/go-cyber/v3/app/params"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion app/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
simappparams "github.com/cosmos/cosmos-sdk/simapp/params"
"github.com/cosmos/cosmos-sdk/std"

"github.com/cybercongress/go-cyber/v2/app/params"
"github.com/cybercongress/go-cyber/v3/app/params"
)

func MakeEncodingConfig() params.EncodingConfig {
Expand Down
32 changes: 16 additions & 16 deletions app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,22 @@ import (
liquiditytypes "github.com/gravity-devs/liquidity/x/liquidity/types"
"github.com/spf13/cast"

wasmplugins "github.com/cybercongress/go-cyber/v2/plugins"
"github.com/cybercongress/go-cyber/v2/x/bandwidth"
bandwidthkeeper "github.com/cybercongress/go-cyber/v2/x/bandwidth/keeper"
bandwidthtypes "github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
cyberbankkeeper "github.com/cybercongress/go-cyber/v2/x/cyberbank/keeper"
dmnkeeper "github.com/cybercongress/go-cyber/v2/x/dmn/keeper"
dmntypes "github.com/cybercongress/go-cyber/v2/x/dmn/types"
graphkeeper "github.com/cybercongress/go-cyber/v2/x/graph/keeper"
graphtypes "github.com/cybercongress/go-cyber/v2/x/graph/types"
gridkeeper "github.com/cybercongress/go-cyber/v2/x/grid/keeper"
gridtypes "github.com/cybercongress/go-cyber/v2/x/grid/types"
"github.com/cybercongress/go-cyber/v2/x/rank"
rankkeeper "github.com/cybercongress/go-cyber/v2/x/rank/keeper"
ranktypes "github.com/cybercongress/go-cyber/v2/x/rank/types"
resourceskeeper "github.com/cybercongress/go-cyber/v2/x/resources/keeper"
resourcestypes "github.com/cybercongress/go-cyber/v2/x/resources/types"
wasmplugins "github.com/cybercongress/go-cyber/v3/plugins"
"github.com/cybercongress/go-cyber/v3/x/bandwidth"
bandwidthkeeper "github.com/cybercongress/go-cyber/v3/x/bandwidth/keeper"
bandwidthtypes "github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
cyberbankkeeper "github.com/cybercongress/go-cyber/v3/x/cyberbank/keeper"
dmnkeeper "github.com/cybercongress/go-cyber/v3/x/dmn/keeper"
dmntypes "github.com/cybercongress/go-cyber/v3/x/dmn/types"
graphkeeper "github.com/cybercongress/go-cyber/v3/x/graph/keeper"
graphtypes "github.com/cybercongress/go-cyber/v3/x/graph/types"
gridkeeper "github.com/cybercongress/go-cyber/v3/x/grid/keeper"
gridtypes "github.com/cybercongress/go-cyber/v3/x/grid/types"
"github.com/cybercongress/go-cyber/v3/x/rank"
rankkeeper "github.com/cybercongress/go-cyber/v3/x/rank/keeper"
ranktypes "github.com/cybercongress/go-cyber/v3/x/rank/types"
resourceskeeper "github.com/cybercongress/go-cyber/v3/x/resources/keeper"
resourcestypes "github.com/cybercongress/go-cyber/v3/x/resources/types"
)

type AppKeepers struct {
Expand Down
10 changes: 5 additions & 5 deletions app/keepers/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ import (
ibchost "github.com/cosmos/ibc-go/v3/modules/core/24-host"
liquiditytypes "github.com/gravity-devs/liquidity/x/liquidity/types"

bandwidthtypes "github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
dmntypes "github.com/cybercongress/go-cyber/v2/x/dmn/types"
graphtypes "github.com/cybercongress/go-cyber/v2/x/graph/types"
gridtypes "github.com/cybercongress/go-cyber/v2/x/grid/types"
ranktypes "github.com/cybercongress/go-cyber/v2/x/rank/types"
bandwidthtypes "github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
dmntypes "github.com/cybercongress/go-cyber/v3/x/dmn/types"
graphtypes "github.com/cybercongress/go-cyber/v3/x/graph/types"
gridtypes "github.com/cybercongress/go-cyber/v3/x/grid/types"
ranktypes "github.com/cybercongress/go-cyber/v3/x/rank/types"
)

func (appKeepers *AppKeepers) GenerateKeys() {
Expand Down
32 changes: 16 additions & 16 deletions app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ import (
"github.com/gravity-devs/liquidity/x/liquidity"
liquiditytypes "github.com/gravity-devs/liquidity/x/liquidity/types"

"github.com/cybercongress/go-cyber/v2/app/params"
"github.com/cybercongress/go-cyber/v2/x/bandwidth"
bandwidthtypes "github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
"github.com/cybercongress/go-cyber/v2/x/cyberbank"
cyberbanktypes "github.com/cybercongress/go-cyber/v2/x/cyberbank/types"
"github.com/cybercongress/go-cyber/v2/x/dmn"
dmntypes "github.com/cybercongress/go-cyber/v2/x/dmn/types"
"github.com/cybercongress/go-cyber/v2/x/graph"
graphtypes "github.com/cybercongress/go-cyber/v2/x/graph/types"
grid "github.com/cybercongress/go-cyber/v2/x/grid"
gridtypes "github.com/cybercongress/go-cyber/v2/x/grid/types"
"github.com/cybercongress/go-cyber/v2/x/rank"
ranktypes "github.com/cybercongress/go-cyber/v2/x/rank/types"
"github.com/cybercongress/go-cyber/v2/x/resources"
resourcestypes "github.com/cybercongress/go-cyber/v2/x/resources/types"
stakingwrap "github.com/cybercongress/go-cyber/v2/x/staking"
"github.com/cybercongress/go-cyber/v3/app/params"
"github.com/cybercongress/go-cyber/v3/x/bandwidth"
bandwidthtypes "github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
"github.com/cybercongress/go-cyber/v3/x/cyberbank"
cyberbanktypes "github.com/cybercongress/go-cyber/v3/x/cyberbank/types"
"github.com/cybercongress/go-cyber/v3/x/dmn"
dmntypes "github.com/cybercongress/go-cyber/v3/x/dmn/types"
"github.com/cybercongress/go-cyber/v3/x/graph"
graphtypes "github.com/cybercongress/go-cyber/v3/x/graph/types"
grid "github.com/cybercongress/go-cyber/v3/x/grid"
gridtypes "github.com/cybercongress/go-cyber/v3/x/grid/types"
"github.com/cybercongress/go-cyber/v3/x/rank"
ranktypes "github.com/cybercongress/go-cyber/v3/x/rank/types"
"github.com/cybercongress/go-cyber/v3/x/resources"
resourcestypes "github.com/cybercongress/go-cyber/v3/x/resources/types"
stakingwrap "github.com/cybercongress/go-cyber/v3/x/staking"

authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation"
)
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
abci "github.com/tendermint/tendermint/abci/types"

"github.com/cybercongress/go-cyber/v2/app/keepers"
"github.com/cybercongress/go-cyber/v3/app/keepers"
)

// BaseAppParamManager defines an interrace that BaseApp is expected to fullfil
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v2/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v2
import (
store "github.com/cosmos/cosmos-sdk/store/types"

"github.com/cybercongress/go-cyber/v2/app/upgrades"
"github.com/cybercongress/go-cyber/v3/app/upgrades"
)

const UpgradeName = "cyberfrey"
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v2/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/cybercongress/go-cyber/v2/app/keepers"
"github.com/cybercongress/go-cyber/v3/app/keepers"
)

func CreateV2UpgradeHandler(
Expand Down
6 changes: 3 additions & 3 deletions cmd/cyber/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import (
"github.com/cosmos/cosmos-sdk/client/config"
"github.com/prometheus/client_golang/prometheus"

"github.com/cybercongress/go-cyber/v2/app"
"github.com/cybercongress/go-cyber/v3/app"

"github.com/CosmWasm/wasmd/x/wasm"
"github.com/cosmos/cosmos-sdk/snapshots"
"github.com/cosmos/cosmos-sdk/x/crisis"

"github.com/cybercongress/go-cyber/v2/x/rank"
"github.com/cybercongress/go-cyber/v3/x/rank"

"github.com/spf13/cast"
"github.com/spf13/cobra"
Expand All @@ -43,7 +43,7 @@ import (

serverconfig "github.com/cosmos/cosmos-sdk/server/config"

"github.com/cybercongress/go-cyber/v2/app/params"
"github.com/cybercongress/go-cyber/v3/app/params"

"github.com/cosmos/cosmos-sdk/version"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/cyber/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/server"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"

"github.com/cybercongress/go-cyber/v2/app"
"github.com/cybercongress/go-cyber/v2/cmd/cyber/cmd"
"github.com/cybercongress/go-cyber/v3/app"
"github.com/cybercongress/go-cyber/v3/cmd/cyber/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/iavltool/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/cybercongress/go-cyber/v2/cmd/iavltool/cmd"
"github.com/cybercongress/go-cyber/v3/cmd/iavltool/cmd"
)

func main() {
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cybercongress/go-cyber/v2
module github.com/cybercongress/go-cyber/v3

go 1.19

Expand Down Expand Up @@ -29,6 +29,8 @@ require (
google.golang.org/grpc v1.48.0
)

require github.com/cybercongress/go-cyber/v2 v2.0.0

require (
filippo.io/edwards25519 v1.0.0-beta.2 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ github.com/creachadair/taskgroup v0.3.2 h1:zlfutDS+5XG40AOxcHDSThxKzns8Tnr9jnr6V
github.com/creachadair/taskgroup v0.3.2/go.mod h1:wieWwecHVzsidg2CsUnFinW1faVN4+kq+TDlRJQ0Wbk=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/cybercongress/go-cyber/v2 v2.0.0 h1:D95fLzOtR4AYPKuYOZ23+mo/BbfYY9sUTf5mZnldO0k=
github.com/cybercongress/go-cyber/v2 v2.0.0/go.mod h1:2AlfsU/vfwVL9KVTSoB3u0buWytX/c2pT0JHnTS8/3s=
github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4=
github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0=
github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0=
Expand Down
8 changes: 4 additions & 4 deletions plugins/msg_binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"

dmntypes "github.com/cybercongress/go-cyber/v2/x/dmn/types"
graphtypes "github.com/cybercongress/go-cyber/v2/x/graph/types"
gridtypes "github.com/cybercongress/go-cyber/v2/x/grid/types"
resourcestypes "github.com/cybercongress/go-cyber/v2/x/resources/types"
dmntypes "github.com/cybercongress/go-cyber/v3/x/dmn/types"
graphtypes "github.com/cybercongress/go-cyber/v3/x/graph/types"
gridtypes "github.com/cybercongress/go-cyber/v3/x/grid/types"
resourcestypes "github.com/cybercongress/go-cyber/v3/x/resources/types"
)

type WasmMsgParserInterface interface {
Expand Down
10 changes: 5 additions & 5 deletions plugins/query_binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"

bandwidthtypes "github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
dmntypes "github.com/cybercongress/go-cyber/v2/x/dmn/types"
graphtypes "github.com/cybercongress/go-cyber/v2/x/graph/types"
gridtypes "github.com/cybercongress/go-cyber/v2/x/grid/types"
ranktypes "github.com/cybercongress/go-cyber/v2/x/rank/types"
bandwidthtypes "github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
dmntypes "github.com/cybercongress/go-cyber/v3/x/dmn/types"
graphtypes "github.com/cybercongress/go-cyber/v3/x/graph/types"
gridtypes "github.com/cybercongress/go-cyber/v3/x/grid/types"
ranktypes "github.com/cybercongress/go-cyber/v3/x/rank/types"
)

type WasmQuerierInterface interface {
Expand Down
22 changes: 11 additions & 11 deletions plugins/wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ import (
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
liquiditykeeper "github.com/gravity-devs/liquidity/x/liquidity/keeper"

bandwidthkeeper "github.com/cybercongress/go-cyber/v2/x/bandwidth/keeper"
bandwidthwasm "github.com/cybercongress/go-cyber/v2/x/bandwidth/wasm"
dmnkeeper "github.com/cybercongress/go-cyber/v2/x/dmn/keeper"
dmnwasm "github.com/cybercongress/go-cyber/v2/x/dmn/wasm"
graphkeeper "github.com/cybercongress/go-cyber/v2/x/graph/keeper"
graphwasm "github.com/cybercongress/go-cyber/v2/x/graph/wasm"
gridkeeper "github.com/cybercongress/go-cyber/v2/x/grid/keeper"
gridwasm "github.com/cybercongress/go-cyber/v2/x/grid/wasm"
rankkeeper "github.com/cybercongress/go-cyber/v2/x/rank/keeper"
rankwasm "github.com/cybercongress/go-cyber/v2/x/rank/wasm"
resourceswasm "github.com/cybercongress/go-cyber/v2/x/resources/wasm"
bandwidthkeeper "github.com/cybercongress/go-cyber/v3/x/bandwidth/keeper"
bandwidthwasm "github.com/cybercongress/go-cyber/v3/x/bandwidth/wasm"
dmnkeeper "github.com/cybercongress/go-cyber/v3/x/dmn/keeper"
dmnwasm "github.com/cybercongress/go-cyber/v3/x/dmn/wasm"
graphkeeper "github.com/cybercongress/go-cyber/v3/x/graph/keeper"
graphwasm "github.com/cybercongress/go-cyber/v3/x/graph/wasm"
gridkeeper "github.com/cybercongress/go-cyber/v3/x/grid/keeper"
gridwasm "github.com/cybercongress/go-cyber/v3/x/grid/wasm"
rankkeeper "github.com/cybercongress/go-cyber/v3/x/rank/keeper"
rankwasm "github.com/cybercongress/go-cyber/v3/x/rank/wasm"
resourceswasm "github.com/cybercongress/go-cyber/v3/x/resources/wasm"
)

func RegisterCustomPlugins(
Expand Down
4 changes: 2 additions & 2 deletions x/bandwidth/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/cybercongress/go-cyber/v2/x/bandwidth/keeper"
"github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
"github.com/cybercongress/go-cyber/v3/x/bandwidth/keeper"
"github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
)

var accountsToUpdate = make([]sdk.AccAddress, 0)
Expand Down
2 changes: 1 addition & 1 deletion x/bandwidth/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/spf13/cobra"

"github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
"github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
)

func GetQueryCmd() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion x/bandwidth/client/rest/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/cosmos/cosmos-sdk/types/rest"

"github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
"github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
)

func registerQueryRoutes(cliCtx client.Context, r *mux.Router) {
Expand Down
2 changes: 1 addition & 1 deletion x/bandwidth/keeper/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
"github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
)

func (bm BandwidthMeter) SetAccountBandwidth(ctx sdk.Context, ab types.NeuronBandwidth) {
Expand Down
2 changes: 1 addition & 1 deletion x/bandwidth/keeper/blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
"github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
)

func (bm BandwidthMeter) SetBlockBandwidth(ctx sdk.Context, blockNumber uint64, value uint64) {
Expand Down
2 changes: 1 addition & 1 deletion x/bandwidth/keeper/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"

"github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
"github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
)

func InitGenesis(ctx sdk.Context, bm *BandwidthMeter, ak authkeeper.AccountKeeper, data types.GenesisState) {
Expand Down
2 changes: 1 addition & 1 deletion x/bandwidth/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

"github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
"github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
)

var _ types.QueryServer = &BandwidthMeter{}
Expand Down
4 changes: 2 additions & 2 deletions x/bandwidth/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
"github.com/tendermint/tendermint/libs/log"

"github.com/cybercongress/go-cyber/v2/x/bandwidth/types"
gtypes "github.com/cybercongress/go-cyber/v2/x/graph/types"
"github.com/cybercongress/go-cyber/v3/x/bandwidth/types"
gtypes "github.com/cybercongress/go-cyber/v3/x/graph/types"
)

type BandwidthMeter struct {
Expand Down
Loading