From ed8281a9bc8c0ce5de91019d23bf788d2f4c0af2 Mon Sep 17 00:00:00 2001 From: Riccardo Montagnin Date: Tue, 17 Dec 2024 05:34:09 +0900 Subject: [PATCH] chore: add v7 hard fork --- ante/ante.go | 2 +- api/milkyway/restaking/v1/query.pulsar.go | 6 ++-- api/milkyway/rewards/v1/messages.pulsar.go | 2 +- api/milkyway/rewards/v1/models.pulsar.go | 2 +- app/abci/abci_extensions.go | 2 +- app/app.go | 33 +++++++++++++++---- app/app_test.go | 6 ++-- app/encoding.go | 4 +-- app/forks/types.go | 20 +++++++++++ app/forks/v7/constants.go | 10 ++++++ app/forks/v7/fork.go | 28 ++++++++++++++++ app/genesis_account_fuzz_test.go | 2 +- app/genesis_test.go | 2 +- app/helpers/test_helpers.go | 2 +- app/keepers/keepers.go | 30 ++++++++--------- app/keepers/keys.go | 14 ++++---- app/keepers/modules.go | 14 ++++---- app/modules.go | 28 ++++++++-------- app/post.go | 2 +- app/sim/sim_state.go | 2 +- app/sim/sim_utils.go | 2 +- app/sim_test.go | 6 ++-- app/upgrades/types.go | 3 +- app/upgrades/v6/constants.go | 2 +- app/upgrades/v6/upgrades.go | 4 +-- cmd/milkywayd/cmd/bech32_convert.go | 2 +- cmd/milkywayd/cmd/root.go | 4 +-- cmd/milkywayd/main.go | 4 +-- go.mod | 2 +- proto/buf.gen.pulsar.yaml | 2 +- proto/milkyway/assets/v1/genesis.proto | 2 +- proto/milkyway/assets/v1/messages.proto | 2 +- proto/milkyway/assets/v1/models.proto | 2 +- proto/milkyway/assets/v1/query.proto | 2 +- proto/milkyway/liquidvesting/v1/genesis.proto | 2 +- .../milkyway/liquidvesting/v1/messages.proto | 2 +- proto/milkyway/liquidvesting/v1/models.proto | 2 +- proto/milkyway/liquidvesting/v1/params.proto | 2 +- proto/milkyway/liquidvesting/v1/query.proto | 2 +- proto/milkyway/operators/v1/genesis.proto | 2 +- proto/milkyway/operators/v1/messages.proto | 2 +- proto/milkyway/operators/v1/models.proto | 2 +- proto/milkyway/operators/v1/params.proto | 2 +- proto/milkyway/operators/v1/query.proto | 2 +- proto/milkyway/pools/v1/genesis.proto | 2 +- proto/milkyway/pools/v1/models.proto | 2 +- proto/milkyway/pools/v1/query.proto | 2 +- proto/milkyway/restaking/v1/genesis.proto | 2 +- proto/milkyway/restaking/v1/messages.proto | 2 +- proto/milkyway/restaking/v1/models.proto | 2 +- proto/milkyway/restaking/v1/params.proto | 2 +- proto/milkyway/restaking/v1/query.proto | 2 +- proto/milkyway/rewards/v1/genesis.proto | 2 +- proto/milkyway/rewards/v1/messages.proto | 2 +- proto/milkyway/rewards/v1/models.proto | 2 +- proto/milkyway/rewards/v1/params.proto | 2 +- proto/milkyway/rewards/v1/query.proto | 2 +- proto/milkyway/services/v1/genesis.proto | 2 +- proto/milkyway/services/v1/messages.proto | 2 +- proto/milkyway/services/v1/models.proto | 2 +- proto/milkyway/services/v1/params.proto | 2 +- proto/milkyway/services/v1/query.proto | 2 +- scripts/protocgen.sh | 2 +- testutils/storetesting/keeper.go | 2 +- utils/ibc_test.go | 2 +- utils/restaking_test.go | 2 +- x/assets/autocli.go | 2 +- x/assets/keeper/assets.go | 2 +- x/assets/keeper/assets_test.go | 2 +- x/assets/keeper/genesis.go | 2 +- x/assets/keeper/genesis_test.go | 2 +- x/assets/keeper/grpc_query.go | 2 +- x/assets/keeper/grpc_query_test.go | 4 +-- x/assets/keeper/keeper.go | 2 +- x/assets/keeper/keeper_test.go | 4 +-- x/assets/keeper/msg_server.go | 2 +- x/assets/keeper/msg_server_test.go | 4 +-- x/assets/module.go | 4 +-- x/assets/testutils/keeper.go | 6 ++-- x/assets/types/genesis_test.go | 2 +- x/assets/types/models_test.go | 2 +- x/assets/types/ticker_test.go | 2 +- x/genutil/client/cli/init.go | 2 +- x/liquidvesting/abci.go | 4 +-- x/liquidvesting/autocli.go | 2 +- x/liquidvesting/ibc_module.go | 6 ++-- x/liquidvesting/keeper/alias_functions.go | 2 +- .../keeper/alias_functions_test.go | 10 +++--- x/liquidvesting/keeper/burn.go | 2 +- x/liquidvesting/keeper/burn_test.go | 2 +- x/liquidvesting/keeper/common_test.go | 20 +++++------ x/liquidvesting/keeper/end_blocker.go | 2 +- x/liquidvesting/keeper/end_blocker_test.go | 4 +-- x/liquidvesting/keeper/genesis.go | 2 +- x/liquidvesting/keeper/genesis_test.go | 6 ++-- x/liquidvesting/keeper/grpc_query.go | 2 +- x/liquidvesting/keeper/grpc_query_test.go | 4 +-- x/liquidvesting/keeper/ibc.go | 2 +- x/liquidvesting/keeper/ibc_test.go | 2 +- x/liquidvesting/keeper/insurance_fund.go | 2 +- x/liquidvesting/keeper/insurance_fund_test.go | 8 ++--- x/liquidvesting/keeper/keeper.go | 2 +- x/liquidvesting/keeper/mint.go | 2 +- x/liquidvesting/keeper/mint_test.go | 2 +- x/liquidvesting/keeper/msg_server.go | 2 +- x/liquidvesting/keeper/msg_server_test.go | 4 +-- x/liquidvesting/keeper/params.go | 2 +- x/liquidvesting/keeper/restake_restriction.go | 4 +-- .../keeper/restake_restriction_test.go | 4 +-- x/liquidvesting/keeper/send_restriction.go | 2 +- .../keeper/send_restriction_test.go | 10 +++--- x/liquidvesting/module.go | 4 +-- x/liquidvesting/testutils/keeper.go | 28 ++++++++-------- x/liquidvesting/types/expected_keepers.go | 2 +- x/liquidvesting/types/ibc_hooks_test.go | 2 +- x/operators/abci.go | 4 +-- x/operators/abci_test.go | 6 ++-- x/operators/autocli.go | 4 +-- x/operators/client/cli/tx.go | 2 +- x/operators/keeper/alias_functions.go | 2 +- x/operators/keeper/common_test.go | 4 +-- x/operators/keeper/genesis.go | 2 +- x/operators/keeper/genesis_test.go | 2 +- x/operators/keeper/grpc_query.go | 2 +- x/operators/keeper/grpc_query_test.go | 2 +- x/operators/keeper/hooks.go | 2 +- x/operators/keeper/invariants.go | 2 +- x/operators/keeper/invariants_test.go | 4 +-- x/operators/keeper/keeper.go | 2 +- x/operators/keeper/msg_server.go | 2 +- x/operators/keeper/msg_server_test.go | 4 +-- x/operators/keeper/operators.go | 2 +- x/operators/keeper/operators_test.go | 2 +- x/operators/keeper/params.go | 2 +- x/operators/keeper/params_test.go | 2 +- x/operators/module.go | 8 ++--- x/operators/simulation/decoder.go | 4 +-- x/operators/simulation/genesis.go | 6 ++-- x/operators/simulation/msg_factory.go | 6 ++-- x/operators/simulation/proposals.go | 2 +- x/operators/simulation/utils.go | 8 ++--- x/operators/testutils/hooks_mocks.go | 2 +- x/operators/testutils/keeper.go | 6 ++-- x/operators/types/genesis.go | 2 +- x/operators/types/genesis_test.go | 2 +- x/operators/types/keys_test.go | 2 +- x/operators/types/messages_test.go | 2 +- x/operators/types/models.go | 2 +- x/operators/types/models_test.go | 2 +- x/operators/types/params_test.go | 2 +- x/pools/client/cli/query.go | 2 +- x/pools/keeper/alias_functions.go | 2 +- x/pools/keeper/alias_functions_test.go | 2 +- x/pools/keeper/common_test.go | 6 ++-- x/pools/keeper/genesis.go | 2 +- x/pools/keeper/genesis_test.go | 2 +- x/pools/keeper/grpc_query.go | 2 +- x/pools/keeper/grpc_query_test.go | 2 +- x/pools/keeper/hooks.go | 2 +- x/pools/keeper/invariants.go | 4 +-- x/pools/keeper/invariants_test.go | 4 +-- x/pools/keeper/keeper.go | 2 +- x/pools/keeper/pools.go | 2 +- x/pools/keeper/pools_test.go | 2 +- x/pools/module.go | 6 ++-- x/pools/simulation/genesis.go | 2 +- x/pools/simulation/utils.go | 6 ++-- x/pools/types/genesis_test.go | 2 +- x/pools/types/models.go | 2 +- x/pools/types/models_test.go | 2 +- x/restaking/abci.go | 4 +-- x/restaking/client/cli/query.go | 8 ++--- x/restaking/client/cli/tx.go | 10 +++--- x/restaking/keeper/alias_functions.go | 10 +++--- x/restaking/keeper/alias_functions_test.go | 6 ++-- x/restaking/keeper/common_test.go | 16 ++++----- x/restaking/keeper/end_blocker.go | 2 +- x/restaking/keeper/end_blocker_test.go | 8 ++--- x/restaking/keeper/genesis.go | 2 +- x/restaking/keeper/genesis_test.go | 2 +- x/restaking/keeper/grpc_query.go | 8 ++--- x/restaking/keeper/grpc_query_test.go | 10 +++--- x/restaking/keeper/hooks.go | 2 +- x/restaking/keeper/invariants.go | 8 ++--- x/restaking/keeper/keeper.go | 2 +- x/restaking/keeper/msg_server.go | 8 ++--- x/restaking/keeper/msg_server_test.go | 10 +++--- x/restaking/keeper/operator_restaking.go | 4 +-- x/restaking/keeper/operator_restaking_test.go | 4 +-- x/restaking/keeper/operators_hooks.go | 4 +-- x/restaking/keeper/operators_hooks_test.go | 2 +- x/restaking/keeper/oracle.go | 4 +-- x/restaking/keeper/oracle_test.go | 2 +- x/restaking/keeper/params.go | 2 +- x/restaking/keeper/pool_restaking.go | 4 +-- x/restaking/keeper/pool_restaking_test.go | 4 +-- x/restaking/keeper/restake_restriction.go | 2 +- .../keeper/restake_restriction_test.go | 10 +++--- x/restaking/keeper/service_restaking.go | 6 ++-- x/restaking/keeper/service_restaking_test.go | 4 +-- x/restaking/keeper/services_hooks.go | 2 +- x/restaking/keeper/unbond.go | 10 +++--- x/restaking/keeper/user_preferences.go | 2 +- x/restaking/keeper/user_preferences_test.go | 2 +- x/restaking/module.go | 14 ++++---- x/restaking/simulation/decoder.go | 4 +-- x/restaking/simulation/genesis.go | 8 ++--- x/restaking/simulation/msg_factory.go | 22 ++++++------- x/restaking/simulation/proposals.go | 4 +-- x/restaking/simulation/utils.go | 14 ++++---- x/restaking/testutils/hooks_mocks.go | 2 +- x/restaking/testutils/keeper.go | 22 ++++++------- x/restaking/types/expected_keepers.go | 8 ++--- x/restaking/types/genesis.go | 2 +- x/restaking/types/genesis_test.go | 2 +- x/restaking/types/keys.go | 6 ++-- x/restaking/types/messages_test.go | 2 +- x/restaking/types/models.go | 6 ++-- x/restaking/types/models_test.go | 4 +-- x/restaking/types/params_test.go | 2 +- x/restaking/types/query.pb.go | 6 ++-- x/rewards/autocli.go | 2 +- x/rewards/client/cli/tx.go | 2 +- x/rewards/client/cli/utils.go | 4 +-- x/rewards/client/cli/utils_test.go | 6 ++-- x/rewards/keeper/alias_functions.go | 6 ++-- x/rewards/keeper/allocation.go | 12 +++---- x/rewards/keeper/allocation_test.go | 10 +++--- x/rewards/keeper/common_test.go | 28 ++++++++-------- x/rewards/keeper/delegation.go | 4 +-- x/rewards/keeper/genesis.go | 2 +- x/rewards/keeper/grpc_query.go | 4 +-- x/rewards/keeper/grpc_query_test.go | 10 +++--- x/rewards/keeper/hooks.go | 4 +-- x/rewards/keeper/invariants.go | 10 +++--- x/rewards/keeper/invariants_test.go | 10 +++--- x/rewards/keeper/keeper.go | 2 +- x/rewards/keeper/msg_server.go | 6 ++-- x/rewards/keeper/msg_server_test.go | 14 ++++---- x/rewards/keeper/opertors_hooks.go | 4 +-- x/rewards/keeper/oracle.go | 4 +-- x/rewards/keeper/oracle_test.go | 2 +- x/rewards/keeper/params.go | 2 +- x/rewards/keeper/pool_service_shares.go | 2 +- x/rewards/keeper/pools_hooks.go | 4 +-- x/rewards/keeper/restaking_hooks.go | 2 +- x/rewards/keeper/rewards_plan.go | 4 +-- x/rewards/keeper/rewards_plan_test.go | 8 ++--- x/rewards/keeper/services_hooks.go | 4 +-- x/rewards/keeper/services_hoos_test.go | 2 +- x/rewards/keeper/target.go | 10 +++--- x/rewards/keeper/withdraw.go | 4 +-- x/rewards/module.go | 14 ++++---- x/rewards/simulation/genesis.go | 8 ++--- x/rewards/simulation/msg_factory.go | 24 +++++++------- x/rewards/simulation/proposals.go | 4 +-- x/rewards/simulation/utils.go | 16 ++++----- x/rewards/testutils/keeper.go | 26 +++++++-------- x/rewards/types/dec_pool_test.go | 2 +- x/rewards/types/expected_keepers.go | 10 +++--- x/rewards/types/genesis.go | 2 +- x/rewards/types/genesis_test.go | 6 ++-- x/rewards/types/messages.go | 2 +- x/rewards/types/messages.pb.go | 2 +- x/rewards/types/messages_test.go | 4 +-- x/rewards/types/models.go | 4 +-- x/rewards/types/models.pb.go | 2 +- x/rewards/types/models_test.go | 4 +-- x/rewards/types/params_test.go | 2 +- x/rewards/types/pool_test.go | 2 +- x/services/autocli.go | 4 +-- x/services/client/cli/tx.go | 2 +- x/services/keeper/alias_functions.go | 2 +- x/services/keeper/common_test.go | 4 +-- x/services/keeper/genesis.go | 2 +- x/services/keeper/genesis_test.go | 2 +- x/services/keeper/grpc_query.go | 2 +- x/services/keeper/grpc_query_test.go | 2 +- x/services/keeper/hooks.go | 2 +- x/services/keeper/invariants.go | 2 +- x/services/keeper/invariants_test.go | 4 +-- x/services/keeper/keeper.go | 2 +- x/services/keeper/msg_server.go | 2 +- x/services/keeper/msg_server_test.go | 4 +-- x/services/keeper/params.go | 2 +- x/services/keeper/params_test.go | 2 +- x/services/keeper/services.go | 2 +- x/services/keeper/services_test.go | 2 +- x/services/module.go | 8 ++--- x/services/simulation/decoder.go | 4 +-- x/services/simulation/genesis.go | 2 +- x/services/simulation/msg_factory.go | 6 ++-- x/services/simulation/proposals.go | 4 +-- x/services/simulation/utils.go | 8 ++--- x/services/testutils/hooks_mocks.go | 2 +- x/services/testutils/keeper.go | 12 +++---- x/services/types/genesis.go | 2 +- x/services/types/genesis_test.go | 2 +- x/services/types/messages_test.go | 2 +- x/services/types/models.go | 2 +- x/services/types/models_test.go | 2 +- x/services/types/params_test.go | 2 +- 302 files changed, 745 insertions(+), 669 deletions(-) create mode 100644 app/forks/types.go create mode 100644 app/forks/v7/constants.go create mode 100644 app/forks/v7/fork.go diff --git a/ante/ante.go b/ante/ante.go index 9bda6143..4bc269e8 100644 --- a/ante/ante.go +++ b/ante/ante.go @@ -4,7 +4,7 @@ import ( feemarketante "github.com/skip-mev/feemarket/x/feemarket/ante" feemarketkeeper "github.com/skip-mev/feemarket/x/feemarket/keeper" - milkywayerrors "github.com/milkyway-labs/milkyway/v6/types/errors" + milkywayerrors "github.com/milkyway-labs/milkyway/v7/types/errors" ibcante "github.com/cosmos/ibc-go/v8/modules/core/ante" ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper" diff --git a/api/milkyway/restaking/v1/query.pulsar.go b/api/milkyway/restaking/v1/query.pulsar.go index 3531569c..c5c42385 100644 --- a/api/milkyway/restaking/v1/query.pulsar.go +++ b/api/milkyway/restaking/v1/query.pulsar.go @@ -9,9 +9,9 @@ import ( _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - v1 "github.com/milkyway-labs/milkyway/v6/api/milkyway/operators/v1" - v11 "github.com/milkyway-labs/milkyway/v6/api/milkyway/pools/v1" - v12 "github.com/milkyway-labs/milkyway/v6/api/milkyway/services/v1" + v1 "github.com/milkyway-labs/milkyway/v7/api/milkyway/operators/v1" + v11 "github.com/milkyway-labs/milkyway/v7/api/milkyway/pools/v1" + v12 "github.com/milkyway-labs/milkyway/v7/api/milkyway/services/v1" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" diff --git a/api/milkyway/rewards/v1/messages.pulsar.go b/api/milkyway/rewards/v1/messages.pulsar.go index 4bf927aa..ab0d0069 100644 --- a/api/milkyway/rewards/v1/messages.pulsar.go +++ b/api/milkyway/rewards/v1/messages.pulsar.go @@ -9,7 +9,7 @@ import ( _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - v1 "github.com/milkyway-labs/milkyway/v6/api/milkyway/restaking/v1" + v1 "github.com/milkyway-labs/milkyway/v7/api/milkyway/restaking/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/api/milkyway/rewards/v1/models.pulsar.go b/api/milkyway/rewards/v1/models.pulsar.go index 319e99e5..ba2b20ad 100644 --- a/api/milkyway/rewards/v1/models.pulsar.go +++ b/api/milkyway/rewards/v1/models.pulsar.go @@ -8,7 +8,7 @@ import ( _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - v1 "github.com/milkyway-labs/milkyway/v6/api/milkyway/restaking/v1" + v1 "github.com/milkyway-labs/milkyway/v7/api/milkyway/restaking/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/app/abci/abci_extensions.go b/app/abci/abci_extensions.go index af7f0cfc..bd27b992 100644 --- a/app/abci/abci_extensions.go +++ b/app/abci/abci_extensions.go @@ -22,7 +22,7 @@ import ( oraclepreblock "github.com/skip-mev/connect/v2/abci/preblock/oracle" - "github.com/milkyway-labs/milkyway/v6/app/keepers" + "github.com/milkyway-labs/milkyway/v7/app/keepers" ) type SetupData struct { diff --git a/app/app.go b/app/app.go index 366a28d2..109179a8 100644 --- a/app/app.go +++ b/app/app.go @@ -64,19 +64,25 @@ import ( feemarketkeeper "github.com/skip-mev/feemarket/x/feemarket/keeper" "github.com/spf13/cast" - milkywayante "github.com/milkyway-labs/milkyway/v6/ante" - milkywayabci "github.com/milkyway-labs/milkyway/v6/app/abci" - "github.com/milkyway-labs/milkyway/v6/app/keepers" - "github.com/milkyway-labs/milkyway/v6/app/upgrades" - v6 "github.com/milkyway-labs/milkyway/v6/app/upgrades/v6" - _ "github.com/milkyway-labs/milkyway/v6/client/docs/statik" - liquidvestingtypes "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + milkywayante "github.com/milkyway-labs/milkyway/v7/ante" + milkywayabci "github.com/milkyway-labs/milkyway/v7/app/abci" + "github.com/milkyway-labs/milkyway/v7/app/forks" + v7 "github.com/milkyway-labs/milkyway/v7/app/forks/v7" + "github.com/milkyway-labs/milkyway/v7/app/keepers" + "github.com/milkyway-labs/milkyway/v7/app/upgrades" + v6 "github.com/milkyway-labs/milkyway/v7/app/upgrades/v6" + _ "github.com/milkyway-labs/milkyway/v7/client/docs/statik" + liquidvestingtypes "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) var ( // DefaultNodeHome default home directories for the application daemon DefaultNodeHome string + Forks = []forks.Fork{ + v7.Fork, + } + Upgrades = []upgrades.Upgrade{ v6.Upgrade, } @@ -354,6 +360,7 @@ func NewMilkyWayApp( app.setupUpgradeHandlers() app.setupUpgradeStoreLoaders() + app.setupForksPreBlockers() // At startup, after all modules have been registered, check that all prot // annotations are correct. @@ -547,6 +554,18 @@ func (app *MilkyWayApp) setupUpgradeHandlers() { } } +func (app *MilkyWayApp) setupForksPreBlockers() { + for _, fork := range Forks { + currentPreBlocker := app.PreBlocker() + app.SetPreBlocker(func(ctx sdk.Context, req *abci.RequestFinalizeBlock) (*sdk.ResponsePreBlock, error) { + if req.Height == fork.ForkHeight { + fork.BeginForkLogic(ctx, &app.AppKeepers) + } + return currentPreBlocker(ctx, req) + }) + } +} + // RegisterSwaggerAPI registers swagger route with API Server func RegisterSwaggerAPI(rtr *mux.Router) { statikFS, err := fs.New() diff --git a/app/app_test.go b/app/app_test.go index 4c11dd65..34651517 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -7,9 +7,9 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" - milkyway "github.com/milkyway-labs/milkyway/v6/app" - milkywayhelpers "github.com/milkyway-labs/milkyway/v6/app/helpers" - liquidvestingtypes "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + milkyway "github.com/milkyway-labs/milkyway/v7/app" + milkywayhelpers "github.com/milkyway-labs/milkyway/v7/app/helpers" + liquidvestingtypes "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) func TestMilkyWayApp_BlockedModuleAccountAddrs(t *testing.T) { diff --git a/app/encoding.go b/app/encoding.go index 76d53f53..7b650aa4 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -4,8 +4,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/std" - "github.com/milkyway-labs/milkyway/v6/app/keepers" - "github.com/milkyway-labs/milkyway/v6/app/params" + "github.com/milkyway-labs/milkyway/v7/app/keepers" + "github.com/milkyway-labs/milkyway/v7/app/params" ) // MakeEncodingConfig creates an EncodingConfig. diff --git a/app/forks/types.go b/app/forks/types.go new file mode 100644 index 00000000..e87d5708 --- /dev/null +++ b/app/forks/types.go @@ -0,0 +1,20 @@ +package forks + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/milkyway-labs/milkyway/v7/app/keepers" +) + +// Fork defines a struct containing the requisite fields for a non-software upgrade proposal +// Hard Fork at a given height to implement. +// There is one time code that can be added for the start of the Fork, in `BeginForkLogic`. +// Any other change in the code should be height-gated, if the goal is to have old and new binaries +// to be compatible prior to the upgrade height. +type Fork struct { + // ForkHeight represents the height the upgrade occurs at + ForkHeight int64 + + // Function that runs some custom state transition code at the beginning of a fork. + BeginForkLogic func(ctx sdk.Context, keepers *keepers.AppKeepers) +} diff --git a/app/forks/v7/constants.go b/app/forks/v7/constants.go new file mode 100644 index 00000000..b2928697 --- /dev/null +++ b/app/forks/v7/constants.go @@ -0,0 +1,10 @@ +package v7 + +import ( + "github.com/milkyway-labs/milkyway/v7/app/forks" +) + +var Fork = forks.Fork{ + ForkHeight: 251150, + BeginForkLogic: BeginFork, +} diff --git a/app/forks/v7/fork.go b/app/forks/v7/fork.go new file mode 100644 index 00000000..e4e1aa54 --- /dev/null +++ b/app/forks/v7/fork.go @@ -0,0 +1,28 @@ +package v7 + +import ( + sdkmath "cosmossdk.io/math" + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/milkyway-labs/milkyway/v7/app/keepers" +) + +func BeginFork(ctx sdk.Context, keepers *keepers.AppKeepers) { + ctx.Logger().Info(` +=================================================================================================== +==== Forking chain state +=================================================================================================== +`) + + // Set the restaking cap to zero + params, err := keepers.RestakingKeeper.GetParams(ctx) + if err != nil { + panic(err) + } + params.RestakingCap = sdkmath.LegacyNewDec(0) + + err = keepers.RestakingKeeper.SetParams(ctx, params) + if err != nil { + panic(err) + } +} diff --git a/app/genesis_account_fuzz_test.go b/app/genesis_account_fuzz_test.go index 30e1baaa..fc983a31 100644 --- a/app/genesis_account_fuzz_test.go +++ b/app/genesis_account_fuzz_test.go @@ -6,7 +6,7 @@ import ( fuzz "github.com/google/gofuzz" - milkyway "github.com/milkyway-labs/milkyway/v6/app" + milkyway "github.com/milkyway-labs/milkyway/v7/app" ) func TestFuzzGenesisAccountValidate(t *testing.T) { diff --git a/app/genesis_test.go b/app/genesis_test.go index b418d884..ba411b85 100644 --- a/app/genesis_test.go +++ b/app/genesis_test.go @@ -13,7 +13,7 @@ import ( oracletypes "github.com/skip-mev/connect/v2/x/oracle/types" "github.com/stretchr/testify/require" - milkyway "github.com/milkyway-labs/milkyway/v6/app" + milkyway "github.com/milkyway-labs/milkyway/v7/app" ) func TestNewDefaultGenesisState(t *testing.T) { diff --git a/app/helpers/test_helpers.go b/app/helpers/test_helpers.go index 1797ab5d..e2313567 100644 --- a/app/helpers/test_helpers.go +++ b/app/helpers/test_helpers.go @@ -31,7 +31,7 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" - milkyway "github.com/milkyway-labs/milkyway/v6/app" + milkyway "github.com/milkyway-labs/milkyway/v7/app" ) // SimAppChainID hardcoded chainID for simulation diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index fa3f884b..52e70fa6 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -81,21 +81,21 @@ import ( icsprovider "github.com/cosmos/interchain-security/v6/x/ccv/provider" icsproviderkeeper "github.com/cosmos/interchain-security/v6/x/ccv/provider/keeper" - assetskeeper "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting" - liquidvestingkeeper "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/keeper" - liquidvestingtypes "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingkeeper "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - rewardskeeper "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - rewardstypes "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + assetskeeper "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting" + liquidvestingkeeper "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/keeper" + liquidvestingtypes "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingkeeper "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + rewardskeeper "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + rewardstypes "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type AppKeepers struct { diff --git a/app/keepers/keys.go b/app/keepers/keys.go index 9848edf1..77bdcc44 100644 --- a/app/keepers/keys.go +++ b/app/keepers/keys.go @@ -32,13 +32,13 @@ import ( wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - liquidvestingtypes "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - rewardstypes "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + liquidvestingtypes "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + rewardstypes "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (appKeepers *AppKeepers) GenerateKeys() { diff --git a/app/keepers/modules.go b/app/keepers/modules.go index 5b9fadf2..219f1a0b 100644 --- a/app/keepers/modules.go +++ b/app/keepers/modules.go @@ -30,13 +30,13 @@ import ( "github.com/skip-mev/connect/v2/x/oracle" "github.com/skip-mev/feemarket/x/feemarket" - "github.com/milkyway-labs/milkyway/v6/x/assets" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting" - "github.com/milkyway-labs/milkyway/v6/x/operators" - "github.com/milkyway-labs/milkyway/v6/x/pools" - "github.com/milkyway-labs/milkyway/v6/x/restaking" - "github.com/milkyway-labs/milkyway/v6/x/rewards" - "github.com/milkyway-labs/milkyway/v6/x/services" + "github.com/milkyway-labs/milkyway/v7/x/assets" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting" + "github.com/milkyway-labs/milkyway/v7/x/operators" + "github.com/milkyway-labs/milkyway/v7/x/pools" + "github.com/milkyway-labs/milkyway/v7/x/restaking" + "github.com/milkyway-labs/milkyway/v7/x/rewards" + "github.com/milkyway-labs/milkyway/v7/x/services" ) var AppModuleBasics = module.NewBasicManager( diff --git a/app/modules.go b/app/modules.go index 6b904849..4e46385d 100644 --- a/app/modules.go +++ b/app/modules.go @@ -65,20 +65,20 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/milkyway-labs/milkyway/v6/x/assets" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting" - liquidvestingtypes "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - "github.com/milkyway-labs/milkyway/v6/x/operators" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - "github.com/milkyway-labs/milkyway/v6/x/pools" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards" - rewardstypes "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - "github.com/milkyway-labs/milkyway/v6/x/services" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/assets" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting" + liquidvestingtypes "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/operators" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/pools" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards" + rewardstypes "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/x/services" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) var MaccPerms = map[string][]string{ diff --git a/app/post.go b/app/post.go index 69c5b136..e250b87f 100644 --- a/app/post.go +++ b/app/post.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/milkyway-labs/milkyway/v6/ante" + "github.com/milkyway-labs/milkyway/v7/ante" ) // PostHandlerOptions are the options required for constructing a FeeMarket PostHandler. diff --git a/app/sim/sim_state.go b/app/sim/sim_state.go index 9ce8866b..d4d7950e 100644 --- a/app/sim/sim_state.go +++ b/app/sim/sim_state.go @@ -22,7 +22,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - milkyway "github.com/milkyway-labs/milkyway/v6/app" + milkyway "github.com/milkyway-labs/milkyway/v7/app" ) // Simulation parameter constants diff --git a/app/sim/sim_utils.go b/app/sim/sim_utils.go index 610fe0c5..7ded5b42 100644 --- a/app/sim/sim_utils.go +++ b/app/sim/sim_utils.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - milkyway "github.com/milkyway-labs/milkyway/v6/app" + milkyway "github.com/milkyway-labs/milkyway/v7/app" ) // SimulationOperations retrieves the simulation params from the provided file path diff --git a/app/sim_test.go b/app/sim_test.go index 0f4b1512..53c9b42f 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -24,10 +24,10 @@ import ( "github.com/cosmos/cosmos-sdk/x/simulation" simcli "github.com/cosmos/cosmos-sdk/x/simulation/client/cli" - "github.com/milkyway-labs/milkyway/v6/ante" - "github.com/milkyway-labs/milkyway/v6/app/sim" + "github.com/milkyway-labs/milkyway/v7/ante" + "github.com/milkyway-labs/milkyway/v7/app/sim" - milkyway "github.com/milkyway-labs/milkyway/v6/app" + milkyway "github.com/milkyway-labs/milkyway/v7/app" ) // AppChainID hardcoded chainID for simulation diff --git a/app/upgrades/types.go b/app/upgrades/types.go index d815bc22..6d0252b8 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -3,11 +3,10 @@ package upgrades import ( store "cosmossdk.io/store/types" upgradetypes "cosmossdk.io/x/upgrade/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/milkyway-labs/milkyway/v6/app/keepers" + "github.com/milkyway-labs/milkyway/v7/app/keepers" ) // Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal diff --git a/app/upgrades/v6/constants.go b/app/upgrades/v6/constants.go index c65f5500..23add88c 100644 --- a/app/upgrades/v6/constants.go +++ b/app/upgrades/v6/constants.go @@ -3,7 +3,7 @@ package v6 import ( storetypes "cosmossdk.io/store/types" - "github.com/milkyway-labs/milkyway/v6/app/upgrades" + "github.com/milkyway-labs/milkyway/v7/app/upgrades" ) const UpgradeName = "v6" diff --git a/app/upgrades/v6/upgrades.go b/app/upgrades/v6/upgrades.go index 2853b5c1..74b3bc18 100644 --- a/app/upgrades/v6/upgrades.go +++ b/app/upgrades/v6/upgrades.go @@ -6,8 +6,8 @@ import ( upgradetypes "cosmossdk.io/x/upgrade/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/milkyway-labs/milkyway/v6/app/keepers" - liquidvestingtypes "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/app/keepers" + liquidvestingtypes "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) func CreateUpgradeHandler( diff --git a/cmd/milkywayd/cmd/bech32_convert.go b/cmd/milkywayd/cmd/bech32_convert.go index adf85295..aa275872 100644 --- a/cmd/milkywayd/cmd/bech32_convert.go +++ b/cmd/milkywayd/cmd/bech32_convert.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - addressutil "github.com/milkyway-labs/milkyway/v6/pkg/address" + addressutil "github.com/milkyway-labs/milkyway/v7/pkg/address" ) var flagBech32Prefix = "prefix" diff --git a/cmd/milkywayd/cmd/root.go b/cmd/milkywayd/cmd/root.go index c39b0af1..4a057d47 100644 --- a/cmd/milkywayd/cmd/root.go +++ b/cmd/milkywayd/cmd/root.go @@ -56,13 +56,13 @@ import ( genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" oracleconfig "github.com/skip-mev/connect/v2/oracle/config" - genutilcli "github.com/milkyway-labs/milkyway/v6/x/genutil/client/cli" + genutilcli "github.com/milkyway-labs/milkyway/v7/x/genutil/client/cli" "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - milkyway "github.com/milkyway-labs/milkyway/v6/app" + milkyway "github.com/milkyway-labs/milkyway/v7/app" ) // NewRootCmd creates a new root command for simd. It is called once in the diff --git a/cmd/milkywayd/main.go b/cmd/milkywayd/main.go index fd8f4397..96dd234a 100644 --- a/cmd/milkywayd/main.go +++ b/cmd/milkywayd/main.go @@ -5,8 +5,8 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - milkywayapp "github.com/milkyway-labs/milkyway/v6/app" - "github.com/milkyway-labs/milkyway/v6/cmd/milkywayd/cmd" + milkywayapp "github.com/milkyway-labs/milkyway/v7/app" + "github.com/milkyway-labs/milkyway/v7/cmd/milkywayd/cmd" ) func main() { diff --git a/go.mod b/go.mod index a6c4776c..4a44f6a4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/milkyway-labs/milkyway/v6 +module github.com/milkyway-labs/milkyway/v7 go 1.23 diff --git a/proto/buf.gen.pulsar.yaml b/proto/buf.gen.pulsar.yaml index 4bd8c81c..f7a58899 100644 --- a/proto/buf.gen.pulsar.yaml +++ b/proto/buf.gen.pulsar.yaml @@ -2,7 +2,7 @@ version: v1 managed: enabled: true go_package_prefix: - default: github.com/milkyway-labs/milkyway/v6/api + default: github.com/milkyway-labs/milkyway/v7/api except: - buf.build/googleapis/googleapis - buf.build/cosmos/gogo-proto diff --git a/proto/milkyway/assets/v1/genesis.proto b/proto/milkyway/assets/v1/genesis.proto index 770d65ee..90c4fb9a 100644 --- a/proto/milkyway/assets/v1/genesis.proto +++ b/proto/milkyway/assets/v1/genesis.proto @@ -5,7 +5,7 @@ import "amino/amino.proto"; import "gogoproto/gogo.proto"; import "milkyway/assets/v1/models.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/assets/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/assets/types"; // GenesisState defines the module's genesis state. message GenesisState { diff --git a/proto/milkyway/assets/v1/messages.proto b/proto/milkyway/assets/v1/messages.proto index 853285e1..75f107b8 100644 --- a/proto/milkyway/assets/v1/messages.proto +++ b/proto/milkyway/assets/v1/messages.proto @@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "milkyway/assets/v1/models.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/assets/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/assets/types"; // Msg defines the assets module's gRPC message service. service Msg { diff --git a/proto/milkyway/assets/v1/models.proto b/proto/milkyway/assets/v1/models.proto index 2e7a6b36..18faac15 100644 --- a/proto/milkyway/assets/v1/models.proto +++ b/proto/milkyway/assets/v1/models.proto @@ -3,7 +3,7 @@ package milkyway.assets.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/assets/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/assets/types"; option (gogoproto.goproto_getters_all) = false; // Asset represents an asset that can be registered on the chain. diff --git a/proto/milkyway/assets/v1/query.proto b/proto/milkyway/assets/v1/query.proto index 5db1e06b..55f1b736 100644 --- a/proto/milkyway/assets/v1/query.proto +++ b/proto/milkyway/assets/v1/query.proto @@ -7,7 +7,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "milkyway/assets/v1/models.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/assets/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/assets/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/milkyway/liquidvesting/v1/genesis.proto b/proto/milkyway/liquidvesting/v1/genesis.proto index 66c9c0e8..46f77088 100644 --- a/proto/milkyway/liquidvesting/v1/genesis.proto +++ b/proto/milkyway/liquidvesting/v1/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "milkyway/liquidvesting/v1/models.proto"; import "milkyway/liquidvesting/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types"; // GenesisState defines the liquidvesting module's genesis state. message GenesisState { diff --git a/proto/milkyway/liquidvesting/v1/messages.proto b/proto/milkyway/liquidvesting/v1/messages.proto index f9df0873..91e44d15 100644 --- a/proto/milkyway/liquidvesting/v1/messages.proto +++ b/proto/milkyway/liquidvesting/v1/messages.proto @@ -8,7 +8,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "milkyway/liquidvesting/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types"; // Msg defines the services module's gRPC message service. service Msg { diff --git a/proto/milkyway/liquidvesting/v1/models.proto b/proto/milkyway/liquidvesting/v1/models.proto index 0e7fd68f..8279ec4f 100644 --- a/proto/milkyway/liquidvesting/v1/models.proto +++ b/proto/milkyway/liquidvesting/v1/models.proto @@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types"; // UserInsuranceFund defines a user's insurance fund. message UserInsuranceFund { diff --git a/proto/milkyway/liquidvesting/v1/params.proto b/proto/milkyway/liquidvesting/v1/params.proto index 258292fe..b480b633 100644 --- a/proto/milkyway/liquidvesting/v1/params.proto +++ b/proto/milkyway/liquidvesting/v1/params.proto @@ -4,7 +4,7 @@ package milkyway.liquidvesting.v1; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/milkyway/liquidvesting/v1/query.proto b/proto/milkyway/liquidvesting/v1/query.proto index 6c7b4007..35c72399 100644 --- a/proto/milkyway/liquidvesting/v1/query.proto +++ b/proto/milkyway/liquidvesting/v1/query.proto @@ -8,7 +8,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "milkyway/liquidvesting/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/milkyway/operators/v1/genesis.proto b/proto/milkyway/operators/v1/genesis.proto index 9e7b18bb..55b6f542 100644 --- a/proto/milkyway/operators/v1/genesis.proto +++ b/proto/milkyway/operators/v1/genesis.proto @@ -6,7 +6,7 @@ import "google/protobuf/timestamp.proto"; import "milkyway/operators/v1/models.proto"; import "milkyway/operators/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/operators/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/operators/types"; // GenesisState defines the operators module's genesis state. message GenesisState { diff --git a/proto/milkyway/operators/v1/messages.proto b/proto/milkyway/operators/v1/messages.proto index 33048e31..7222c530 100644 --- a/proto/milkyway/operators/v1/messages.proto +++ b/proto/milkyway/operators/v1/messages.proto @@ -9,7 +9,7 @@ import "gogoproto/gogo.proto"; import "milkyway/operators/v1/models.proto"; import "milkyway/operators/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/operators/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/operators/types"; // Msg defines the avs module's gRPC message service. service Msg { diff --git a/proto/milkyway/operators/v1/models.proto b/proto/milkyway/operators/v1/models.proto index ac2bbb79..b9f3200c 100644 --- a/proto/milkyway/operators/v1/models.proto +++ b/proto/milkyway/operators/v1/models.proto @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/operators/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/operators/types"; option (gogoproto.goproto_getters_all) = false; // OperatorStatus defines the possible statuses of an operator diff --git a/proto/milkyway/operators/v1/params.proto b/proto/milkyway/operators/v1/params.proto index d6215618..ca5735e9 100644 --- a/proto/milkyway/operators/v1/params.proto +++ b/proto/milkyway/operators/v1/params.proto @@ -4,7 +4,7 @@ package milkyway.operators.v1; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/operators/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/operators/types"; // Params defines the parameters for the operators module. message Params { diff --git a/proto/milkyway/operators/v1/query.proto b/proto/milkyway/operators/v1/query.proto index 1ed32aa6..c92ff23e 100644 --- a/proto/milkyway/operators/v1/query.proto +++ b/proto/milkyway/operators/v1/query.proto @@ -7,7 +7,7 @@ import "google/api/annotations.proto"; import "milkyway/operators/v1/models.proto"; import "milkyway/operators/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/operators/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/operators/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/milkyway/pools/v1/genesis.proto b/proto/milkyway/pools/v1/genesis.proto index e2a5156a..c74a7d9e 100644 --- a/proto/milkyway/pools/v1/genesis.proto +++ b/proto/milkyway/pools/v1/genesis.proto @@ -4,7 +4,7 @@ package milkyway.pools.v1; import "gogoproto/gogo.proto"; import "milkyway/pools/v1/models.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/pools/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/pools/types"; // GenesisState defines the pools module's genesis state. message GenesisState { diff --git a/proto/milkyway/pools/v1/models.proto b/proto/milkyway/pools/v1/models.proto index 7d5ce9b7..72e1e0f2 100644 --- a/proto/milkyway/pools/v1/models.proto +++ b/proto/milkyway/pools/v1/models.proto @@ -4,7 +4,7 @@ package milkyway.pools.v1; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/pools/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/pools/types"; option (gogoproto.goproto_getters_all) = false; // Pool defines the structure of a restaking pool diff --git a/proto/milkyway/pools/v1/query.proto b/proto/milkyway/pools/v1/query.proto index cab7f3ec..df5cf082 100644 --- a/proto/milkyway/pools/v1/query.proto +++ b/proto/milkyway/pools/v1/query.proto @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "milkyway/pools/v1/models.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/pools/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/pools/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/milkyway/restaking/v1/genesis.proto b/proto/milkyway/restaking/v1/genesis.proto index 1c7680d6..36936614 100644 --- a/proto/milkyway/restaking/v1/genesis.proto +++ b/proto/milkyway/restaking/v1/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "milkyway/restaking/v1/models.proto"; import "milkyway/restaking/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/restaking/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/restaking/types"; // OperatorJoinedServicesRecord represents the services joined by a // individual operator. diff --git a/proto/milkyway/restaking/v1/messages.proto b/proto/milkyway/restaking/v1/messages.proto index abc04203..b80ea0f3 100644 --- a/proto/milkyway/restaking/v1/messages.proto +++ b/proto/milkyway/restaking/v1/messages.proto @@ -10,7 +10,7 @@ import "google/protobuf/timestamp.proto"; import "milkyway/restaking/v1/models.proto"; import "milkyway/restaking/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/restaking/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/restaking/types"; // Msg defines the restaking module's gRPC message service. service Msg { diff --git a/proto/milkyway/restaking/v1/models.proto b/proto/milkyway/restaking/v1/models.proto index 6d71a14b..5e5c0977 100644 --- a/proto/milkyway/restaking/v1/models.proto +++ b/proto/milkyway/restaking/v1/models.proto @@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/restaking/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/restaking/types"; // DelegationType defines the type of delegation. enum DelegationType { diff --git a/proto/milkyway/restaking/v1/params.proto b/proto/milkyway/restaking/v1/params.proto index c18e6b06..9f256153 100644 --- a/proto/milkyway/restaking/v1/params.proto +++ b/proto/milkyway/restaking/v1/params.proto @@ -4,7 +4,7 @@ package milkyway.restaking.v1; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/restaking/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/restaking/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/milkyway/restaking/v1/query.proto b/proto/milkyway/restaking/v1/query.proto index b3601e0b..d03269d4 100644 --- a/proto/milkyway/restaking/v1/query.proto +++ b/proto/milkyway/restaking/v1/query.proto @@ -13,7 +13,7 @@ import "milkyway/restaking/v1/models.proto"; import "milkyway/restaking/v1/params.proto"; import "milkyway/services/v1/models.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/restaking/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/restaking/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/milkyway/rewards/v1/genesis.proto b/proto/milkyway/rewards/v1/genesis.proto index c7a111a9..6abcbacd 100644 --- a/proto/milkyway/rewards/v1/genesis.proto +++ b/proto/milkyway/rewards/v1/genesis.proto @@ -8,7 +8,7 @@ import "google/protobuf/timestamp.proto"; import "milkyway/rewards/v1/models.proto"; import "milkyway/rewards/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/rewards/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/rewards/types"; // DelegatorWithdrawInfo is the address for where delegation rewards are // withdrawn to by default this struct is only used at genesis to feed in diff --git a/proto/milkyway/rewards/v1/messages.proto b/proto/milkyway/rewards/v1/messages.proto index 7acfbf21..22e7bdd1 100644 --- a/proto/milkyway/rewards/v1/messages.proto +++ b/proto/milkyway/rewards/v1/messages.proto @@ -11,7 +11,7 @@ import "milkyway/restaking/v1/models.proto"; import "milkyway/rewards/v1/models.proto"; import "milkyway/rewards/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/rewards/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/rewards/types"; // Msg defines the services module's gRPC message service. service Msg { diff --git a/proto/milkyway/rewards/v1/models.proto b/proto/milkyway/rewards/v1/models.proto index c6833a17..34632f38 100644 --- a/proto/milkyway/rewards/v1/models.proto +++ b/proto/milkyway/rewards/v1/models.proto @@ -9,7 +9,7 @@ import "google/protobuf/any.proto"; import "google/protobuf/timestamp.proto"; import "milkyway/restaking/v1/models.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/rewards/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/rewards/types"; option (gogoproto.goproto_getters_all) = false; // RewardsPlan represents a rewards allocation plan. diff --git a/proto/milkyway/rewards/v1/params.proto b/proto/milkyway/rewards/v1/params.proto index 638172b5..df2a2fc8 100644 --- a/proto/milkyway/rewards/v1/params.proto +++ b/proto/milkyway/rewards/v1/params.proto @@ -4,7 +4,7 @@ package milkyway.rewards.v1; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/rewards/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/rewards/types"; option (gogoproto.goproto_getters_all) = false; // Params defines the parameters for the module. diff --git a/proto/milkyway/rewards/v1/query.proto b/proto/milkyway/rewards/v1/query.proto index f2d79918..96f8086f 100644 --- a/proto/milkyway/rewards/v1/query.proto +++ b/proto/milkyway/rewards/v1/query.proto @@ -9,7 +9,7 @@ import "google/api/annotations.proto"; import "milkyway/rewards/v1/models.proto"; import "milkyway/rewards/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/rewards/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/rewards/types"; option (gogoproto.goproto_getters_all) = false; // Query defines the gRPC querier service. diff --git a/proto/milkyway/services/v1/genesis.proto b/proto/milkyway/services/v1/genesis.proto index c4531d9c..f28140d4 100644 --- a/proto/milkyway/services/v1/genesis.proto +++ b/proto/milkyway/services/v1/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "milkyway/services/v1/models.proto"; import "milkyway/services/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/services/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/services/types"; // GenesisState defines the services module's genesis state. message GenesisState { diff --git a/proto/milkyway/services/v1/messages.proto b/proto/milkyway/services/v1/messages.proto index cf6f798e..12d3ec0e 100644 --- a/proto/milkyway/services/v1/messages.proto +++ b/proto/milkyway/services/v1/messages.proto @@ -9,7 +9,7 @@ import "gogoproto/gogo.proto"; import "milkyway/services/v1/models.proto"; import "milkyway/services/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/services/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/services/types"; // Msg defines the services module's gRPC message service. service Msg { diff --git a/proto/milkyway/services/v1/models.proto b/proto/milkyway/services/v1/models.proto index 6cfcb240..920b8467 100644 --- a/proto/milkyway/services/v1/models.proto +++ b/proto/milkyway/services/v1/models.proto @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/services/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/services/types"; option (gogoproto.goproto_getters_all) = false; // ServiceStatus defines the status of a service diff --git a/proto/milkyway/services/v1/params.proto b/proto/milkyway/services/v1/params.proto index df562c05..1456bc2d 100644 --- a/proto/milkyway/services/v1/params.proto +++ b/proto/milkyway/services/v1/params.proto @@ -4,7 +4,7 @@ package milkyway.services.v1; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/services/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/services/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/milkyway/services/v1/query.proto b/proto/milkyway/services/v1/query.proto index 00ee7deb..84d2d55c 100644 --- a/proto/milkyway/services/v1/query.proto +++ b/proto/milkyway/services/v1/query.proto @@ -7,7 +7,7 @@ import "google/api/annotations.proto"; import "milkyway/services/v1/models.proto"; import "milkyway/services/v1/params.proto"; -option go_package = "github.com/milkyway-labs/milkyway/v6/x/services/types"; +option go_package = "github.com/milkyway-labs/milkyway/v7/x/services/types"; // Query defines the gRPC querier service. service Query { diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index be5fcf32..b35b6338 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -20,5 +20,5 @@ cd .. # move proto files to the right places # # Note: Proto files are suffixed with the current binary version. -cp -r github.com/milkyway-labs/milkyway/v6/* ./ +cp -r github.com/milkyway-labs/milkyway/v7/* ./ rm -rf github.com diff --git a/testutils/storetesting/keeper.go b/testutils/storetesting/keeper.go index 72a9d407..12760c6b 100644 --- a/testutils/storetesting/keeper.go +++ b/testutils/storetesting/keeper.go @@ -18,7 +18,7 @@ import ( distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - milkyway "github.com/milkyway-labs/milkyway/v6/app" + milkyway "github.com/milkyway-labs/milkyway/v7/app" ) type BaseKeeperTestData struct { diff --git a/utils/ibc_test.go b/utils/ibc_test.go index af4bfbb1..ca3d3538 100644 --- a/utils/ibc_test.go +++ b/utils/ibc_test.go @@ -7,7 +7,7 @@ import ( transfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) func Test_DeserializeFungibleTokenPacketData(t *testing.T) { diff --git a/utils/restaking_test.go b/utils/restaking_test.go index c2577a05..ecb2ae18 100644 --- a/utils/restaking_test.go +++ b/utils/restaking_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) func TestGetTokenDenomFromSharesDenom_IBCDenom(t *testing.T) { diff --git a/x/assets/autocli.go b/x/assets/autocli.go index 2b73e211..fe0fadff 100644 --- a/x/assets/autocli.go +++ b/x/assets/autocli.go @@ -6,7 +6,7 @@ import ( autocliv1 "cosmossdk.io/api/cosmos/autocli/v1" "github.com/cosmos/cosmos-sdk/version" - assetsv1 "github.com/milkyway-labs/milkyway/v6/api/milkyway/assets/v1" + assetsv1 "github.com/milkyway-labs/milkyway/v7/api/milkyway/assets/v1" ) // AutoCLIOptions implements the autocli.HasAutoCLIConfig interface. diff --git a/x/assets/keeper/assets.go b/x/assets/keeper/assets.go index c5df9eb0..5d2142db 100644 --- a/x/assets/keeper/assets.go +++ b/x/assets/keeper/assets.go @@ -5,7 +5,7 @@ import ( "cosmossdk.io/collections" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) // SetAsset stores an asset in the store diff --git a/x/assets/keeper/assets_test.go b/x/assets/keeper/assets_test.go index 6618ee34..95582d9e 100644 --- a/x/assets/keeper/assets_test.go +++ b/x/assets/keeper/assets_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) func (suite *KeeperTestSuite) TestKeeper_SetAsset() { diff --git a/x/assets/keeper/genesis.go b/x/assets/keeper/genesis.go index 74ac66db..1f363b7d 100644 --- a/x/assets/keeper/genesis.go +++ b/x/assets/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) // ExportGenesis returns the GenesisState associated with the given context diff --git a/x/assets/keeper/genesis_test.go b/x/assets/keeper/genesis_test.go index d8b45821..5b5897d7 100644 --- a/x/assets/keeper/genesis_test.go +++ b/x/assets/keeper/genesis_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) func (suite *KeeperTestSuite) TestExportGenesis() { diff --git a/x/assets/keeper/grpc_query.go b/x/assets/keeper/grpc_query.go index 1afda1fb..21ee5de7 100644 --- a/x/assets/keeper/grpc_query.go +++ b/x/assets/keeper/grpc_query.go @@ -11,7 +11,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) var _ types.QueryServer = queryServer{} diff --git a/x/assets/keeper/grpc_query_test.go b/x/assets/keeper/grpc_query_test.go index 856a84bc..a7808b69 100644 --- a/x/assets/keeper/grpc_query_test.go +++ b/x/assets/keeper/grpc_query_test.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) func (suite *KeeperTestSuite) TestQuerier_Assets() { diff --git a/x/assets/keeper/keeper.go b/x/assets/keeper/keeper.go index fd86c1ea..7f6e0c5f 100644 --- a/x/assets/keeper/keeper.go +++ b/x/assets/keeper/keeper.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) type Keeper struct { diff --git a/x/assets/keeper/keeper_test.go b/x/assets/keeper/keeper_test.go index 77db095c..7c3deca8 100644 --- a/x/assets/keeper/keeper_test.go +++ b/x/assets/keeper/keeper_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" - "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - "github.com/milkyway-labs/milkyway/v6/x/assets/testutils" + "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + "github.com/milkyway-labs/milkyway/v7/x/assets/testutils" ) type KeeperTestSuite struct { diff --git a/x/assets/keeper/msg_server.go b/x/assets/keeper/msg_server.go index 2b2e18f5..230ec036 100644 --- a/x/assets/keeper/msg_server.go +++ b/x/assets/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/assets/keeper/msg_server_test.go b/x/assets/keeper/msg_server_test.go index 5d8c71e3..05bbf332 100644 --- a/x/assets/keeper/msg_server_test.go +++ b/x/assets/keeper/msg_server_test.go @@ -3,8 +3,8 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) func (suite *KeeperTestSuite) TestMsgServer_RegisterAsset() { diff --git a/x/assets/module.go b/x/assets/module.go index a4737f29..ae2f776d 100644 --- a/x/assets/module.go +++ b/x/assets/module.go @@ -14,8 +14,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) const ( diff --git a/x/assets/testutils/keeper.go b/x/assets/testutils/keeper.go index fb64a78b..d60de94f 100644 --- a/x/assets/testutils/keeper.go +++ b/x/assets/testutils/keeper.go @@ -8,9 +8,9 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/milkyway-labs/milkyway/v6/testutils/storetesting" - "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/testutils/storetesting" + "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) type KeeperTestData struct { diff --git a/x/assets/types/genesis_test.go b/x/assets/types/genesis_test.go index 0bfb6112..86a66d71 100644 --- a/x/assets/types/genesis_test.go +++ b/x/assets/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) func TestGenesis_Validate(t *testing.T) { diff --git a/x/assets/types/models_test.go b/x/assets/types/models_test.go index 8e30ac1c..8aa68da4 100644 --- a/x/assets/types/models_test.go +++ b/x/assets/types/models_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) func TestAsset_Validate(t *testing.T) { diff --git a/x/assets/types/ticker_test.go b/x/assets/types/ticker_test.go index 4a1374c6..5d94d300 100644 --- a/x/assets/types/ticker_test.go +++ b/x/assets/types/ticker_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/assets/types" ) func TestValidateTicker(t *testing.T) { diff --git a/x/genutil/client/cli/init.go b/x/genutil/client/cli/init.go index 9456c170..a4bd0424 100644 --- a/x/genutil/client/cli/init.go +++ b/x/genutil/client/cli/init.go @@ -25,7 +25,7 @@ import ( "github.com/cosmos/go-bip39" "github.com/spf13/cobra" - milkywayapp "github.com/milkyway-labs/milkyway/v6/app" + milkywayapp "github.com/milkyway-labs/milkyway/v7/app" ) type printInfo struct { diff --git a/x/liquidvesting/abci.go b/x/liquidvesting/abci.go index 30f55652..4f6abfbf 100644 --- a/x/liquidvesting/abci.go +++ b/x/liquidvesting/abci.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/keeper" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/keeper" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) // EndBlocker is called every block and is responsible for maturing unbonding delegations diff --git a/x/liquidvesting/autocli.go b/x/liquidvesting/autocli.go index d14f9ddf..4b78f5ad 100644 --- a/x/liquidvesting/autocli.go +++ b/x/liquidvesting/autocli.go @@ -6,7 +6,7 @@ import ( autocliv1 "cosmossdk.io/api/cosmos/autocli/v1" "github.com/cosmos/cosmos-sdk/version" - liquidvestingv1 "github.com/milkyway-labs/milkyway/v6/api/milkyway/liquidvesting/v1" + liquidvestingv1 "github.com/milkyway-labs/milkyway/v7/api/milkyway/liquidvesting/v1" ) // AutoCLIOptions implements the autocli.HasAutoCLIConfig interface. diff --git a/x/liquidvesting/ibc_module.go b/x/liquidvesting/ibc_module.go index 8c61fbb5..e66fc621 100644 --- a/x/liquidvesting/ibc_module.go +++ b/x/liquidvesting/ibc_module.go @@ -11,9 +11,9 @@ import ( porttypes "github.com/cosmos/ibc-go/v8/modules/core/05-port/types" ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" - "github.com/milkyway-labs/milkyway/v6/utils" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/keeper" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/utils" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/keeper" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) type IBCModule struct { diff --git a/x/liquidvesting/keeper/alias_functions.go b/x/liquidvesting/keeper/alias_functions.go index 225e3a8e..93cd632a 100644 --- a/x/liquidvesting/keeper/alias_functions.go +++ b/x/liquidvesting/keeper/alias_functions.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) func (k *Keeper) GetAllUsersInsuranceFundsEntries(ctx sdk.Context) ([]types.UserInsuranceFundEntry, error) { diff --git a/x/liquidvesting/keeper/alias_functions_test.go b/x/liquidvesting/keeper/alias_functions_test.go index aea113f8..67ee4c09 100644 --- a/x/liquidvesting/keeper/alias_functions_test.go +++ b/x/liquidvesting/keeper/alias_functions_test.go @@ -3,11 +3,11 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingkeeper "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingkeeper "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestKeeper_GetAllUserRestakedLockedRepresentations() { diff --git a/x/liquidvesting/keeper/burn.go b/x/liquidvesting/keeper/burn.go index dcf95d6c..d754aa8e 100644 --- a/x/liquidvesting/keeper/burn.go +++ b/x/liquidvesting/keeper/burn.go @@ -11,7 +11,7 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) // IsBurner tells if a user have the permissions to burn tokens diff --git a/x/liquidvesting/keeper/burn_test.go b/x/liquidvesting/keeper/burn_test.go index 466e945d..fe1d2d3c 100644 --- a/x/liquidvesting/keeper/burn_test.go +++ b/x/liquidvesting/keeper/burn_test.go @@ -4,7 +4,7 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) func (suite *KeeperTestSuite) TestKeeper_TestBurn() { diff --git a/x/liquidvesting/keeper/common_test.go b/x/liquidvesting/keeper/common_test.go index dbb7d760..b17ce845 100644 --- a/x/liquidvesting/keeper/common_test.go +++ b/x/liquidvesting/keeper/common_test.go @@ -17,16 +17,16 @@ import ( ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" "github.com/stretchr/testify/suite" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/keeper" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/testutils" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingkeeper "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/keeper" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/testutils" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingkeeper "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) const ( diff --git a/x/liquidvesting/keeper/end_blocker.go b/x/liquidvesting/keeper/end_blocker.go index c63f9cc3..2564cb4b 100644 --- a/x/liquidvesting/keeper/end_blocker.go +++ b/x/liquidvesting/keeper/end_blocker.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) // CompleteBurnCoins runs the endblocker logic to burn the coins after the diff --git a/x/liquidvesting/keeper/end_blocker_test.go b/x/liquidvesting/keeper/end_blocker_test.go index 2136d4d9..9d6c193e 100644 --- a/x/liquidvesting/keeper/end_blocker_test.go +++ b/x/liquidvesting/keeper/end_blocker_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func (suite *KeeperTestSuite) TestKeeper_EndBlocker() { diff --git a/x/liquidvesting/keeper/genesis.go b/x/liquidvesting/keeper/genesis.go index 34df12b3..8496c79a 100644 --- a/x/liquidvesting/keeper/genesis.go +++ b/x/liquidvesting/keeper/genesis.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) // ExportGenesis returns the GenesisState associated with the given context diff --git a/x/liquidvesting/keeper/genesis_test.go b/x/liquidvesting/keeper/genesis_test.go index 5c695022..231557dc 100644 --- a/x/liquidvesting/keeper/genesis_test.go +++ b/x/liquidvesting/keeper/genesis_test.go @@ -6,9 +6,9 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() { diff --git a/x/liquidvesting/keeper/grpc_query.go b/x/liquidvesting/keeper/grpc_query.go index 6b150bf8..b5e13cd1 100644 --- a/x/liquidvesting/keeper/grpc_query.go +++ b/x/liquidvesting/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) type Querier struct { diff --git a/x/liquidvesting/keeper/grpc_query_test.go b/x/liquidvesting/keeper/grpc_query_test.go index fb5e01cc..ee073fe9 100644 --- a/x/liquidvesting/keeper/grpc_query_test.go +++ b/x/liquidvesting/keeper/grpc_query_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/keeper" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/keeper" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) func (suite *KeeperTestSuite) TestQuerier_InsuranceFund() { diff --git a/x/liquidvesting/keeper/ibc.go b/x/liquidvesting/keeper/ibc.go index f884a44f..19d89b7d 100644 --- a/x/liquidvesting/keeper/ibc.go +++ b/x/liquidvesting/keeper/ibc.go @@ -8,7 +8,7 @@ import ( transfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types" channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) // OnRecvPacket processes the packet received from the IBC handler diff --git a/x/liquidvesting/keeper/ibc_test.go b/x/liquidvesting/keeper/ibc_test.go index 950b917b..fb810160 100644 --- a/x/liquidvesting/keeper/ibc_test.go +++ b/x/liquidvesting/keeper/ibc_test.go @@ -6,7 +6,7 @@ import ( sdkmath "cosmossdk.io/math" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" diff --git a/x/liquidvesting/keeper/insurance_fund.go b/x/liquidvesting/keeper/insurance_fund.go index a3ece9de..89cbde70 100644 --- a/x/liquidvesting/keeper/insurance_fund.go +++ b/x/liquidvesting/keeper/insurance_fund.go @@ -8,7 +8,7 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) // AddToUserInsuranceFund adds the provided amount to the user's insurance fund. diff --git a/x/liquidvesting/keeper/insurance_fund_test.go b/x/liquidvesting/keeper/insurance_fund_test.go index 3bdb66c8..aaac44a7 100644 --- a/x/liquidvesting/keeper/insurance_fund_test.go +++ b/x/liquidvesting/keeper/insurance_fund_test.go @@ -4,10 +4,10 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingkeeper "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingkeeper "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func (suite *KeeperTestSuite) TestKeeper_AddToInsuranceFund() { diff --git a/x/liquidvesting/keeper/keeper.go b/x/liquidvesting/keeper/keeper.go index 78c9c02b..f2b8dee8 100644 --- a/x/liquidvesting/keeper/keeper.go +++ b/x/liquidvesting/keeper/keeper.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) type Keeper struct { diff --git a/x/liquidvesting/keeper/mint.go b/x/liquidvesting/keeper/mint.go index 64d8029c..d10ae3f2 100644 --- a/x/liquidvesting/keeper/mint.go +++ b/x/liquidvesting/keeper/mint.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) // IsMinter tells if a user have the permissions to mint tokens. diff --git a/x/liquidvesting/keeper/mint_test.go b/x/liquidvesting/keeper/mint_test.go index 635369ca..ed90d38d 100644 --- a/x/liquidvesting/keeper/mint_test.go +++ b/x/liquidvesting/keeper/mint_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) func (suite *KeeperTestSuite) TestKeeper_MintLockedRepresentation() { diff --git a/x/liquidvesting/keeper/msg_server.go b/x/liquidvesting/keeper/msg_server.go index 1a883cc0..4f3bca97 100644 --- a/x/liquidvesting/keeper/msg_server.go +++ b/x/liquidvesting/keeper/msg_server.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/liquidvesting/keeper/msg_server_test.go b/x/liquidvesting/keeper/msg_server_test.go index 024f1bae..72838e0a 100644 --- a/x/liquidvesting/keeper/msg_server_test.go +++ b/x/liquidvesting/keeper/msg_server_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/keeper" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/keeper" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) func (suite *KeeperTestSuite) TestMsgServer_MintLockedRepresentation() { diff --git a/x/liquidvesting/keeper/params.go b/x/liquidvesting/keeper/params.go index c547ae96..ded8add3 100644 --- a/x/liquidvesting/keeper/params.go +++ b/x/liquidvesting/keeper/params.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/collections" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) func (k *Keeper) SetParams(ctx context.Context, params types.Params) error { diff --git a/x/liquidvesting/keeper/restake_restriction.go b/x/liquidvesting/keeper/restake_restriction.go index 6b934597..b8404a16 100644 --- a/x/liquidvesting/keeper/restake_restriction.go +++ b/x/liquidvesting/keeper/restake_restriction.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func (k *Keeper) RestakeRestrictionFn(ctx context.Context, restakerAddress string, amount sdk.Coins, _ restakingtypes.DelegationTarget) error { diff --git a/x/liquidvesting/keeper/restake_restriction_test.go b/x/liquidvesting/keeper/restake_restriction_test.go index ce2e30ce..afe2b0ad 100644 --- a/x/liquidvesting/keeper/restake_restriction_test.go +++ b/x/liquidvesting/keeper/restake_restriction_test.go @@ -3,8 +3,8 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - restakingkeeper "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + restakingkeeper "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func (suite *KeeperTestSuite) TestRestakeRestriction_TestPoolRestaking() { diff --git a/x/liquidvesting/keeper/send_restriction.go b/x/liquidvesting/keeper/send_restriction.go index 8aafff33..dd074c48 100644 --- a/x/liquidvesting/keeper/send_restriction.go +++ b/x/liquidvesting/keeper/send_restriction.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) // SendRestrictionFn function that can be used in the x/bank module to block the diff --git a/x/liquidvesting/keeper/send_restriction_test.go b/x/liquidvesting/keeper/send_restriction_test.go index 3a807f91..c4e08fbc 100644 --- a/x/liquidvesting/keeper/send_restriction_test.go +++ b/x/liquidvesting/keeper/send_restriction_test.go @@ -6,11 +6,11 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - liquidvestingtypes "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + liquidvestingtypes "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func MustGetLockedDenom(denom string) string { diff --git a/x/liquidvesting/module.go b/x/liquidvesting/module.go index 9936834d..9463a93e 100644 --- a/x/liquidvesting/module.go +++ b/x/liquidvesting/module.go @@ -13,8 +13,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/keeper" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/keeper" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) const ( diff --git a/x/liquidvesting/testutils/keeper.go b/x/liquidvesting/testutils/keeper.go index 332a728c..30296e79 100644 --- a/x/liquidvesting/testutils/keeper.go +++ b/x/liquidvesting/testutils/keeper.go @@ -17,20 +17,20 @@ import ( oraclekeeper "github.com/skip-mev/connect/v2/x/oracle/keeper" oracletypes "github.com/skip-mev/connect/v2/x/oracle/types" - "github.com/milkyway-labs/milkyway/v6/testutils/storetesting" - assetskeeper "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/keeper" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingkeeper "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/testutils/storetesting" + assetskeeper "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/keeper" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingkeeper "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type KeeperTestData struct { diff --git a/x/liquidvesting/types/expected_keepers.go b/x/liquidvesting/types/expected_keepers.go index 6ce36487..3a311056 100644 --- a/x/liquidvesting/types/expected_keepers.go +++ b/x/liquidvesting/types/expected_keepers.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) type AccountKeeper interface { diff --git a/x/liquidvesting/types/ibc_hooks_test.go b/x/liquidvesting/types/ibc_hooks_test.go index f236373b..92abe1af 100644 --- a/x/liquidvesting/types/ibc_hooks_test.go +++ b/x/liquidvesting/types/ibc_hooks_test.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/math" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/liquidvesting/types" + "github.com/milkyway-labs/milkyway/v7/x/liquidvesting/types" ) func TestMsgDepositInsurance_Validate(t *testing.T) { diff --git a/x/operators/abci.go b/x/operators/abci.go index 6d31deae..42ef6ca9 100644 --- a/x/operators/abci.go +++ b/x/operators/abci.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // BeginBlocker is called at the beginning of every block. diff --git a/x/operators/abci_test.go b/x/operators/abci_test.go index df70e5ac..ce6470be 100644 --- a/x/operators/abci_test.go +++ b/x/operators/abci_test.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/operators" - "github.com/milkyway-labs/milkyway/v6/x/operators/testutils" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators" + "github.com/milkyway-labs/milkyway/v7/x/operators/testutils" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func TestBeginBlocker(t *testing.T) { diff --git a/x/operators/autocli.go b/x/operators/autocli.go index cc37d882..55c8dd6d 100644 --- a/x/operators/autocli.go +++ b/x/operators/autocli.go @@ -6,8 +6,8 @@ import ( autocliv1 "cosmossdk.io/api/cosmos/autocli/v1" "github.com/cosmos/cosmos-sdk/version" - operatorsv1 "github.com/milkyway-labs/milkyway/v6/api/milkyway/operators/v1" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + operatorsv1 "github.com/milkyway-labs/milkyway/v7/api/milkyway/operators/v1" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // AutoCLIOptions implements the autocli.HasAutoCLIConfig interface. diff --git a/x/operators/client/cli/tx.go b/x/operators/client/cli/tx.go index fab35c2f..007ddf8c 100644 --- a/x/operators/client/cli/tx.go +++ b/x/operators/client/cli/tx.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // GetTxCmd returns a new command to perform operators transactions diff --git a/x/operators/keeper/alias_functions.go b/x/operators/keeper/alias_functions.go index bbc5a06a..ea99378a 100644 --- a/x/operators/keeper/alias_functions.go +++ b/x/operators/keeper/alias_functions.go @@ -11,7 +11,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // createAccountIfNotExists creates an account if it does not exist diff --git a/x/operators/keeper/common_test.go b/x/operators/keeper/common_test.go index bf57e5e4..bdfb1229 100644 --- a/x/operators/keeper/common_test.go +++ b/x/operators/keeper/common_test.go @@ -10,8 +10,8 @@ import ( minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" "github.com/stretchr/testify/suite" - "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - "github.com/milkyway-labs/milkyway/v6/x/operators/testutils" + "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + "github.com/milkyway-labs/milkyway/v7/x/operators/testutils" ) func TestKeeperTestSuite(t *testing.T) { diff --git a/x/operators/keeper/genesis.go b/x/operators/keeper/genesis.go index de733c53..e5837b85 100644 --- a/x/operators/keeper/genesis.go +++ b/x/operators/keeper/genesis.go @@ -7,7 +7,7 @@ import ( errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // ExportGenesis returns the GenesisState associated with the given context diff --git a/x/operators/keeper/genesis_test.go b/x/operators/keeper/genesis_test.go index 3bb21377..35590540 100644 --- a/x/operators/keeper/genesis_test.go +++ b/x/operators/keeper/genesis_test.go @@ -6,7 +6,7 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() { diff --git a/x/operators/keeper/grpc_query.go b/x/operators/keeper/grpc_query.go index e1ac2f16..76ec27e5 100644 --- a/x/operators/keeper/grpc_query.go +++ b/x/operators/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) var _ types.QueryServer = &Keeper{} diff --git a/x/operators/keeper/grpc_query_test.go b/x/operators/keeper/grpc_query_test.go index e8eda04f..f311f01e 100644 --- a/x/operators/keeper/grpc_query_test.go +++ b/x/operators/keeper/grpc_query_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func (suite *KeeperTestSuite) TestQueryServer_Operator() { diff --git a/x/operators/keeper/hooks.go b/x/operators/keeper/hooks.go index d8683174..60d23e1d 100644 --- a/x/operators/keeper/hooks.go +++ b/x/operators/keeper/hooks.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) var _ types.OperatorsHooks = &Keeper{} diff --git a/x/operators/keeper/invariants.go b/x/operators/keeper/invariants.go index 3ef31ea2..d64a6d8e 100644 --- a/x/operators/keeper/invariants.go +++ b/x/operators/keeper/invariants.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // RegisterInvariants registers all operators module invariants diff --git a/x/operators/keeper/invariants_test.go b/x/operators/keeper/invariants_test.go index bbab8df8..44ee6847 100644 --- a/x/operators/keeper/invariants_test.go +++ b/x/operators/keeper/invariants_test.go @@ -3,8 +3,8 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func (suite *KeeperTestSuite) TestValidOperatorsInvariant() { diff --git a/x/operators/keeper/keeper.go b/x/operators/keeper/keeper.go index db0e8dea..3e57557f 100644 --- a/x/operators/keeper/keeper.go +++ b/x/operators/keeper/keeper.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) type Keeper struct { diff --git a/x/operators/keeper/msg_server.go b/x/operators/keeper/msg_server.go index f621f0af..0fe61723 100644 --- a/x/operators/keeper/msg_server.go +++ b/x/operators/keeper/msg_server.go @@ -10,7 +10,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/operators/keeper/msg_server_test.go b/x/operators/keeper/msg_server_test.go index b5825e9d..d7131227 100644 --- a/x/operators/keeper/msg_server_test.go +++ b/x/operators/keeper/msg_server_test.go @@ -9,8 +9,8 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func (suite *KeeperTestSuite) TestMsgServer_RegisterOperator() { diff --git a/x/operators/keeper/operators.go b/x/operators/keeper/operators.go index 693da4d8..6bb6ad78 100644 --- a/x/operators/keeper/operators.go +++ b/x/operators/keeper/operators.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // SetNextOperatorID sets the next operator ID to be used when registering a new Operator diff --git a/x/operators/keeper/operators_test.go b/x/operators/keeper/operators_test.go index 16c66c28..861c2b6a 100644 --- a/x/operators/keeper/operators_test.go +++ b/x/operators/keeper/operators_test.go @@ -7,7 +7,7 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func (suite *KeeperTestSuite) TestKeeper_SetNextOperatorID() { diff --git a/x/operators/keeper/params.go b/x/operators/keeper/params.go index 49d25a26..035682a7 100644 --- a/x/operators/keeper/params.go +++ b/x/operators/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // SetParams sets module parameters diff --git a/x/operators/keeper/params_test.go b/x/operators/keeper/params_test.go index a6484dbe..3f2a3252 100644 --- a/x/operators/keeper/params_test.go +++ b/x/operators/keeper/params_test.go @@ -6,7 +6,7 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func (suite *KeeperTestSuite) TestKeeper_SetParams() { diff --git a/x/operators/module.go b/x/operators/module.go index 2e385a84..51da8490 100644 --- a/x/operators/module.go +++ b/x/operators/module.go @@ -21,10 +21,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/milkyway-labs/milkyway/v6/x/operators/client/cli" - "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - "github.com/milkyway-labs/milkyway/v6/x/operators/simulation" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/client/cli" + "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + "github.com/milkyway-labs/milkyway/v7/x/operators/simulation" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) const ( diff --git a/x/operators/simulation/decoder.go b/x/operators/simulation/decoder.go index 9832e14d..e7165770 100644 --- a/x/operators/simulation/decoder.go +++ b/x/operators/simulation/decoder.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/kv" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/operators/simulation/genesis.go b/x/operators/simulation/genesis.go index a6eace88..4920443d 100644 --- a/x/operators/simulation/genesis.go +++ b/x/operators/simulation/genesis.go @@ -3,9 +3,9 @@ package simulation import ( "github.com/cosmos/cosmos-sdk/types/module" - "github.com/milkyway-labs/milkyway/v6/testutils/simtesting" - "github.com/milkyway-labs/milkyway/v6/utils" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/testutils/simtesting" + "github.com/milkyway-labs/milkyway/v7/utils" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // RandomizedGenState generates a random GenesisState for the operators module diff --git a/x/operators/simulation/msg_factory.go b/x/operators/simulation/msg_factory.go index abc56c95..8bab7943 100644 --- a/x/operators/simulation/msg_factory.go +++ b/x/operators/simulation/msg_factory.go @@ -10,9 +10,9 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/milkyway-labs/milkyway/v6/testutils/simtesting" - "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/testutils/simtesting" + "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // Simulation operation weights constants diff --git a/x/operators/simulation/proposals.go b/x/operators/simulation/proposals.go index 9e3fd483..b5645506 100644 --- a/x/operators/simulation/proposals.go +++ b/x/operators/simulation/proposals.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/simulation" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) const ( diff --git a/x/operators/simulation/utils.go b/x/operators/simulation/utils.go index ad2d4b98..40066cb5 100644 --- a/x/operators/simulation/utils.go +++ b/x/operators/simulation/utils.go @@ -9,10 +9,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/milkyway-labs/milkyway/v6/testutils/simtesting" - "github.com/milkyway-labs/milkyway/v6/utils" - "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/testutils/simtesting" + "github.com/milkyway-labs/milkyway/v7/utils" + "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) // RandomOperator returns a random operator diff --git a/x/operators/testutils/hooks_mocks.go b/x/operators/testutils/hooks_mocks.go index 5eb8d2f8..81902162 100644 --- a/x/operators/testutils/hooks_mocks.go +++ b/x/operators/testutils/hooks_mocks.go @@ -3,7 +3,7 @@ package testutils import ( "context" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) var _ types.OperatorsHooks = &MockHooks{} diff --git a/x/operators/testutils/keeper.go b/x/operators/testutils/keeper.go index e9c2d228..c14c71ce 100644 --- a/x/operators/testutils/keeper.go +++ b/x/operators/testutils/keeper.go @@ -8,9 +8,9 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/milkyway-labs/milkyway/v6/testutils/storetesting" - "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/testutils/storetesting" + "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) type KeeperTestData struct { diff --git a/x/operators/types/genesis.go b/x/operators/types/genesis.go index 32c2f663..c80e5ae2 100644 --- a/x/operators/types/genesis.go +++ b/x/operators/types/genesis.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) func NewGenesisState( diff --git a/x/operators/types/genesis_test.go b/x/operators/types/genesis_test.go index c40baa4f..3b025d44 100644 --- a/x/operators/types/genesis_test.go +++ b/x/operators/types/genesis_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/operators/types/keys_test.go b/x/operators/types/keys_test.go index 0a3c8868..5467ab5c 100644 --- a/x/operators/types/keys_test.go +++ b/x/operators/types/keys_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func TestSplitInactivatingOperatorQueueKey(t *testing.T) { diff --git a/x/operators/types/messages_test.go b/x/operators/types/messages_test.go index 084aaa42..e9224e5e 100644 --- a/x/operators/types/messages_test.go +++ b/x/operators/types/messages_test.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) var msgRegisterOperator = types.NewMsgRegisterOperator( diff --git a/x/operators/types/models.go b/x/operators/types/models.go index 7f27b69c..30ca6cf5 100644 --- a/x/operators/types/models.go +++ b/x/operators/types/models.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) // GetOperatorAddress generates an operator address from its id diff --git a/x/operators/types/models_test.go b/x/operators/types/models_test.go index dac6e78f..aa19bc09 100644 --- a/x/operators/types/models_test.go +++ b/x/operators/types/models_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func TestParseOperatorID(t *testing.T) { diff --git a/x/operators/types/params_test.go b/x/operators/types/params_test.go index 720ddacd..1ce60c83 100644 --- a/x/operators/types/params_test.go +++ b/x/operators/types/params_test.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/operators/types" ) func TestParams_Validate(t *testing.T) { diff --git a/x/pools/client/cli/query.go b/x/pools/client/cli/query.go index 36747395..f6d6006c 100644 --- a/x/pools/client/cli/query.go +++ b/x/pools/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) // GetQueryCmd returns the command allowing to perform queries diff --git a/x/pools/keeper/alias_functions.go b/x/pools/keeper/alias_functions.go index 530378b5..3de30a44 100644 --- a/x/pools/keeper/alias_functions.go +++ b/x/pools/keeper/alias_functions.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) // createAccountIfNotExists creates an account if it does not exist diff --git a/x/pools/keeper/alias_functions_test.go b/x/pools/keeper/alias_functions_test.go index 3db0d5fb..902db077 100644 --- a/x/pools/keeper/alias_functions_test.go +++ b/x/pools/keeper/alias_functions_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) func (suite *KeeperTestSuite) TestKeeper_GetPoolForDenom() { diff --git a/x/pools/keeper/common_test.go b/x/pools/keeper/common_test.go index 9806448e..f9e5dae9 100644 --- a/x/pools/keeper/common_test.go +++ b/x/pools/keeper/common_test.go @@ -21,9 +21,9 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/suite" - milkyway "github.com/milkyway-labs/milkyway/v6/app" - "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + milkyway "github.com/milkyway-labs/milkyway/v7/app" + "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) func TestKeeperTestSuite(t *testing.T) { diff --git a/x/pools/keeper/genesis.go b/x/pools/keeper/genesis.go index 76418748..caf0936f 100644 --- a/x/pools/keeper/genesis.go +++ b/x/pools/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) // ExportGenesis returns a new GenesisState instance containing the information currently present inside the store diff --git a/x/pools/keeper/genesis_test.go b/x/pools/keeper/genesis_test.go index 1e0b7849..f3ace035 100644 --- a/x/pools/keeper/genesis_test.go +++ b/x/pools/keeper/genesis_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() { diff --git a/x/pools/keeper/grpc_query.go b/x/pools/keeper/grpc_query.go index 0d37cbc8..1140f7f7 100644 --- a/x/pools/keeper/grpc_query.go +++ b/x/pools/keeper/grpc_query.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) var _ types.QueryServer = &Keeper{} diff --git a/x/pools/keeper/grpc_query_test.go b/x/pools/keeper/grpc_query_test.go index 13677ea8..49def27c 100644 --- a/x/pools/keeper/grpc_query_test.go +++ b/x/pools/keeper/grpc_query_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) func (suite *KeeperTestSuite) TestQueryServer_PoolByID() { diff --git a/x/pools/keeper/hooks.go b/x/pools/keeper/hooks.go index db1b8af5..38e4cfd7 100644 --- a/x/pools/keeper/hooks.go +++ b/x/pools/keeper/hooks.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) var _ types.PoolsHooks = &Keeper{} diff --git a/x/pools/keeper/invariants.go b/x/pools/keeper/invariants.go index 41c71c0b..b89d4c0a 100644 --- a/x/pools/keeper/invariants.go +++ b/x/pools/keeper/invariants.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/utils" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/utils" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) // RegisterInvariants registers all pools module invariants diff --git a/x/pools/keeper/invariants_test.go b/x/pools/keeper/invariants_test.go index 320b3888..888a4deb 100644 --- a/x/pools/keeper/invariants_test.go +++ b/x/pools/keeper/invariants_test.go @@ -3,8 +3,8 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) func (suite *KeeperTestSuite) TestValidPoolsInvariant() { diff --git a/x/pools/keeper/keeper.go b/x/pools/keeper/keeper.go index defb3ec6..c6c82fa6 100644 --- a/x/pools/keeper/keeper.go +++ b/x/pools/keeper/keeper.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) type Keeper struct { diff --git a/x/pools/keeper/pools.go b/x/pools/keeper/pools.go index 066f2eae..da4be6f3 100644 --- a/x/pools/keeper/pools.go +++ b/x/pools/keeper/pools.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) // SetNextPoolID sets the next pool ID to be used when registering a new Pool diff --git a/x/pools/keeper/pools_test.go b/x/pools/keeper/pools_test.go index d298cb69..b8ba120c 100644 --- a/x/pools/keeper/pools_test.go +++ b/x/pools/keeper/pools_test.go @@ -4,7 +4,7 @@ import ( "cosmossdk.io/collections" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) func (suite *KeeperTestSuite) TestKeeper_SetNextPoolID() { diff --git a/x/pools/module.go b/x/pools/module.go index 45ff1be3..9acccefc 100644 --- a/x/pools/module.go +++ b/x/pools/module.go @@ -17,10 +17,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/milkyway-labs/milkyway/v6/x/pools/client/cli" + "github.com/milkyway-labs/milkyway/v7/x/pools/client/cli" - "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) const ( diff --git a/x/pools/simulation/genesis.go b/x/pools/simulation/genesis.go index 4955385e..dcff80b5 100644 --- a/x/pools/simulation/genesis.go +++ b/x/pools/simulation/genesis.go @@ -3,7 +3,7 @@ package simulation import ( "github.com/cosmos/cosmos-sdk/types/module" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) // GetGenesisState returns the pools genesis state from the SimulationState diff --git a/x/pools/simulation/utils.go b/x/pools/simulation/utils.go index b0a881e3..eb1fcfa8 100644 --- a/x/pools/simulation/utils.go +++ b/x/pools/simulation/utils.go @@ -5,9 +5,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/utils" - "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/utils" + "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) // GetRandomExistingPool returns a random existing pool diff --git a/x/pools/types/genesis_test.go b/x/pools/types/genesis_test.go index 2ade4dde..ea50f396 100644 --- a/x/pools/types/genesis_test.go +++ b/x/pools/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) func TestGenesis_Validate(t *testing.T) { diff --git a/x/pools/types/models.go b/x/pools/types/models.go index e073d736..d94940ad 100644 --- a/x/pools/types/models.go +++ b/x/pools/types/models.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) // GetPoolAddress generates a pool address from its id diff --git a/x/pools/types/models_test.go b/x/pools/types/models_test.go index 20357d6e..7b8a2619 100644 --- a/x/pools/types/models_test.go +++ b/x/pools/types/models_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/pools/types" ) func TestPool_Validate(t *testing.T) { diff --git a/x/restaking/abci.go b/x/restaking/abci.go index 0c787a78..62b1e1c8 100644 --- a/x/restaking/abci.go +++ b/x/restaking/abci.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // EndBlocker is called every block and is responsible for maturing unbonding delegations diff --git a/x/restaking/client/cli/query.go b/x/restaking/client/cli/query.go index 5289ee9b..1ef9f019 100644 --- a/x/restaking/client/cli/query.go +++ b/x/restaking/client/cli/query.go @@ -8,10 +8,10 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // GetQueryCmd returns the command allowing to perform queries diff --git a/x/restaking/client/cli/tx.go b/x/restaking/client/cli/tx.go index 4f8a6eb0..4c33340c 100644 --- a/x/restaking/client/cli/tx.go +++ b/x/restaking/client/cli/tx.go @@ -10,11 +10,11 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/milkyway-labs/milkyway/v6/utils" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/utils" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // GetTxCmd returns a new command to perform restaking transactions diff --git a/x/restaking/keeper/alias_functions.go b/x/restaking/keeper/alias_functions.go index 15f78d21..aaff690c 100644 --- a/x/restaking/keeper/alias_functions.go +++ b/x/restaking/keeper/alias_functions.go @@ -13,11 +13,11 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/utils" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/utils" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // -------------------------------------------------------------------------------------------------------------------- diff --git a/x/restaking/keeper/alias_functions_test.go b/x/restaking/keeper/alias_functions_test.go index 2523fbbb..0b64eb6a 100644 --- a/x/restaking/keeper/alias_functions_test.go +++ b/x/restaking/keeper/alias_functions_test.go @@ -6,13 +6,13 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func (suite *KeeperTestSuite) TestKeeper_GetAllOperatorsJoinedServicesRecord() { diff --git a/x/restaking/keeper/common_test.go b/x/restaking/keeper/common_test.go index e13282e7..44d5d802 100644 --- a/x/restaking/keeper/common_test.go +++ b/x/restaking/keeper/common_test.go @@ -17,14 +17,14 @@ import ( oracletypes "github.com/skip-mev/connect/v2/x/oracle/types" "github.com/stretchr/testify/suite" - assetskeeper "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/testutils" - rewardstypes "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" + assetskeeper "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/testutils" + rewardstypes "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" ) func TestKeeperTestSuite(t *testing.T) { diff --git a/x/restaking/keeper/end_blocker.go b/x/restaking/keeper/end_blocker.go index 36d04ef3..b60edbec 100644 --- a/x/restaking/keeper/end_blocker.go +++ b/x/restaking/keeper/end_blocker.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // CompleteMatureUnbondingDelegations runs the endblocker logic for delegations diff --git a/x/restaking/keeper/end_blocker_test.go b/x/restaking/keeper/end_blocker_test.go index 18a527a0..1fafa116 100644 --- a/x/restaking/keeper/end_blocker_test.go +++ b/x/restaking/keeper/end_blocker_test.go @@ -6,10 +6,10 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestKeeper_CompleteMatureUnbondingDelegations() { diff --git a/x/restaking/keeper/genesis.go b/x/restaking/keeper/genesis.go index abafd69c..8e9a9d88 100644 --- a/x/restaking/keeper/genesis.go +++ b/x/restaking/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // ExportGenesis returns a new GenesisState instance containing the information currently present inside the store diff --git a/x/restaking/keeper/genesis_test.go b/x/restaking/keeper/genesis_test.go index bde2c537..07c1d023 100644 --- a/x/restaking/keeper/genesis_test.go +++ b/x/restaking/keeper/genesis_test.go @@ -6,7 +6,7 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() { diff --git a/x/restaking/keeper/grpc_query.go b/x/restaking/keeper/grpc_query.go index 42b97e3e..4ec5a028 100644 --- a/x/restaking/keeper/grpc_query.go +++ b/x/restaking/keeper/grpc_query.go @@ -11,10 +11,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type Querier struct { diff --git a/x/restaking/keeper/grpc_query_test.go b/x/restaking/keeper/grpc_query_test.go index ffdc3006..68b2ed2e 100644 --- a/x/restaking/keeper/grpc_query_test.go +++ b/x/restaking/keeper/grpc_query_test.go @@ -7,11 +7,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestQuerier_OperatorJoinedServices() { diff --git a/x/restaking/keeper/hooks.go b/x/restaking/keeper/hooks.go index 059b46fa..5cbe427c 100644 --- a/x/restaking/keeper/hooks.go +++ b/x/restaking/keeper/hooks.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) var _ types.RestakingHooks = &Keeper{} diff --git a/x/restaking/keeper/invariants.go b/x/restaking/keeper/invariants.go index ce0773ad..e751f8e3 100644 --- a/x/restaking/keeper/invariants.go +++ b/x/restaking/keeper/invariants.go @@ -7,10 +7,10 @@ import ( "cosmossdk.io/collections" sdk "github.com/cosmos/cosmos-sdk/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func RegisterInvariants(ir sdk.InvariantRegistry, k *Keeper) { diff --git a/x/restaking/keeper/keeper.go b/x/restaking/keeper/keeper.go index 856bdf44..35d0e511 100644 --- a/x/restaking/keeper/keeper.go +++ b/x/restaking/keeper/keeper.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) type Keeper struct { diff --git a/x/restaking/keeper/msg_server.go b/x/restaking/keeper/msg_server.go index 3339cb7e..925be6f7 100644 --- a/x/restaking/keeper/msg_server.go +++ b/x/restaking/keeper/msg_server.go @@ -13,10 +13,10 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/hashicorp/go-metrics" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/restaking/keeper/msg_server_test.go b/x/restaking/keeper/msg_server_test.go index 00262ec0..49a69002 100644 --- a/x/restaking/keeper/msg_server_test.go +++ b/x/restaking/keeper/msg_server_test.go @@ -7,11 +7,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestMsgServer_JoinService() { diff --git a/x/restaking/keeper/operator_restaking.go b/x/restaking/keeper/operator_restaking.go index f0b0a940..e91692cd 100644 --- a/x/restaking/keeper/operator_restaking.go +++ b/x/restaking/keeper/operator_restaking.go @@ -9,8 +9,8 @@ import ( "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // AddServiceToOperatorJoinedServices adds the given service to the list of services joined by diff --git a/x/restaking/keeper/operator_restaking_test.go b/x/restaking/keeper/operator_restaking_test.go index afeca167..671f92b8 100644 --- a/x/restaking/keeper/operator_restaking_test.go +++ b/x/restaking/keeper/operator_restaking_test.go @@ -4,8 +4,8 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func (suite *KeeperTestSuite) TestKeeper_SaveOperatorDelegation() { diff --git a/x/restaking/keeper/operators_hooks.go b/x/restaking/keeper/operators_hooks.go index dabb8b6d..dce3cf73 100644 --- a/x/restaking/keeper/operators_hooks.go +++ b/x/restaking/keeper/operators_hooks.go @@ -7,8 +7,8 @@ import ( "cosmossdk.io/collections" errorsmod "cosmossdk.io/errors" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) var _ operatorstypes.OperatorsHooks = &OperatorsHooks{} diff --git a/x/restaking/keeper/operators_hooks_test.go b/x/restaking/keeper/operators_hooks_test.go index 202a80ea..04a2ec0e 100644 --- a/x/restaking/keeper/operators_hooks_test.go +++ b/x/restaking/keeper/operators_hooks_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestOperatorHooks_BeforeOperatorDeleted() { diff --git a/x/restaking/keeper/oracle.go b/x/restaking/keeper/oracle.go index 4317871e..7a33bd6b 100644 --- a/x/restaking/keeper/oracle.go +++ b/x/restaking/keeper/oracle.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" connecttypes "github.com/skip-mev/connect/v2/pkg/types" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) // These code snippets are copied from x/rewards/keeper/oracle.go diff --git a/x/restaking/keeper/oracle_test.go b/x/restaking/keeper/oracle_test.go index 0220687c..0909d88f 100644 --- a/x/restaking/keeper/oracle_test.go +++ b/x/restaking/keeper/oracle_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) func (suite *KeeperTestSuite) TestGetAssetAndPrice() { diff --git a/x/restaking/keeper/params.go b/x/restaking/keeper/params.go index d6c1ae75..7bfa9041 100644 --- a/x/restaking/keeper/params.go +++ b/x/restaking/keeper/params.go @@ -7,7 +7,7 @@ import ( "cosmossdk.io/math" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // UnbondingTime returns the unbonding time. diff --git a/x/restaking/keeper/pool_restaking.go b/x/restaking/keeper/pool_restaking.go index d959d5f9..f0e3c31b 100644 --- a/x/restaking/keeper/pool_restaking.go +++ b/x/restaking/keeper/pool_restaking.go @@ -7,8 +7,8 @@ import ( "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // GetPoolDelegation retrieves the delegation for the given user and pool diff --git a/x/restaking/keeper/pool_restaking_test.go b/x/restaking/keeper/pool_restaking_test.go index b5ba8e88..ef9efab3 100644 --- a/x/restaking/keeper/pool_restaking_test.go +++ b/x/restaking/keeper/pool_restaking_test.go @@ -4,8 +4,8 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func (suite *KeeperTestSuite) TestKeeper_SavePoolDelegation() { diff --git a/x/restaking/keeper/restake_restriction.go b/x/restaking/keeper/restake_restriction.go index 205ab272..d9220dc1 100644 --- a/x/restaking/keeper/restake_restriction.go +++ b/x/restaking/keeper/restake_restriction.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // SetRestakeRestriction sets a function that checks if a restake operation is allowed. diff --git a/x/restaking/keeper/restake_restriction_test.go b/x/restaking/keeper/restake_restriction_test.go index 0633d545..e6550bac 100644 --- a/x/restaking/keeper/restake_restriction_test.go +++ b/x/restaking/keeper/restake_restriction_test.go @@ -4,11 +4,11 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/app/testutil" - "github.com/milkyway-labs/milkyway/v6/utils" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/app/testutil" + "github.com/milkyway-labs/milkyway/v7/utils" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestKeeper_ValidateRestakeRestakingCap() { diff --git a/x/restaking/keeper/service_restaking.go b/x/restaking/keeper/service_restaking.go index 69e6f88a..7b0eda8b 100644 --- a/x/restaking/keeper/service_restaking.go +++ b/x/restaking/keeper/service_restaking.go @@ -9,9 +9,9 @@ import ( "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/utils" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/utils" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // ServiceAllowedOperatorsIterator returns an iterator that iterates over all diff --git a/x/restaking/keeper/service_restaking_test.go b/x/restaking/keeper/service_restaking_test.go index 487f8650..8a485b2a 100644 --- a/x/restaking/keeper/service_restaking_test.go +++ b/x/restaking/keeper/service_restaking_test.go @@ -4,8 +4,8 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // -------------------------------------------------------------------------------------------------------------------- diff --git a/x/restaking/keeper/services_hooks.go b/x/restaking/keeper/services_hooks.go index 6fe7d7a9..0d4242a5 100644 --- a/x/restaking/keeper/services_hooks.go +++ b/x/restaking/keeper/services_hooks.go @@ -5,7 +5,7 @@ import ( "cosmossdk.io/collections" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type ServicesHooks struct { diff --git a/x/restaking/keeper/unbond.go b/x/restaking/keeper/unbond.go index e5084daa..7f10fb3f 100644 --- a/x/restaking/keeper/unbond.go +++ b/x/restaking/keeper/unbond.go @@ -9,11 +9,11 @@ import ( storetypes "cosmossdk.io/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/utils" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/utils" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // IncrementUnbondingID increments and returns a unique ID for an unbonding operation diff --git a/x/restaking/keeper/user_preferences.go b/x/restaking/keeper/user_preferences.go index 61dbfc62..adc8ec3d 100644 --- a/x/restaking/keeper/user_preferences.go +++ b/x/restaking/keeper/user_preferences.go @@ -8,7 +8,7 @@ import ( cosmoserrors "cosmossdk.io/errors" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // SetUserPreferences sets the given preferences for the user having the given address diff --git a/x/restaking/keeper/user_preferences_test.go b/x/restaking/keeper/user_preferences_test.go index 845bbe7b..c6d9f2c6 100644 --- a/x/restaking/keeper/user_preferences_test.go +++ b/x/restaking/keeper/user_preferences_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func (suite *KeeperTestSuite) TestKeeper_SetUserPreferences() { diff --git a/x/restaking/module.go b/x/restaking/module.go index 1b5a29f3..377afc1f 100644 --- a/x/restaking/module.go +++ b/x/restaking/module.go @@ -18,13 +18,13 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/client/cli" - "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/simulation" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/client/cli" + "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/simulation" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" ) const ( diff --git a/x/restaking/simulation/decoder.go b/x/restaking/simulation/decoder.go index b8912a5e..f66118b4 100644 --- a/x/restaking/simulation/decoder.go +++ b/x/restaking/simulation/decoder.go @@ -9,8 +9,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/kv" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/restaking/simulation/genesis.go b/x/restaking/simulation/genesis.go index 5e67aaba..c71f0cc4 100644 --- a/x/restaking/simulation/genesis.go +++ b/x/restaking/simulation/genesis.go @@ -3,10 +3,10 @@ package simulation import ( "github.com/cosmos/cosmos-sdk/types/module" - operatorssimulation "github.com/milkyway-labs/milkyway/v6/x/operators/simulation" - poolssimulation "github.com/milkyway-labs/milkyway/v6/x/pools/simulation" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicessimulation "github.com/milkyway-labs/milkyway/v6/x/services/simulation" + operatorssimulation "github.com/milkyway-labs/milkyway/v7/x/operators/simulation" + poolssimulation "github.com/milkyway-labs/milkyway/v7/x/pools/simulation" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicessimulation "github.com/milkyway-labs/milkyway/v7/x/services/simulation" ) // RandomizedGenState generates a random GenesisState for the restaking module diff --git a/x/restaking/simulation/msg_factory.go b/x/restaking/simulation/msg_factory.go index e21ebd50..478b075d 100644 --- a/x/restaking/simulation/msg_factory.go +++ b/x/restaking/simulation/msg_factory.go @@ -11,17 +11,17 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/milkyway-labs/milkyway/v6/testutils/simtesting" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - operatorssimulation "github.com/milkyway-labs/milkyway/v6/x/operators/simulation" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - poolssimulation "github.com/milkyway-labs/milkyway/v6/x/pools/simulation" - "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - servicessimulation "github.com/milkyway-labs/milkyway/v6/x/services/simulation" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/testutils/simtesting" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + operatorssimulation "github.com/milkyway-labs/milkyway/v7/x/operators/simulation" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + poolssimulation "github.com/milkyway-labs/milkyway/v7/x/pools/simulation" + "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + servicessimulation "github.com/milkyway-labs/milkyway/v7/x/services/simulation" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // Simulation operation weights constants diff --git a/x/restaking/simulation/proposals.go b/x/restaking/simulation/proposals.go index d3b449cb..65ce9fac 100644 --- a/x/restaking/simulation/proposals.go +++ b/x/restaking/simulation/proposals.go @@ -9,8 +9,8 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // Simulation operation weights constants diff --git a/x/restaking/simulation/utils.go b/x/restaking/simulation/utils.go index 762f9f9a..b288a4ac 100644 --- a/x/restaking/simulation/utils.go +++ b/x/restaking/simulation/utils.go @@ -8,13 +8,13 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/milkyway-labs/milkyway/v6/testutils/simtesting" - "github.com/milkyway-labs/milkyway/v6/utils" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/testutils/simtesting" + "github.com/milkyway-labs/milkyway/v7/utils" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func RandomOperatorJoinedServices( diff --git a/x/restaking/testutils/hooks_mocks.go b/x/restaking/testutils/hooks_mocks.go index ef694aaa..74eb46c9 100644 --- a/x/restaking/testutils/hooks_mocks.go +++ b/x/restaking/testutils/hooks_mocks.go @@ -3,7 +3,7 @@ package testutils import ( "context" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) var _ types.RestakingHooks = &MockHooks{} diff --git a/x/restaking/testutils/keeper.go b/x/restaking/testutils/keeper.go index 4a3e18bf..aa2d3f82 100644 --- a/x/restaking/testutils/keeper.go +++ b/x/restaking/testutils/keeper.go @@ -13,17 +13,17 @@ import ( oraclekeeper "github.com/skip-mev/connect/v2/x/oracle/keeper" oracletypes "github.com/skip-mev/connect/v2/x/oracle/types" - "github.com/milkyway-labs/milkyway/v6/testutils/storetesting" - assetskeeper "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/testutils/storetesting" + assetskeeper "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type KeeperTestData struct { diff --git a/x/restaking/types/expected_keepers.go b/x/restaking/types/expected_keepers.go index be27fe28..e320a805 100644 --- a/x/restaking/types/expected_keepers.go +++ b/x/restaking/types/expected_keepers.go @@ -8,10 +8,10 @@ import ( connecttypes "github.com/skip-mev/connect/v2/pkg/types" oracletypes "github.com/skip-mev/connect/v2/x/oracle/types" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type AccountKeeper interface { diff --git a/x/restaking/types/genesis.go b/x/restaking/types/genesis.go index 665a0f08..8baebb25 100644 --- a/x/restaking/types/genesis.go +++ b/x/restaking/types/genesis.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) // NewGenesis creates a new genesis state diff --git a/x/restaking/types/genesis_test.go b/x/restaking/types/genesis_test.go index a0a9f2cf..7607e8c9 100644 --- a/x/restaking/types/genesis_test.go +++ b/x/restaking/types/genesis_test.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func TestGenesis_Validate(t *testing.T) { diff --git a/x/restaking/types/keys.go b/x/restaking/types/keys.go index 1ce49f4f..bebc7459 100644 --- a/x/restaking/types/keys.go +++ b/x/restaking/types/keys.go @@ -5,9 +5,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) const ( diff --git a/x/restaking/types/messages_test.go b/x/restaking/types/messages_test.go index 50d0343c..40a27791 100644 --- a/x/restaking/types/messages_test.go +++ b/x/restaking/types/messages_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) var msgUpdateOperatorParams = types.NewMsgJoinService(1, 1, "cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd") diff --git a/x/restaking/types/models.go b/x/restaking/types/models.go index 93944098..cc1452f9 100644 --- a/x/restaking/types/models.go +++ b/x/restaking/types/models.go @@ -9,9 +9,9 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // -------------------------------------------------------------------------------------------------------------------- diff --git a/x/restaking/types/models_test.go b/x/restaking/types/models_test.go index 4eb648a3..cf0772ad 100644 --- a/x/restaking/types/models_test.go +++ b/x/restaking/types/models_test.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func TestPoolDelegation_Validate(t *testing.T) { diff --git a/x/restaking/types/params_test.go b/x/restaking/types/params_test.go index 03464fe0..49013651 100644 --- a/x/restaking/types/params_test.go +++ b/x/restaking/types/params_test.go @@ -7,7 +7,7 @@ import ( "cosmossdk.io/math" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) func TestParams_Validate(t *testing.T) { diff --git a/x/restaking/types/query.pb.go b/x/restaking/types/query.pb.go index 73126746..3eca53ec 100644 --- a/x/restaking/types/query.pb.go +++ b/x/restaking/types/query.pb.go @@ -12,9 +12,9 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - types "github.com/milkyway-labs/milkyway/v6/x/operators/types" - types1 "github.com/milkyway-labs/milkyway/v6/x/pools/types" - types2 "github.com/milkyway-labs/milkyway/v6/x/services/types" + types "github.com/milkyway-labs/milkyway/v7/x/operators/types" + types1 "github.com/milkyway-labs/milkyway/v7/x/pools/types" + types2 "github.com/milkyway-labs/milkyway/v7/x/services/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/rewards/autocli.go b/x/rewards/autocli.go index 4e2b4588..f6e4d60c 100644 --- a/x/rewards/autocli.go +++ b/x/rewards/autocli.go @@ -6,7 +6,7 @@ import ( autocliv1 "cosmossdk.io/api/cosmos/autocli/v1" "github.com/cosmos/cosmos-sdk/version" - rewardsv1 "github.com/milkyway-labs/milkyway/v6/api/milkyway/rewards/v1" + rewardsv1 "github.com/milkyway-labs/milkyway/v7/api/milkyway/rewards/v1" ) // AutoCLIOptions implements the autocli.HasAutoCLIConfig interface. diff --git a/x/rewards/client/cli/tx.go b/x/rewards/client/cli/tx.go index a60a9a81..7b564715 100644 --- a/x/rewards/client/cli/tx.go +++ b/x/rewards/client/cli/tx.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) // GetTxCmd returns a new command to perform operators transactions diff --git a/x/rewards/client/cli/utils.go b/x/rewards/client/cli/utils.go index ddb2c13e..fd60bbed 100644 --- a/x/rewards/client/cli/utils.go +++ b/x/rewards/client/cli/utils.go @@ -10,8 +10,8 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) type rewardsPlanJSON struct { diff --git a/x/rewards/client/cli/utils_test.go b/x/rewards/client/cli/utils_test.go index 23148013..d6e72a0a 100644 --- a/x/rewards/client/cli/utils_test.go +++ b/x/rewards/client/cli/utils_test.go @@ -10,9 +10,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - milkywayapp "github.com/milkyway-labs/milkyway/v6/app" - "github.com/milkyway-labs/milkyway/v6/x/rewards/client/cli" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + milkywayapp "github.com/milkyway-labs/milkyway/v7/app" + "github.com/milkyway-labs/milkyway/v7/x/rewards/client/cli" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) func TestCLIUtils_parseRewardsPlan(t *testing.T) { diff --git a/x/rewards/keeper/alias_functions.go b/x/rewards/keeper/alias_functions.go index 82c9b4ea..ac98b266 100644 --- a/x/rewards/keeper/alias_functions.go +++ b/x/rewards/keeper/alias_functions.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) // DeleteHistoricalRewards deletes all historical rewards for a target diff --git a/x/rewards/keeper/allocation.go b/x/rewards/keeper/allocation.go index 7062519a..b2cc37c8 100644 --- a/x/rewards/keeper/allocation.go +++ b/x/rewards/keeper/allocation.go @@ -13,12 +13,12 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" gogotypes "github.com/cosmos/gogoproto/types" - "github.com/milkyway-labs/milkyway/v6/utils" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/utils" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // DistributionInfo stores information about a delegation target and its diff --git a/x/rewards/keeper/allocation_test.go b/x/rewards/keeper/allocation_test.go index 49afcd68..bb096e55 100644 --- a/x/rewards/keeper/allocation_test.go +++ b/x/rewards/keeper/allocation_test.go @@ -3,11 +3,11 @@ package keeper_test import ( "time" - "github.com/milkyway-labs/milkyway/v6/app/testutil" - "github.com/milkyway-labs/milkyway/v6/utils" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/app/testutil" + "github.com/milkyway-labs/milkyway/v7/utils" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) func (suite *KeeperTestSuite) TestAllocateRewards_InactivePlan() { diff --git a/x/rewards/keeper/common_test.go b/x/rewards/keeper/common_test.go index 2cabdd6b..69f18673 100644 --- a/x/rewards/keeper/common_test.go +++ b/x/rewards/keeper/common_test.go @@ -18,20 +18,20 @@ import ( oracletypes "github.com/skip-mev/connect/v2/x/oracle/types" "github.com/stretchr/testify/suite" - "github.com/milkyway-labs/milkyway/v6/app/testutil" - "github.com/milkyway-labs/milkyway/v6/utils" - assetskeeper "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - restakingkeeper "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - "github.com/milkyway-labs/milkyway/v6/x/rewards/testutils" - rewardstypes "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/app/testutil" + "github.com/milkyway-labs/milkyway/v7/utils" + assetskeeper "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + restakingkeeper "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + "github.com/milkyway-labs/milkyway/v7/x/rewards/testutils" + rewardstypes "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type KeeperTestSuite struct { diff --git a/x/rewards/keeper/delegation.go b/x/rewards/keeper/delegation.go index be01d0c1..13768d49 100644 --- a/x/rewards/keeper/delegation.go +++ b/x/rewards/keeper/delegation.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) // initializeDelegation initializes a delegation for a target diff --git a/x/rewards/keeper/genesis.go b/x/rewards/keeper/genesis.go index 5b215583..9bc6a15e 100644 --- a/x/rewards/keeper/genesis.go +++ b/x/rewards/keeper/genesis.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/collections" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) // ExportGenesis returns the GenesisState associated with the given context diff --git a/x/rewards/keeper/grpc_query.go b/x/rewards/keeper/grpc_query.go index cda6e05c..05bd9ec6 100644 --- a/x/rewards/keeper/grpc_query.go +++ b/x/rewards/keeper/grpc_query.go @@ -10,8 +10,8 @@ import ( "cosmossdk.io/errors" "github.com/cosmos/cosmos-sdk/types/query" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) var _ types.QueryServer = queryServer{} diff --git a/x/rewards/keeper/grpc_query_test.go b/x/rewards/keeper/grpc_query_test.go index 0b82956e..ca250178 100644 --- a/x/rewards/keeper/grpc_query_test.go +++ b/x/rewards/keeper/grpc_query_test.go @@ -6,11 +6,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/milkyway-labs/milkyway/v6/app/testutil" - "github.com/milkyway-labs/milkyway/v6/utils" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/app/testutil" + "github.com/milkyway-labs/milkyway/v7/utils" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) func (suite *KeeperTestSuite) TestQuerier_RewardsPlans() { diff --git a/x/rewards/keeper/hooks.go b/x/rewards/keeper/hooks.go index e39aec65..43284422 100644 --- a/x/rewards/keeper/hooks.go +++ b/x/rewards/keeper/hooks.go @@ -7,8 +7,8 @@ import ( "cosmossdk.io/collections" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // AfterDelegationTargetCreated is called after a delegation target is created diff --git a/x/rewards/keeper/invariants.go b/x/rewards/keeper/invariants.go index 8afc9736..ccad6a05 100644 --- a/x/rewards/keeper/invariants.go +++ b/x/rewards/keeper/invariants.go @@ -7,11 +7,11 @@ import ( "cosmossdk.io/collections" sdk "github.com/cosmos/cosmos-sdk/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // RegisterInvariants registers all module invariants diff --git a/x/rewards/keeper/invariants_test.go b/x/rewards/keeper/invariants_test.go index f9ebaae6..f6aa3aaf 100644 --- a/x/rewards/keeper/invariants_test.go +++ b/x/rewards/keeper/invariants_test.go @@ -4,11 +4,11 @@ import ( "cosmossdk.io/collections" sdk "github.com/cosmos/cosmos-sdk/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestInvariants_ReferenceCountInvariant() { diff --git a/x/rewards/keeper/keeper.go b/x/rewards/keeper/keeper.go index 0c6c1d95..f5501415 100644 --- a/x/rewards/keeper/keeper.go +++ b/x/rewards/keeper/keeper.go @@ -12,7 +12,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" gogotypes "github.com/cosmos/gogoproto/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) type Keeper struct { diff --git a/x/rewards/keeper/msg_server.go b/x/rewards/keeper/msg_server.go index 48051add..8687daed 100644 --- a/x/rewards/keeper/msg_server.go +++ b/x/rewards/keeper/msg_server.go @@ -10,9 +10,9 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/rewards/keeper/msg_server_test.go b/x/rewards/keeper/msg_server_test.go index 7f6af6e1..531101f1 100644 --- a/x/rewards/keeper/msg_server_test.go +++ b/x/rewards/keeper/msg_server_test.go @@ -8,13 +8,13 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/milkyway-labs/milkyway/v6/app/testutil" - "github.com/milkyway-labs/milkyway/v6/utils" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/app/testutil" + "github.com/milkyway-labs/milkyway/v7/utils" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestMsgCreateRewardsPlan() { diff --git a/x/rewards/keeper/opertors_hooks.go b/x/rewards/keeper/opertors_hooks.go index 62092787..638665b4 100644 --- a/x/rewards/keeper/opertors_hooks.go +++ b/x/rewards/keeper/opertors_hooks.go @@ -3,8 +3,8 @@ package keeper import ( "context" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) var _ operatorstypes.OperatorsHooks = OperatorsHooks{} diff --git a/x/rewards/keeper/oracle.go b/x/rewards/keeper/oracle.go index 6bca33c5..0219a4fd 100644 --- a/x/rewards/keeper/oracle.go +++ b/x/rewards/keeper/oracle.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" connecttypes "github.com/skip-mev/connect/v2/pkg/types" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) func (k *Keeper) GetAssetAndPrice(ctx context.Context, denom string) (assetstypes.Asset, math.LegacyDec, error) { diff --git a/x/rewards/keeper/oracle_test.go b/x/rewards/keeper/oracle_test.go index d3b9b675..54aa69b3 100644 --- a/x/rewards/keeper/oracle_test.go +++ b/x/rewards/keeper/oracle_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) func (suite *KeeperTestSuite) TestGetAssetAndPrice() { diff --git a/x/rewards/keeper/params.go b/x/rewards/keeper/params.go index d00a01b0..f28eaa7d 100644 --- a/x/rewards/keeper/params.go +++ b/x/rewards/keeper/params.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/collections" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) // SetParams sets module parameters diff --git a/x/rewards/keeper/pool_service_shares.go b/x/rewards/keeper/pool_service_shares.go index caba626b..c2ad4615 100644 --- a/x/rewards/keeper/pool_service_shares.go +++ b/x/rewards/keeper/pool_service_shares.go @@ -3,7 +3,7 @@ package keeper import ( "context" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // AfterUserTrustedServiceUpdated is called after a user's trust in a service is diff --git a/x/rewards/keeper/pools_hooks.go b/x/rewards/keeper/pools_hooks.go index 13297661..57da011c 100644 --- a/x/rewards/keeper/pools_hooks.go +++ b/x/rewards/keeper/pools_hooks.go @@ -3,8 +3,8 @@ package keeper import ( "context" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) var ( diff --git a/x/rewards/keeper/restaking_hooks.go b/x/rewards/keeper/restaking_hooks.go index b7d1a2f3..694ac6d2 100644 --- a/x/rewards/keeper/restaking_hooks.go +++ b/x/rewards/keeper/restaking_hooks.go @@ -3,7 +3,7 @@ package keeper import ( "context" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) var _ restakingtypes.RestakingHooks = RestakingHooks{} diff --git a/x/rewards/keeper/rewards_plan.go b/x/rewards/keeper/rewards_plan.go index 6bbe646c..84d2672c 100644 --- a/x/rewards/keeper/rewards_plan.go +++ b/x/rewards/keeper/rewards_plan.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (k *Keeper) CreateRewardsPlan( diff --git a/x/rewards/keeper/rewards_plan_test.go b/x/rewards/keeper/rewards_plan_test.go index 2f64f0ff..d1267a2a 100644 --- a/x/rewards/keeper/rewards_plan_test.go +++ b/x/rewards/keeper/rewards_plan_test.go @@ -5,10 +5,10 @@ import ( "cosmossdk.io/collections" - "github.com/milkyway-labs/milkyway/v6/app/testutil" - "github.com/milkyway-labs/milkyway/v6/utils" - rewardskeeper "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/app/testutil" + "github.com/milkyway-labs/milkyway/v7/utils" + rewardskeeper "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) func (suite *KeeperTestSuite) TestCreateRewardsPlan_PoolOrOperatorNotFound() { diff --git a/x/rewards/keeper/services_hooks.go b/x/rewards/keeper/services_hooks.go index a69c54a3..ccfd0532 100644 --- a/x/rewards/keeper/services_hooks.go +++ b/x/rewards/keeper/services_hooks.go @@ -3,8 +3,8 @@ package keeper import ( "context" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) var _ servicestypes.ServicesHooks = ServicesHooks{} diff --git a/x/rewards/keeper/services_hoos_test.go b/x/rewards/keeper/services_hoos_test.go index 7a6dfca5..4f66b9f4 100644 --- a/x/rewards/keeper/services_hoos_test.go +++ b/x/rewards/keeper/services_hoos_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) func (suite *KeeperTestSuite) TestServicesHooks_BeforeServiceDeleted() { diff --git a/x/rewards/keeper/target.go b/x/rewards/keeper/target.go index baabee4f..a2eb9c02 100644 --- a/x/rewards/keeper/target.go +++ b/x/rewards/keeper/target.go @@ -8,11 +8,11 @@ import ( "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // DelegationTarget is a wrapper around the delegation target that holds the diff --git a/x/rewards/keeper/withdraw.go b/x/rewards/keeper/withdraw.go index 3ca89002..c77a157b 100644 --- a/x/rewards/keeper/withdraw.go +++ b/x/rewards/keeper/withdraw.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) // SetWithdrawAddress sets a new address that will receive the rewards upon withdrawal diff --git a/x/rewards/module.go b/x/rewards/module.go index 92b986ec..1d3f4165 100644 --- a/x/rewards/module.go +++ b/x/rewards/module.go @@ -17,13 +17,13 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - "github.com/milkyway-labs/milkyway/v6/x/rewards/client/cli" - "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - "github.com/milkyway-labs/milkyway/v6/x/rewards/simulation" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + "github.com/milkyway-labs/milkyway/v7/x/rewards/client/cli" + "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + "github.com/milkyway-labs/milkyway/v7/x/rewards/simulation" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" ) const ( diff --git a/x/rewards/simulation/genesis.go b/x/rewards/simulation/genesis.go index dd078b26..33271d4a 100644 --- a/x/rewards/simulation/genesis.go +++ b/x/rewards/simulation/genesis.go @@ -3,10 +3,10 @@ package simulation import ( "github.com/cosmos/cosmos-sdk/types/module" - operatorssimulation "github.com/milkyway-labs/milkyway/v6/x/operators/simulation" - poolssimulation "github.com/milkyway-labs/milkyway/v6/x/pools/simulation" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - servicessimulation "github.com/milkyway-labs/milkyway/v6/x/services/simulation" + operatorssimulation "github.com/milkyway-labs/milkyway/v7/x/operators/simulation" + poolssimulation "github.com/milkyway-labs/milkyway/v7/x/pools/simulation" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + servicessimulation "github.com/milkyway-labs/milkyway/v7/x/services/simulation" ) // RandomizedGenState generates a random GenesisState for the operators module diff --git a/x/rewards/simulation/msg_factory.go b/x/rewards/simulation/msg_factory.go index a2b98abd..b3f77b36 100644 --- a/x/rewards/simulation/msg_factory.go +++ b/x/rewards/simulation/msg_factory.go @@ -14,18 +14,18 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/milkyway-labs/milkyway/v6/testutils/simtesting" - "github.com/milkyway-labs/milkyway/v6/utils" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - operatorssimulation "github.com/milkyway-labs/milkyway/v6/x/operators/simulation" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - poolssimulation "github.com/milkyway-labs/milkyway/v6/x/pools/simulation" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - servicessimulation "github.com/milkyway-labs/milkyway/v6/x/services/simulation" + "github.com/milkyway-labs/milkyway/v7/testutils/simtesting" + "github.com/milkyway-labs/milkyway/v7/utils" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + operatorssimulation "github.com/milkyway-labs/milkyway/v7/x/operators/simulation" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + poolssimulation "github.com/milkyway-labs/milkyway/v7/x/pools/simulation" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + servicessimulation "github.com/milkyway-labs/milkyway/v7/x/services/simulation" ) // Simulation operation weights constants diff --git a/x/rewards/simulation/proposals.go b/x/rewards/simulation/proposals.go index 756d23e9..888af907 100644 --- a/x/rewards/simulation/proposals.go +++ b/x/rewards/simulation/proposals.go @@ -11,8 +11,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/milkyway-labs/milkyway/v6/utils" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/utils" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) const ( diff --git a/x/rewards/simulation/utils.go b/x/rewards/simulation/utils.go index 2786644b..919c9714 100644 --- a/x/rewards/simulation/utils.go +++ b/x/rewards/simulation/utils.go @@ -7,14 +7,14 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/milkyway-labs/milkyway/v6/testutils/simtesting" - "github.com/milkyway-labs/milkyway/v6/utils" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/testutils/simtesting" + "github.com/milkyway-labs/milkyway/v7/utils" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func RandomParams(r *rand.Rand, rewardsPlanCreationFeeDenoms []string) types.Params { diff --git a/x/rewards/testutils/keeper.go b/x/rewards/testutils/keeper.go index b3f5ab80..aa0ab3bb 100644 --- a/x/rewards/testutils/keeper.go +++ b/x/rewards/testutils/keeper.go @@ -13,19 +13,19 @@ import ( oracletypes "github.com/skip-mev/connect/v2/x/oracle/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/testutils/storetesting" - assetskeeper "github.com/milkyway-labs/milkyway/v6/x/assets/keeper" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - operatorskeeper "github.com/milkyway-labs/milkyway/v6/x/operators/keeper" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingkeeper "github.com/milkyway-labs/milkyway/v6/x/restaking/keeper" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - rewardskeeper "github.com/milkyway-labs/milkyway/v6/x/rewards/keeper" - rewardstypes "github.com/milkyway-labs/milkyway/v6/x/rewards/types" - serviceskeeper "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/testutils/storetesting" + assetskeeper "github.com/milkyway-labs/milkyway/v7/x/assets/keeper" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + operatorskeeper "github.com/milkyway-labs/milkyway/v7/x/operators/keeper" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingkeeper "github.com/milkyway-labs/milkyway/v7/x/restaking/keeper" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + rewardskeeper "github.com/milkyway-labs/milkyway/v7/x/rewards/keeper" + rewardstypes "github.com/milkyway-labs/milkyway/v7/x/rewards/types" + serviceskeeper "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type KeeperTestData struct { diff --git a/x/rewards/types/dec_pool_test.go b/x/rewards/types/dec_pool_test.go index 963a60d3..e51a8700 100644 --- a/x/rewards/types/dec_pool_test.go +++ b/x/rewards/types/dec_pool_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) type decpoolTestSuite struct { diff --git a/x/rewards/types/expected_keepers.go b/x/rewards/types/expected_keepers.go index a34605b6..449c4f5f 100644 --- a/x/rewards/types/expected_keepers.go +++ b/x/rewards/types/expected_keepers.go @@ -8,11 +8,11 @@ import ( connecttypes "github.com/skip-mev/connect/v2/pkg/types" oracletypes "github.com/skip-mev/connect/v2/x/oracle/types" - assetstypes "github.com/milkyway-labs/milkyway/v6/x/assets/types" - operatorstypes "github.com/milkyway-labs/milkyway/v6/x/operators/types" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + assetstypes "github.com/milkyway-labs/milkyway/v7/x/assets/types" + operatorstypes "github.com/milkyway-labs/milkyway/v7/x/operators/types" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type AccountKeeper interface { diff --git a/x/rewards/types/genesis.go b/x/rewards/types/genesis.go index b385e71a..caeca8c6 100644 --- a/x/rewards/types/genesis.go +++ b/x/rewards/types/genesis.go @@ -6,7 +6,7 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) func NewGenesisState( diff --git a/x/rewards/types/genesis_test.go b/x/rewards/types/genesis_test.go index c6012796..80bc0a7f 100644 --- a/x/rewards/types/genesis_test.go +++ b/x/rewards/types/genesis_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/testutils" - "github.com/milkyway-labs/milkyway/v6/utils" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/testutils" + "github.com/milkyway-labs/milkyway/v7/utils" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/rewards/types/messages.go b/x/rewards/types/messages.go index daee3a18..6b26d3af 100644 --- a/x/rewards/types/messages.go +++ b/x/rewards/types/messages.go @@ -7,7 +7,7 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // NewMsgCreateRewardsPlan creates a new MsgCreateRewardsPlan instance diff --git a/x/rewards/types/messages.pb.go b/x/rewards/types/messages.pb.go index 5b6638a5..34bb3cee 100644 --- a/x/rewards/types/messages.pb.go +++ b/x/rewards/types/messages.pb.go @@ -15,7 +15,7 @@ import ( grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" - types1 "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + types1 "github.com/milkyway-labs/milkyway/v7/x/restaking/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/rewards/types/messages_test.go b/x/rewards/types/messages_test.go index 0682353c..08f61e24 100644 --- a/x/rewards/types/messages_test.go +++ b/x/rewards/types/messages_test.go @@ -8,8 +8,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) var msgCreateRewardsPlan = types.NewMsgCreateRewardsPlan( diff --git a/x/rewards/types/models.go b/x/rewards/types/models.go index 5a993762..1143568d 100644 --- a/x/rewards/types/models.go +++ b/x/rewards/types/models.go @@ -11,8 +11,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/address" "github.com/cosmos/gogoproto/proto" - "github.com/milkyway-labs/milkyway/v6/utils" - restakingtypes "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + "github.com/milkyway-labs/milkyway/v7/utils" + restakingtypes "github.com/milkyway-labs/milkyway/v7/x/restaking/types" ) // MaxRewardsPlanDescriptionLength is the maximum length of a rewards plan description. diff --git a/x/rewards/types/models.pb.go b/x/rewards/types/models.pb.go index ad31ad8d..1671121f 100644 --- a/x/rewards/types/models.pb.go +++ b/x/rewards/types/models.pb.go @@ -13,7 +13,7 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" - types1 "github.com/milkyway-labs/milkyway/v6/x/restaking/types" + types1 "github.com/milkyway-labs/milkyway/v7/x/restaking/types" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" math "math" diff --git a/x/rewards/types/models_test.go b/x/rewards/types/models_test.go index 1e0352c2..5a4fe06f 100644 --- a/x/rewards/types/models_test.go +++ b/x/rewards/types/models_test.go @@ -12,8 +12,8 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/utils" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/utils" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) func TestRewardsPlan_Validate(t *testing.T) { diff --git a/x/rewards/types/params_test.go b/x/rewards/types/params_test.go index a904361a..fd391a7a 100644 --- a/x/rewards/types/params_test.go +++ b/x/rewards/types/params_test.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) func TestParams_Validate(t *testing.T) { diff --git a/x/rewards/types/pool_test.go b/x/rewards/types/pool_test.go index 43619973..cad37599 100644 --- a/x/rewards/types/pool_test.go +++ b/x/rewards/types/pool_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" - "github.com/milkyway-labs/milkyway/v6/x/rewards/types" + "github.com/milkyway-labs/milkyway/v7/x/rewards/types" ) var ( diff --git a/x/services/autocli.go b/x/services/autocli.go index 67298110..4c4a8744 100644 --- a/x/services/autocli.go +++ b/x/services/autocli.go @@ -6,8 +6,8 @@ import ( autocliv1 "cosmossdk.io/api/cosmos/autocli/v1" "github.com/cosmos/cosmos-sdk/version" - servicesv1 "github.com/milkyway-labs/milkyway/v6/api/milkyway/services/v1" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + servicesv1 "github.com/milkyway-labs/milkyway/v7/api/milkyway/services/v1" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // AutoCLIOptions implements the autocli.HasAutoCLIConfig interface. diff --git a/x/services/client/cli/tx.go b/x/services/client/cli/tx.go index c4cffd94..bfb4b70d 100644 --- a/x/services/client/cli/tx.go +++ b/x/services/client/cli/tx.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // GetTxCmd returns a new command to perform services transactions diff --git a/x/services/keeper/alias_functions.go b/x/services/keeper/alias_functions.go index 77a82e03..86e92d7d 100644 --- a/x/services/keeper/alias_functions.go +++ b/x/services/keeper/alias_functions.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // createAccountIfNotExists creates an account if it does not exist diff --git a/x/services/keeper/common_test.go b/x/services/keeper/common_test.go index 56c18aac..697c3a8b 100644 --- a/x/services/keeper/common_test.go +++ b/x/services/keeper/common_test.go @@ -10,8 +10,8 @@ import ( minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" "github.com/stretchr/testify/suite" - "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - "github.com/milkyway-labs/milkyway/v6/x/services/testutils" + "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + "github.com/milkyway-labs/milkyway/v7/x/services/testutils" ) func TestKeeperTestSuite(t *testing.T) { diff --git a/x/services/keeper/genesis.go b/x/services/keeper/genesis.go index e146c9bb..094705a3 100644 --- a/x/services/keeper/genesis.go +++ b/x/services/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // ExportGenesis returns the GenesisState associated with the given context diff --git a/x/services/keeper/genesis_test.go b/x/services/keeper/genesis_test.go index b8a6d3c5..e76d2463 100644 --- a/x/services/keeper/genesis_test.go +++ b/x/services/keeper/genesis_test.go @@ -4,7 +4,7 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() { diff --git a/x/services/keeper/grpc_query.go b/x/services/keeper/grpc_query.go index 350c01d1..40f7f4ad 100644 --- a/x/services/keeper/grpc_query.go +++ b/x/services/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) var _ types.QueryServer = &Keeper{} diff --git a/x/services/keeper/grpc_query_test.go b/x/services/keeper/grpc_query_test.go index 717c839e..51025256 100644 --- a/x/services/keeper/grpc_query_test.go +++ b/x/services/keeper/grpc_query_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestKeeper_Services() { diff --git a/x/services/keeper/hooks.go b/x/services/keeper/hooks.go index 32bab995..756a1ad9 100644 --- a/x/services/keeper/hooks.go +++ b/x/services/keeper/hooks.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // Implement ServicesHooks interface diff --git a/x/services/keeper/invariants.go b/x/services/keeper/invariants.go index fb6079e3..a10adf0d 100644 --- a/x/services/keeper/invariants.go +++ b/x/services/keeper/invariants.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // RegisterInvariants registers all services module invariants diff --git a/x/services/keeper/invariants_test.go b/x/services/keeper/invariants_test.go index 4839b16c..a4762518 100644 --- a/x/services/keeper/invariants_test.go +++ b/x/services/keeper/invariants_test.go @@ -3,8 +3,8 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestValidServicesInvariant() { diff --git a/x/services/keeper/keeper.go b/x/services/keeper/keeper.go index bf39a5a9..a799e335 100644 --- a/x/services/keeper/keeper.go +++ b/x/services/keeper/keeper.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type Keeper struct { diff --git a/x/services/keeper/msg_server.go b/x/services/keeper/msg_server.go index 5dba6aaf..19f2d2e9 100644 --- a/x/services/keeper/msg_server.go +++ b/x/services/keeper/msg_server.go @@ -10,7 +10,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/services/keeper/msg_server_test.go b/x/services/keeper/msg_server_test.go index 22cf6c86..b06c1980 100644 --- a/x/services/keeper/msg_server_test.go +++ b/x/services/keeper/msg_server_test.go @@ -7,8 +7,8 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestMsgServer_CreateService() { diff --git a/x/services/keeper/params.go b/x/services/keeper/params.go index 157d3074..9f8a3bbd 100644 --- a/x/services/keeper/params.go +++ b/x/services/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // SetParams sets module parameters diff --git a/x/services/keeper/params_test.go b/x/services/keeper/params_test.go index b372d1a7..4ca12961 100644 --- a/x/services/keeper/params_test.go +++ b/x/services/keeper/params_test.go @@ -4,7 +4,7 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestKeeper_SetParams() { diff --git a/x/services/keeper/services.go b/x/services/keeper/services.go index dc18f7e0..92c5783f 100644 --- a/x/services/keeper/services.go +++ b/x/services/keeper/services.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // SetNextServiceID sets the next service ID to be used when registering a new Service diff --git a/x/services/keeper/services_test.go b/x/services/keeper/services_test.go index f8df713c..6ed2b13f 100644 --- a/x/services/keeper/services_test.go +++ b/x/services/keeper/services_test.go @@ -5,7 +5,7 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func (suite *KeeperTestSuite) TestKeeper_SetNextServiceID() { diff --git a/x/services/module.go b/x/services/module.go index 4722d4fb..2da16d1d 100644 --- a/x/services/module.go +++ b/x/services/module.go @@ -20,10 +20,10 @@ import ( authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/milkyway-labs/milkyway/v6/x/services/client/cli" - "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - "github.com/milkyway-labs/milkyway/v6/x/services/simulation" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/client/cli" + "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + "github.com/milkyway-labs/milkyway/v7/x/services/simulation" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) const ( diff --git a/x/services/simulation/decoder.go b/x/services/simulation/decoder.go index 80296ae1..0bfcf3b5 100644 --- a/x/services/simulation/decoder.go +++ b/x/services/simulation/decoder.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/kv" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/services/simulation/genesis.go b/x/services/simulation/genesis.go index 94c50738..448da27e 100644 --- a/x/services/simulation/genesis.go +++ b/x/services/simulation/genesis.go @@ -3,7 +3,7 @@ package simulation import ( "github.com/cosmos/cosmos-sdk/types/module" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // RandomizedGenState generates a random GenesisState for the services module diff --git a/x/services/simulation/msg_factory.go b/x/services/simulation/msg_factory.go index be872296..a2c57082 100644 --- a/x/services/simulation/msg_factory.go +++ b/x/services/simulation/msg_factory.go @@ -11,9 +11,9 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/milkyway-labs/milkyway/v6/testutils/simtesting" - "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/testutils/simtesting" + "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // Simulation operation weights constants diff --git a/x/services/simulation/proposals.go b/x/services/simulation/proposals.go index 841a9436..b03b6ee6 100644 --- a/x/services/simulation/proposals.go +++ b/x/services/simulation/proposals.go @@ -9,8 +9,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // Simulation operation weights constants diff --git a/x/services/simulation/utils.go b/x/services/simulation/utils.go index f4e1ce11..0e08b46d 100644 --- a/x/services/simulation/utils.go +++ b/x/services/simulation/utils.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/milkyway-labs/milkyway/v6/testutils/simtesting" - "github.com/milkyway-labs/milkyway/v6/utils" - "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/testutils/simtesting" + "github.com/milkyway-labs/milkyway/v7/utils" + "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) // RandomService returns a random service diff --git a/x/services/testutils/hooks_mocks.go b/x/services/testutils/hooks_mocks.go index 93f637dd..41c2e2d1 100644 --- a/x/services/testutils/hooks_mocks.go +++ b/x/services/testutils/hooks_mocks.go @@ -3,7 +3,7 @@ package testutils import ( "context" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) var _ types.ServicesHooks = &MockHooks{} diff --git a/x/services/testutils/keeper.go b/x/services/testutils/keeper.go index 84adadab..2f91e62c 100644 --- a/x/services/testutils/keeper.go +++ b/x/services/testutils/keeper.go @@ -15,12 +15,12 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "go.uber.org/mock/gomock" - milkyway "github.com/milkyway-labs/milkyway/v6/app" - "github.com/milkyway-labs/milkyway/v6/testutils/storetesting" - poolskeeper "github.com/milkyway-labs/milkyway/v6/x/pools/keeper" - poolstypes "github.com/milkyway-labs/milkyway/v6/x/pools/types" - "github.com/milkyway-labs/milkyway/v6/x/services/keeper" - servicestypes "github.com/milkyway-labs/milkyway/v6/x/services/types" + milkyway "github.com/milkyway-labs/milkyway/v7/app" + "github.com/milkyway-labs/milkyway/v7/testutils/storetesting" + poolskeeper "github.com/milkyway-labs/milkyway/v7/x/pools/keeper" + poolstypes "github.com/milkyway-labs/milkyway/v7/x/pools/types" + "github.com/milkyway-labs/milkyway/v7/x/services/keeper" + servicestypes "github.com/milkyway-labs/milkyway/v7/x/services/types" ) type KeeperTestData struct { diff --git a/x/services/types/genesis.go b/x/services/types/genesis.go index d0173bcb..708b6535 100644 --- a/x/services/types/genesis.go +++ b/x/services/types/genesis.go @@ -3,7 +3,7 @@ package types import ( "fmt" - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) // NewGenesisState returns a new GenesisState instance diff --git a/x/services/types/genesis_test.go b/x/services/types/genesis_test.go index 85df4513..e9a275d3 100644 --- a/x/services/types/genesis_test.go +++ b/x/services/types/genesis_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func TestValidateGenesis(t *testing.T) { diff --git a/x/services/types/messages_test.go b/x/services/types/messages_test.go index 828005e9..b1100a8d 100644 --- a/x/services/types/messages_test.go +++ b/x/services/types/messages_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) var msgCreateService = types.NewMsgCreateService( diff --git a/x/services/types/models.go b/x/services/types/models.go index dd81e676..3744e70a 100644 --- a/x/services/types/models.go +++ b/x/services/types/models.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/milkyway-labs/milkyway/v6/utils" + "github.com/milkyway-labs/milkyway/v7/utils" ) // GetServiceAddress generates a service address from its id diff --git a/x/services/types/models_test.go b/x/services/types/models_test.go index bbd5b878..a5764e28 100644 --- a/x/services/types/models_test.go +++ b/x/services/types/models_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func TestParseServiceID(t *testing.T) { diff --git a/x/services/types/params_test.go b/x/services/types/params_test.go index 69ad2637..1d54ba60 100644 --- a/x/services/types/params_test.go +++ b/x/services/types/params_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/milkyway-labs/milkyway/v6/x/services/types" + "github.com/milkyway-labs/milkyway/v7/x/services/types" ) func TestParams_Validate(t *testing.T) {