From 0dbbbd867ffad5b331d09c155dca53a3f581ad5c Mon Sep 17 00:00:00 2001 From: Hieu Vu <72878483+hieuvubk@users.noreply.github.com> Date: Fri, 18 Nov 2022 23:19:41 +0700 Subject: [PATCH] Add v3 package versioning to stride module (#350) Co-authored-by: Son Trinh --- app/app.go | 54 +++++++++---------- app/apptesting/test_helpers.go | 2 +- app/upgrades.go | 6 +-- app/upgrades/README.md | 4 +- app/upgrades/v3/upgrades.go | 4 +- cmd/strided/main.go | 4 +- cmd/strided/root.go | 6 +-- go.mod | 2 +- proto/claim/v1beta1/claim.proto | 2 +- proto/claim/v1beta1/genesis.proto | 2 +- proto/claim/v1beta1/params.proto | 2 +- proto/claim/v1beta1/query.proto | 2 +- proto/claim/v1beta1/tx.proto | 2 +- proto/stride/epochs/genesis.proto | 2 +- proto/stride/epochs/query.proto | 4 +- proto/stride/icacallbacks/callback_data.proto | 2 +- proto/stride/icacallbacks/genesis.proto | 2 +- proto/stride/icacallbacks/packet.proto | 2 +- proto/stride/icacallbacks/params.proto | 2 +- proto/stride/icacallbacks/query.proto | 2 +- proto/stride/icacallbacks/tx.proto | 2 +- proto/stride/interchainquery/v1/genesis.proto | 2 +- .../stride/interchainquery/v1/messages.proto | 2 +- proto/stride/mint/v1beta1/genesis.proto | 2 +- proto/stride/mint/v1beta1/mint.proto | 2 +- proto/stride/mint/v1beta1/query.proto | 2 +- proto/stride/records/callbacks.proto | 2 +- proto/stride/records/genesis.proto | 2 +- proto/stride/records/query.proto | 2 +- proto/stride/stakeibc/callbacks.proto | 2 +- proto/stride/stakeibc/delegation.proto | 2 +- proto/stride/stakeibc/epoch_tracker.proto | 2 +- proto/stride/stakeibc/genesis.proto | 2 +- proto/stride/stakeibc/gov.proto | 2 +- proto/stride/stakeibc/host_zone.proto | 2 +- proto/stride/stakeibc/ica_account.proto | 2 +- .../stakeibc/min_validator_requirements.proto | 2 +- proto/stride/stakeibc/packet.proto | 2 +- proto/stride/stakeibc/params.proto | 2 +- proto/stride/stakeibc/query.proto | 2 +- proto/stride/stakeibc/tx.proto | 2 +- proto/stride/stakeibc/validator.proto | 2 +- proto/vesting/tx.proto | 2 +- proto/vesting/vesting.proto | 2 +- scripts/protocgen.sh | 2 +- testutil/keeper/claim.go | 4 +- testutil/keeper/epochs.go | 4 +- testutil/keeper/icacallbacks.go | 4 +- testutil/keeper/interchainquery.go | 4 +- testutil/keeper/records.go | 4 +- testutil/keeper/stakeibc.go | 4 +- testutil/network/network.go | 2 +- utils/utils.go | 4 +- x/claim/client/cli/cli_test.go | 14 ++--- x/claim/client/cli/query.go | 2 +- x/claim/client/cli/tx.go | 2 +- x/claim/client/cli/tx_claim_free_amount.go | 2 +- x/claim/client/cli/tx_create_airdrop.go | 2 +- x/claim/client/cli/tx_delete_airdrop.go | 2 +- .../client/cli/tx_set_airdrop_allocations.go | 2 +- x/claim/genesis_test.go | 6 +-- x/claim/handler.go | 4 +- x/claim/keeper/claim.go | 8 +-- x/claim/keeper/claim_test.go | 2 +- x/claim/keeper/genesis.go | 2 +- x/claim/keeper/grpc_query.go | 2 +- x/claim/keeper/hooks.go | 6 +-- x/claim/keeper/keeper.go | 2 +- x/claim/keeper/keeper_test.go | 6 +-- x/claim/keeper/msg_server.go | 2 +- x/claim/keeper/msg_server_test.go | 4 +- x/claim/keeper/params.go | 2 +- x/claim/keeper/query.go | 2 +- x/claim/module.go | 8 +-- x/claim/types/expected_keepers.go | 2 +- x/claim/types/msgs.go | 2 +- x/claim/vesting/client/cli/tx.go | 2 +- x/claim/vesting/handler.go | 2 +- x/claim/vesting/module.go | 4 +- x/claim/vesting/msg_server.go | 2 +- x/claim/vesting/types/codec.go | 2 +- x/claim/vesting/types/common_test.go | 2 +- x/claim/vesting/types/vesting_account.go | 4 +- x/claim/vesting/types/vesting_account_test.go | 2 +- x/epochs/client/cli/query.go | 2 +- x/epochs/genesis.go | 4 +- x/epochs/genesis_test.go | 9 ++-- x/epochs/handler.go | 4 +- x/epochs/keeper/abci.go | 2 +- x/epochs/keeper/abci_test.go | 4 +- x/epochs/keeper/epoch.go | 2 +- x/epochs/keeper/epoch_test.go | 2 +- x/epochs/keeper/grpc_query.go | 2 +- x/epochs/keeper/grpc_query_test.go | 2 +- x/epochs/keeper/hooks.go | 3 +- x/epochs/keeper/keeper.go | 2 +- x/epochs/keeper/keeper_test.go | 4 +- x/epochs/module.go | 8 +-- x/epochs/simulation/genesis.go | 2 +- x/icacallbacks/client/cli/query.go | 2 +- .../client/cli/query_callback_data.go | 3 +- .../client/cli/query_callback_data_test.go | 8 +-- x/icacallbacks/client/cli/query_params.go | 3 +- x/icacallbacks/client/cli/tx.go | 2 +- x/icacallbacks/genesis.go | 4 +- x/icacallbacks/genesis_test.go | 9 ++-- x/icacallbacks/handler.go | 4 +- x/icacallbacks/keeper/callback_data.go | 3 +- x/icacallbacks/keeper/callback_data_test.go | 9 ++-- x/icacallbacks/keeper/grpc_query.go | 2 +- .../keeper/grpc_query_callback_data.go | 3 +- .../keeper/grpc_query_callback_data_test.go | 6 +-- x/icacallbacks/keeper/grpc_query_params.go | 3 +- .../keeper/grpc_query_params_test.go | 5 +- x/icacallbacks/keeper/keeper.go | 4 +- x/icacallbacks/keeper/msg_server.go | 2 +- x/icacallbacks/keeper/params.go | 3 +- x/icacallbacks/keeper/params_test.go | 5 +- x/icacallbacks/module.go | 6 +-- x/icacallbacks/module_ibc.go | 2 +- x/icacallbacks/module_simulation.go | 7 +-- x/icacallbacks/types/genesis_test.go | 2 +- x/interchainquery/genesis.go | 4 +- x/interchainquery/handler.go | 4 +- x/interchainquery/keeper/abci.go | 2 +- x/interchainquery/keeper/keeper.go | 2 +- x/interchainquery/keeper/keeper_test.go | 6 +-- x/interchainquery/keeper/msg_server.go | 2 +- .../keeper/msg_submit_query_response_test.go | 2 +- x/interchainquery/keeper/new_query_test.go | 2 +- x/interchainquery/keeper/queries.go | 2 +- x/interchainquery/module.go | 4 +- x/mint/client/cli/cli_test.go | 4 +- x/mint/client/cli/query.go | 2 +- x/mint/client/rest/grpc_query_test.go | 4 +- x/mint/client/rest/query.go | 2 +- x/mint/genesis.go | 4 +- x/mint/keeper/grpc_query.go | 2 +- x/mint/keeper/hooks.go | 4 +- x/mint/keeper/keeper.go | 2 +- x/mint/module.go | 10 ++-- x/mint/types/expected_keepers.go | 2 +- x/mint/types/params.go | 2 +- x/records/client/cli/query.go | 2 +- x/records/client/cli/query_deposit_record.go | 3 +- .../client/cli/query_deposit_record_test.go | 8 +-- .../cli/query_epoch_unbonding_record.go | 2 +- x/records/client/cli/query_params.go | 3 +- .../cli/query_user_redemption_record.go | 3 +- .../cli/query_user_redemption_record_test.go | 8 +-- x/records/client/cli/tx.go | 2 +- x/records/genesis.go | 4 +- x/records/genesis_test.go | 8 +-- x/records/handler.go | 4 +- x/records/keeper/callback_transfer.go | 2 +- x/records/keeper/callback_transfer_test.go | 6 +-- x/records/keeper/callbacks.go | 2 +- x/records/keeper/deposit_record.go | 2 +- x/records/keeper/epoch_unbonding_record.go | 4 +- .../keeper/epoch_unbonding_record_test.go | 8 +-- x/records/keeper/grpc_query.go | 2 +- x/records/keeper/grpc_query_deposit_record.go | 3 +- .../keeper/grpc_query_deposit_record_test.go | 8 +-- .../grpc_query_epoch_unbonding_record.go | 2 +- .../grpc_query_epoch_unbonding_record_test.go | 6 +-- x/records/keeper/grpc_query_params.go | 3 +- x/records/keeper/grpc_query_params_test.go | 5 +- .../grpc_query_user_redemption_record.go | 3 +- ...c_query_user_redemption_record_for_user.go | 2 +- .../grpc_query_user_redemption_record_test.go | 6 +-- x/records/keeper/keeper.go | 6 +-- x/records/keeper/keeper_test.go | 6 +-- x/records/keeper/msg_server.go | 2 +- x/records/keeper/params.go | 3 +- x/records/keeper/params_test.go | 5 +- x/records/keeper/transfer_test.go | 4 +- x/records/keeper/user_redemption_record.go | 2 +- .../keeper/user_redemption_record_test.go | 9 ++-- x/records/module.go | 6 +-- x/records/module_ibc.go | 4 +- x/records/module_simulation.go | 7 +-- x/records/types/genesis_test.go | 3 +- x/stakeibc/abci.go | 4 +- x/stakeibc/client/cli/query.go | 2 +- x/stakeibc/client/cli/query_epoch_tracker.go | 3 +- .../client/cli/query_epoch_tracker_test.go | 6 +-- x/stakeibc/client/cli/query_host_zone.go | 3 +- x/stakeibc/client/cli/query_ica_account.go | 3 +- .../client/cli/query_ica_account_test.go | 8 +-- x/stakeibc/client/cli/query_module_address.go | 3 +- x/stakeibc/client/cli/query_params.go | 3 +- x/stakeibc/client/cli/query_register_ica.go | 3 +- x/stakeibc/client/cli/query_validator.go | 3 +- x/stakeibc/client/cli/tx.go | 2 +- x/stakeibc/client/cli/tx_add_validator.go | 2 +- .../client/cli/tx_add_validator_proposal.go | 2 +- .../client/cli/tx_change_validator_weight.go | 3 +- .../client/cli/tx_claim_undelegated_tokens.go | 3 +- x/stakeibc/client/cli/tx_clear_balance.go | 2 +- x/stakeibc/client/cli/tx_delete_validator.go | 2 +- x/stakeibc/client/cli/tx_liquid_stake.go | 3 +- .../client/cli/tx_rebalance_validators.go | 2 +- x/stakeibc/client/cli/tx_redeem_stake.go | 2 +- .../client/cli/tx_register_host_zone.go | 3 +- .../cli/tx_restore_interchain_account.go | 3 +- x/stakeibc/client/cli/tx_update_delegation.go | 2 +- x/stakeibc/client/proposal_handler.go | 4 +- x/stakeibc/genesis.go | 4 +- x/stakeibc/genesis_test.go | 9 ++-- x/stakeibc/handler.go | 4 +- x/stakeibc/keeper/delegation.go | 3 +- x/stakeibc/keeper/delegation_test.go | 8 +-- x/stakeibc/keeper/deposit_records.go | 6 +-- x/stakeibc/keeper/deposit_records_test.go | 8 +-- .../keeper/epoch_elapsed_shares_test.go | 4 +- x/stakeibc/keeper/epoch_tracker.go | 3 +- x/stakeibc/keeper/epoch_tracker_test.go | 9 ++-- x/stakeibc/keeper/gov.go | 2 +- x/stakeibc/keeper/grpc_query.go | 2 +- x/stakeibc/keeper/grpc_query_epoch_tracker.go | 3 +- .../keeper/grpc_query_epoch_tracker_test.go | 6 +-- x/stakeibc/keeper/grpc_query_host_zone.go | 3 +- .../keeper/grpc_query_host_zone_test.go | 6 +-- x/stakeibc/keeper/grpc_query_ica_account.go | 3 +- .../keeper/grpc_query_ica_account_test.go | 2 +- .../keeper/grpc_query_module_address.go | 3 +- x/stakeibc/keeper/grpc_query_params.go | 3 +- x/stakeibc/keeper/grpc_query_params_test.go | 5 +- x/stakeibc/keeper/grpc_query_register_ica.go | 2 +- x/stakeibc/keeper/grpc_query_validator.go | 3 +- .../keeper/grpc_query_validator_test.go | 6 +-- x/stakeibc/keeper/hooks.go | 8 +-- x/stakeibc/keeper/host_zone.go | 2 +- x/stakeibc/keeper/host_zone_test.go | 9 ++-- x/stakeibc/keeper/ica_account.go | 3 +- x/stakeibc/keeper/ica_account_test.go | 2 +- x/stakeibc/keeper/icacallbacks.go | 2 +- x/stakeibc/keeper/icacallbacks_claim.go | 8 +-- x/stakeibc/keeper/icacallbacks_claim_test.go | 6 +-- x/stakeibc/keeper/icacallbacks_delegate.go | 8 +-- .../keeper/icacallbacks_delegate_test.go | 8 +-- x/stakeibc/keeper/icacallbacks_rebalance.go | 6 +-- .../keeper/icacallbacks_rebalance_test.go | 6 +-- x/stakeibc/keeper/icacallbacks_redemption.go | 8 +-- .../keeper/icacallbacks_redemption_test.go | 8 +-- x/stakeibc/keeper/icacallbacks_reinvest.go | 10 ++-- .../keeper/icacallbacks_reinvest_test.go | 10 ++-- x/stakeibc/keeper/icacallbacks_undelegate.go | 8 +-- .../keeper/icacallbacks_undelegate_test.go | 8 +-- x/stakeibc/keeper/icqcallbacks.go | 2 +- .../keeper/icqcallbacks_delegator_shares.go | 6 +-- .../icqcallbacks_delegator_shares_test.go | 8 +-- .../icqcallbacks_validator_exchange_rate.go | 6 +-- ...qcallbacks_validator_exchange_rate_test.go | 8 +-- .../keeper/icqcallbacks_withdrawal_balance.go | 4 +- .../icqcallbacks_withdrawal_balance_test.go | 10 ++-- x/stakeibc/keeper/keeper.go | 14 ++--- x/stakeibc/keeper/keeper_test.go | 6 +-- .../keeper/min_validator_requirements.go | 3 +- .../keeper/min_validator_requirements_test.go | 8 +-- x/stakeibc/keeper/msg_server.go | 2 +- x/stakeibc/keeper/msg_server_add_validator.go | 2 +- .../keeper/msg_server_add_validator_test.go | 2 +- .../msg_server_change_validator_weight.go | 2 +- .../msg_server_claim_undelegated_tokens.go | 6 +-- ...sg_server_claim_undelegated_tokens_test.go | 8 +-- x/stakeibc/keeper/msg_server_clear_balance.go | 2 +- .../keeper/msg_server_clear_balance_test.go | 4 +- .../keeper/msg_server_delete_validator.go | 2 +- .../msg_server_delete_validator_test.go | 2 +- x/stakeibc/keeper/msg_server_liquid_stake.go | 4 +- .../keeper/msg_server_liquid_stake_test.go | 8 +-- .../keeper/msg_server_rebalance_validators.go | 4 +- .../msg_server_rebalance_validators_test.go | 6 +-- x/stakeibc/keeper/msg_server_redeem_stake.go | 6 +-- .../keeper/msg_server_redeem_stake_test.go | 6 +-- .../keeper/msg_server_register_host_zone.go | 6 +-- .../msg_server_register_host_zone_test.go | 8 +-- .../msg_server_restore_interchain_account.go | 2 +- ..._server_restore_interchain_account_test.go | 2 +- x/stakeibc/keeper/msg_server_submit_tx.go | 10 ++-- ...erver_update_validator_shares_exch_rate.go | 2 +- x/stakeibc/keeper/params.go | 3 +- x/stakeibc/keeper/params_test.go | 5 +- x/stakeibc/keeper/unbonding_records.go | 6 +-- .../keeper/unbonding_records_cleanup_test.go | 4 +- ...ords_get_host_zone_unbondings_msgs_test.go | 4 +- ...ng_records_initiate_all_unbondings_test.go | 4 +- ...ding_records_sweep_unbonded_tokens_test.go | 4 +- .../keeper/update_redemption_rates_test.go | 4 +- .../update_validator_shares_exch_rate_test.go | 6 +-- x/stakeibc/keeper/validator.go | 2 +- x/stakeibc/keeper/validator_selection.go | 2 +- x/stakeibc/keeper/validator_test.go | 8 +-- x/stakeibc/module.go | 6 +-- x/stakeibc/module_ibc.go | 6 +-- x/stakeibc/module_simulation.go | 6 +-- x/stakeibc/proposal_handler.go | 4 +- x/stakeibc/simulation/add_validator.go | 5 +- .../simulation/change_validator_weight.go | 5 +- .../simulation/claim_undelegated_tokens.go | 5 +- x/stakeibc/simulation/delete_validator.go | 5 +- x/stakeibc/simulation/liquid_stake.go | 5 +- x/stakeibc/simulation/rebalance_validators.go | 5 +- .../simulation/restore_interchain_account.go | 5 +- x/stakeibc/simulation/update_delegation.go | 4 +- x/stakeibc/types/genesis_test.go | 2 +- x/stakeibc/types/host_zone.pb.go | 2 +- x/stakeibc/types/message_add_validator.go | 2 +- .../types/message_add_validator_test.go | 3 +- .../types/message_change_validator_weight.go | 2 +- .../message_change_validator_weight_test.go | 3 +- .../types/message_claim_undelegated_tokens.go | 2 +- .../message_claim_undelegated_tokens_test.go | 2 +- x/stakeibc/types/message_clear_balance.go | 2 +- x/stakeibc/types/message_delete_validator.go | 3 +- .../types/message_delete_validator_test.go | 3 +- x/stakeibc/types/message_liquid_stake_test.go | 3 +- .../types/message_rebalance_validators.go | 2 +- .../message_rebalance_validators_test.go | 3 +- x/stakeibc/types/message_redeem_stake_test.go | 2 +- .../types/message_register_host_zone.go | 2 +- ...message_restore_interchain_account_test.go | 3 +- x/stakeibc/types/message_update_delegation.go | 2 +- 324 files changed, 688 insertions(+), 621 deletions(-) diff --git a/app/app.go b/app/app.go index 94219d4bbf..20d418604d 100644 --- a/app/app.go +++ b/app/app.go @@ -7,7 +7,7 @@ import ( porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" @@ -57,12 +57,12 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - claimvesting "github.com/Stride-Labs/stride/x/claim/vesting" - claimvestingtypes "github.com/Stride-Labs/stride/x/claim/vesting/types" + claimvesting "github.com/Stride-Labs/stride/v3/x/claim/vesting" + claimvestingtypes "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" - "github.com/Stride-Labs/stride/x/mint" - mintkeeper "github.com/Stride-Labs/stride/x/mint/keeper" - minttypes "github.com/Stride-Labs/stride/x/mint/types" + "github.com/Stride-Labs/stride/v3/x/mint" + mintkeeper "github.com/Stride-Labs/stride/v3/x/mint/keeper" + minttypes "github.com/Stride-Labs/stride/v3/x/mint/types" "github.com/cosmos/cosmos-sdk/x/params" paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" @@ -109,27 +109,27 @@ import ( // monitoringp "github.com/tendermint/spn/x/monitoringp" // monitoringpkeeper "github.com/tendermint/spn/x/monitoringp/keeper" - epochsmodule "github.com/Stride-Labs/stride/x/epochs" - epochsmodulekeeper "github.com/Stride-Labs/stride/x/epochs/keeper" - epochsmoduletypes "github.com/Stride-Labs/stride/x/epochs/types" - - "github.com/Stride-Labs/stride/x/interchainquery" - interchainquerykeeper "github.com/Stride-Labs/stride/x/interchainquery/keeper" - interchainquerytypes "github.com/Stride-Labs/stride/x/interchainquery/types" - - "github.com/Stride-Labs/stride/x/claim" - claimkeeper "github.com/Stride-Labs/stride/x/claim/keeper" - claimtypes "github.com/Stride-Labs/stride/x/claim/types" - icacallbacksmodule "github.com/Stride-Labs/stride/x/icacallbacks" - icacallbacksmodulekeeper "github.com/Stride-Labs/stride/x/icacallbacks/keeper" - icacallbacksmoduletypes "github.com/Stride-Labs/stride/x/icacallbacks/types" - recordsmodule "github.com/Stride-Labs/stride/x/records" - recordsmodulekeeper "github.com/Stride-Labs/stride/x/records/keeper" - recordsmoduletypes "github.com/Stride-Labs/stride/x/records/types" - stakeibcmodule "github.com/Stride-Labs/stride/x/stakeibc" - stakeibcclient "github.com/Stride-Labs/stride/x/stakeibc/client" - stakeibcmodulekeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - stakeibcmoduletypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochsmodule "github.com/Stride-Labs/stride/v3/x/epochs" + epochsmodulekeeper "github.com/Stride-Labs/stride/v3/x/epochs/keeper" + epochsmoduletypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + + "github.com/Stride-Labs/stride/v3/x/interchainquery" + interchainquerykeeper "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + interchainquerytypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + + "github.com/Stride-Labs/stride/v3/x/claim" + claimkeeper "github.com/Stride-Labs/stride/v3/x/claim/keeper" + claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" + icacallbacksmodule "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbacksmodulekeeper "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + icacallbacksmoduletypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordsmodule "github.com/Stride-Labs/stride/v3/x/records" + recordsmodulekeeper "github.com/Stride-Labs/stride/v3/x/records/keeper" + recordsmoduletypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibcmodule "github.com/Stride-Labs/stride/v3/x/stakeibc" + stakeibcclient "github.com/Stride-Labs/stride/v3/x/stakeibc/client" + stakeibcmodulekeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + stakeibcmoduletypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" // this line is used by starport scaffolding # stargate/app/moduleImport ) diff --git a/app/apptesting/test_helpers.go b/app/apptesting/test_helpers.go index b934f803e8..985ada4b0b 100644 --- a/app/apptesting/test_helpers.go +++ b/app/apptesting/test_helpers.go @@ -18,7 +18,7 @@ import ( "github.com/tendermint/tendermint/crypto/ed25519" tmtypes "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/Stride-Labs/stride/app" + "github.com/Stride-Labs/stride/v3/app" ) var ( diff --git a/app/upgrades.go b/app/upgrades.go index 051bc2a692..05ae2ddbae 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -6,9 +6,9 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - v2 "github.com/Stride-Labs/stride/app/upgrades/v2" - v3 "github.com/Stride-Labs/stride/app/upgrades/v3" - claimtypes "github.com/Stride-Labs/stride/x/claim/types" + v2 "github.com/Stride-Labs/stride/v3/app/upgrades/v2" + v3 "github.com/Stride-Labs/stride/v3/app/upgrades/v3" + claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" ) func (app *StrideApp) setupUpgradeHandlers() { diff --git a/app/upgrades/README.md b/app/upgrades/README.md index 8ab3426eff..500342a5bf 100644 --- a/app/upgrades/README.md +++ b/app/upgrades/README.md @@ -105,7 +105,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - {upgradeVersion} "github.com/Stride-Labs/stride/x/records/migrations/{upgradeVersion}" + {upgradeVersion} "github.com/Stride-Labs/stride/v3/x/records/migrations/{upgradeVersion}" ) type Migrator struct { @@ -128,7 +128,7 @@ package {upgradeVersion} import ( sdk "github.com/cosmos/cosmos-sdk/types" - {oldVersion} "github.com/Stride-Labs/stride/x/records/migrations/{oldVersion}" + {oldVersion} "github.com/Stride-Labs/stride/v3/x/records/migrations/{oldVersion}" ) // TODO: Add migration logic to deserialize with old protos and re-serialize with new ones diff --git a/app/upgrades/v3/upgrades.go b/app/upgrades/v3/upgrades.go index 3dd3f6ca99..43aff2c522 100644 --- a/app/upgrades/v3/upgrades.go +++ b/app/upgrades/v3/upgrades.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - claimkeeper "github.com/Stride-Labs/stride/x/claim/keeper" - claimtypes "github.com/Stride-Labs/stride/x/claim/types" + claimkeeper "github.com/Stride-Labs/stride/v3/x/claim/keeper" + claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" ) // Note: ensure these values are properly set before running upgrade diff --git a/cmd/strided/main.go b/cmd/strided/main.go index afe2e023df..ab42b8c1d4 100644 --- a/cmd/strided/main.go +++ b/cmd/strided/main.go @@ -5,9 +5,9 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/Stride-Labs/stride/app" + "github.com/Stride-Labs/stride/v3/app" - cmdcfg "github.com/Stride-Labs/stride/cmd/strided/config" + cmdcfg "github.com/Stride-Labs/stride/v3/cmd/strided/config" ) func main() { diff --git a/cmd/strided/root.go b/cmd/strided/root.go index a91e27bd77..cd526d5ab1 100644 --- a/cmd/strided/root.go +++ b/cmd/strided/root.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" "github.com/spf13/cast" "github.com/spf13/cobra" @@ -36,8 +36,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - "github.com/Stride-Labs/stride/app" - // "github.com/Stride-labs/stride/app/params" + "github.com/Stride-Labs/stride/v3/app" + // "github.com/Stride-Labs/stride/v3/app/params" // this line is used by starport scaffolding # stargate/root/import ) diff --git a/go.mod b/go.mod index cb44597385..7a9b61162f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Stride-Labs/stride +module github.com/Stride-Labs/stride/v3 go 1.18 diff --git a/proto/claim/v1beta1/claim.proto b/proto/claim/v1beta1/claim.proto index 8ca285d962..654903fe07 100644 --- a/proto/claim/v1beta1/claim.proto +++ b/proto/claim/v1beta1/claim.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/bank/v1beta1/genesis.proto"; -option go_package = "github.com/Stride-Labs/stride/x/claim/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; enum Action { option (gogoproto.goproto_enum_prefix) = false; diff --git a/proto/claim/v1beta1/genesis.proto b/proto/claim/v1beta1/genesis.proto index 7939dffdcf..07cd2794af 100644 --- a/proto/claim/v1beta1/genesis.proto +++ b/proto/claim/v1beta1/genesis.proto @@ -9,7 +9,7 @@ import "google/protobuf/timestamp.proto"; import "claim/v1beta1/claim.proto"; import "claim/v1beta1/params.proto"; -option go_package = "github.com/Stride-Labs/stride/x/claim/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; // GenesisState defines the claim module's genesis state. message GenesisState { diff --git a/proto/claim/v1beta1/params.proto b/proto/claim/v1beta1/params.proto index ae6e9fe171..eeddc96c7e 100644 --- a/proto/claim/v1beta1/params.proto +++ b/proto/claim/v1beta1/params.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/Stride-Labs/stride/x/claim/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; // Params defines the claim module's parameters. message Params { diff --git a/proto/claim/v1beta1/query.proto b/proto/claim/v1beta1/query.proto index f9b7bdbac2..e171b807e1 100644 --- a/proto/claim/v1beta1/query.proto +++ b/proto/claim/v1beta1/query.proto @@ -7,7 +7,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "claim/v1beta1/claim.proto"; import "claim/v1beta1/params.proto"; -option go_package = "github.com/Stride-Labs/stride/x/claim/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/claim/v1beta1/tx.proto b/proto/claim/v1beta1/tx.proto index c1f5620113..7b48185c88 100644 --- a/proto/claim/v1beta1/tx.proto +++ b/proto/claim/v1beta1/tx.proto @@ -4,7 +4,7 @@ package Stridelabs.stride.claim.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/Stride-Labs/stride/x/claim/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/stride/epochs/genesis.proto b/proto/stride/epochs/genesis.proto index fd560169b8..caef01a5bf 100755 --- a/proto/stride/epochs/genesis.proto +++ b/proto/stride/epochs/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/Stride-Labs/stride/x/epochs/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/epochs/types"; message EpochInfo { string identifier = 1; diff --git a/proto/stride/epochs/query.proto b/proto/stride/epochs/query.proto index 391410fbd9..30d0fa2f4a 100644 --- a/proto/stride/epochs/query.proto +++ b/proto/stride/epochs/query.proto @@ -6,7 +6,7 @@ import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "stride/epochs/genesis.proto"; -option go_package = "github.com/Stride-Labs/stride/x/epochs/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/epochs/types"; // Query defines the gRPC querier service. service Query { @@ -51,7 +51,7 @@ message QueryEpochInfoResponse { // import "epochs/params.proto"; // // this line is used by starport scaffolding # 1 -// option go_package = "github.com/Stride-Labs/stride/x/epochs/types"; +// option go_package = "github.com/Stride-Labs/stride/v3/x/epochs/types"; // // Query defines the gRPC querier service. // service Query { diff --git a/proto/stride/icacallbacks/callback_data.proto b/proto/stride/icacallbacks/callback_data.proto index bf0fa28201..154ec4ace8 100755 --- a/proto/stride/icacallbacks/callback_data.proto +++ b/proto/stride/icacallbacks/callback_data.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.icacallbacks; -option go_package = "github.com/Stride-Labs/stride/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; message CallbackData { string callback_key = 1; diff --git a/proto/stride/icacallbacks/genesis.proto b/proto/stride/icacallbacks/genesis.proto index fd66d3bfd4..cc12bddbe8 100755 --- a/proto/stride/icacallbacks/genesis.proto +++ b/proto/stride/icacallbacks/genesis.proto @@ -6,7 +6,7 @@ import "stride/icacallbacks/params.proto"; import "stride/icacallbacks/callback_data.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/Stride-Labs/stride/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; // GenesisState defines the icacallbacks module's genesis state. message GenesisState { diff --git a/proto/stride/icacallbacks/packet.proto b/proto/stride/icacallbacks/packet.proto index 0e1728beca..c125861274 100755 --- a/proto/stride/icacallbacks/packet.proto +++ b/proto/stride/icacallbacks/packet.proto @@ -3,7 +3,7 @@ package stride.icacallbacks; // this line is used by starport scaffolding # proto/packet/import -option go_package = "github.com/Stride-Labs/stride/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; message IcacallbacksPacketData { oneof packet { diff --git a/proto/stride/icacallbacks/params.proto b/proto/stride/icacallbacks/params.proto index 845007f0f0..e1a9146734 100755 --- a/proto/stride/icacallbacks/params.proto +++ b/proto/stride/icacallbacks/params.proto @@ -3,7 +3,7 @@ package stride.icacallbacks; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-Labs/stride/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; // Params defines the parameters for the module. message Params { option (gogoproto.goproto_stringer) = false; } diff --git a/proto/stride/icacallbacks/query.proto b/proto/stride/icacallbacks/query.proto index b63116c075..d36506dbed 100644 --- a/proto/stride/icacallbacks/query.proto +++ b/proto/stride/icacallbacks/query.proto @@ -8,7 +8,7 @@ import "stride/icacallbacks/params.proto"; import "stride/icacallbacks/callback_data.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/Stride-Labs/stride/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/icacallbacks/tx.proto b/proto/stride/icacallbacks/tx.proto index 931ff9f48e..34aa210ac0 100755 --- a/proto/stride/icacallbacks/tx.proto +++ b/proto/stride/icacallbacks/tx.proto @@ -3,7 +3,7 @@ package stride.icacallbacks; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/Stride-Labs/stride/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/stride/interchainquery/v1/genesis.proto b/proto/stride/interchainquery/v1/genesis.proto index cc42722132..e78d023ef4 100755 --- a/proto/stride/interchainquery/v1/genesis.proto +++ b/proto/stride/interchainquery/v1/genesis.proto @@ -4,7 +4,7 @@ package stride.interchainquery.v1; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/Stride-Labs/stride/x/interchainquery/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/interchainquery/types"; message Query { string id = 1; diff --git a/proto/stride/interchainquery/v1/messages.proto b/proto/stride/interchainquery/v1/messages.proto index cae7c2f6f8..5b247b7b93 100755 --- a/proto/stride/interchainquery/v1/messages.proto +++ b/proto/stride/interchainquery/v1/messages.proto @@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto"; import "google/api/annotations.proto"; import "tendermint/crypto/proof.proto"; -option go_package = "github.com/Stride-Labs/stride/x/interchainquery/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/interchainquery/types"; // Msg defines the interchainquery Msg service. service Msg { diff --git a/proto/stride/mint/v1beta1/genesis.proto b/proto/stride/mint/v1beta1/genesis.proto index acda16ea05..d3b2db8b37 100755 --- a/proto/stride/mint/v1beta1/genesis.proto +++ b/proto/stride/mint/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package stride.mint.v1beta1; import "gogoproto/gogo.proto"; import "stride/mint/v1beta1/mint.proto"; -option go_package = "github.com/Stride-Labs/stride/x/mint/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/mint/types"; // GenesisState defines the mint module's genesis state. message GenesisState { diff --git a/proto/stride/mint/v1beta1/mint.proto b/proto/stride/mint/v1beta1/mint.proto index 3c5de692a6..8ce8d973a8 100755 --- a/proto/stride/mint/v1beta1/mint.proto +++ b/proto/stride/mint/v1beta1/mint.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.mint.v1beta1; -option go_package = "github.com/Stride-Labs/stride/x/mint/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/mint/types"; import "gogoproto/gogo.proto"; diff --git a/proto/stride/mint/v1beta1/query.proto b/proto/stride/mint/v1beta1/query.proto index 247744979f..1237810c44 100755 --- a/proto/stride/mint/v1beta1/query.proto +++ b/proto/stride/mint/v1beta1/query.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "stride/mint/v1beta1/mint.proto"; -option go_package = "github.com/Stride-Labs/stride/x/mint/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/mint/types"; // Query provides defines the gRPC querier service. service Query { diff --git a/proto/stride/records/callbacks.proto b/proto/stride/records/callbacks.proto index 4305a340e5..f3aab20a3d 100755 --- a/proto/stride/records/callbacks.proto +++ b/proto/stride/records/callbacks.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package stride.records; -option go_package = "github.com/Stride-Labs/stride/x/records/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/records/types"; // ---------------------- Transfer Callback ---------------------- // message TransferCallback { uint64 deposit_record_id = 1; } diff --git a/proto/stride/records/genesis.proto b/proto/stride/records/genesis.proto index e96c4f215f..5d9b47191b 100644 --- a/proto/stride/records/genesis.proto +++ b/proto/stride/records/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/Stride-Labs/stride/x/records/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/records/types"; message UserRedemptionRecord { string id = 1; // {chain_id}.{epoch}.{sender} diff --git a/proto/stride/records/query.proto b/proto/stride/records/query.proto index c9087951bc..889fa205a7 100644 --- a/proto/stride/records/query.proto +++ b/proto/stride/records/query.proto @@ -7,7 +7,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "stride/records/genesis.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/Stride-Labs/stride/x/records/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/records/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/stakeibc/callbacks.proto b/proto/stride/stakeibc/callbacks.proto index ab848b9406..df741411d7 100755 --- a/proto/stride/stakeibc/callbacks.proto +++ b/proto/stride/stakeibc/callbacks.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package stride.stakeibc; -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/stride/stakeibc/delegation.proto b/proto/stride/stakeibc/delegation.proto index 0f6bc9bb19..8741e4fffe 100755 --- a/proto/stride/stakeibc/delegation.proto +++ b/proto/stride/stakeibc/delegation.proto @@ -3,7 +3,7 @@ package stride.stakeibc; import "stride/stakeibc/validator.proto"; -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message Delegation { string delegate_acct_address = 1; diff --git a/proto/stride/stakeibc/epoch_tracker.proto b/proto/stride/stakeibc/epoch_tracker.proto index 3c26006e80..b6dfb97cd3 100755 --- a/proto/stride/stakeibc/epoch_tracker.proto +++ b/proto/stride/stakeibc/epoch_tracker.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.stakeibc; -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message EpochTracker { string epoch_identifier = 1; diff --git a/proto/stride/stakeibc/genesis.proto b/proto/stride/stakeibc/genesis.proto index 16decdffe5..e6f81baa39 100644 --- a/proto/stride/stakeibc/genesis.proto +++ b/proto/stride/stakeibc/genesis.proto @@ -8,7 +8,7 @@ import "stride/stakeibc/host_zone.proto"; import "stride/stakeibc/epoch_tracker.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; // GenesisState defines the stakeibc module's genesis state. message GenesisState { diff --git a/proto/stride/stakeibc/gov.proto b/proto/stride/stakeibc/gov.proto index c2d6e88f9c..028e44601d 100644 --- a/proto/stride/stakeibc/gov.proto +++ b/proto/stride/stakeibc/gov.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package stride.stakeibc; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message AddValidatorProposal { option (gogoproto.equal) = true; diff --git a/proto/stride/stakeibc/host_zone.proto b/proto/stride/stakeibc/host_zone.proto index 88c97b277c..0351a187ce 100755 --- a/proto/stride/stakeibc/host_zone.proto +++ b/proto/stride/stakeibc/host_zone.proto @@ -6,7 +6,7 @@ import "stride/stakeibc/ica_account.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; // next id: 19 message HostZone { diff --git a/proto/stride/stakeibc/ica_account.proto b/proto/stride/stakeibc/ica_account.proto index 5108ea8566..78c4977cb0 100755 --- a/proto/stride/stakeibc/ica_account.proto +++ b/proto/stride/stakeibc/ica_account.proto @@ -4,7 +4,7 @@ package stride.stakeibc; import "stride/stakeibc/delegation.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; enum ICAAccountType { DELEGATION = 0; diff --git a/proto/stride/stakeibc/min_validator_requirements.proto b/proto/stride/stakeibc/min_validator_requirements.proto index 00eb670060..35cedc03ed 100755 --- a/proto/stride/stakeibc/min_validator_requirements.proto +++ b/proto/stride/stakeibc/min_validator_requirements.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.stakeibc; -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message MinValidatorRequirements { int32 commission_rate = 1; diff --git a/proto/stride/stakeibc/packet.proto b/proto/stride/stakeibc/packet.proto index 90020546cc..075563b913 100755 --- a/proto/stride/stakeibc/packet.proto +++ b/proto/stride/stakeibc/packet.proto @@ -3,7 +3,7 @@ package stride.stakeibc; // this line is used by starport scaffolding # proto/packet/import -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message StakeibcPacketData { oneof packet { diff --git a/proto/stride/stakeibc/params.proto b/proto/stride/stakeibc/params.proto index 64e5b1a708..ecdae2a730 100755 --- a/proto/stride/stakeibc/params.proto +++ b/proto/stride/stakeibc/params.proto @@ -3,7 +3,7 @@ package stride.stakeibc; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; // Params defines the parameters for the module. // next id: 18 diff --git a/proto/stride/stakeibc/query.proto b/proto/stride/stakeibc/query.proto index e2f8ccb202..c786b923e4 100644 --- a/proto/stride/stakeibc/query.proto +++ b/proto/stride/stakeibc/query.proto @@ -11,7 +11,7 @@ import "stride/stakeibc/host_zone.proto"; import "stride/stakeibc/epoch_tracker.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/stakeibc/tx.proto b/proto/stride/stakeibc/tx.proto index d92f9e56b7..4269ab80ac 100755 --- a/proto/stride/stakeibc/tx.proto +++ b/proto/stride/stakeibc/tx.proto @@ -4,7 +4,7 @@ package stride.stakeibc; import "stride/stakeibc/ica_account.proto"; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; diff --git a/proto/stride/stakeibc/validator.proto b/proto/stride/stakeibc/validator.proto index 665721c011..7510906092 100755 --- a/proto/stride/stakeibc/validator.proto +++ b/proto/stride/stakeibc/validator.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package stride.stakeibc; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-Labs/stride/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message ValidatorExchangeRate { string internal_tokens_to_shares_rate = 1 [ diff --git a/proto/vesting/tx.proto b/proto/vesting/tx.proto index dbb5a3fde7..0d6516ed61 100644 --- a/proto/vesting/tx.proto +++ b/proto/vesting/tx.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/auth/v1beta1/auth.proto"; -option go_package = "github.com/Stride-Labs/stride/x/claim/vesting/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/vesting/types"; // Msg defines the bank Msg service. service Msg { diff --git a/proto/vesting/vesting.proto b/proto/vesting/vesting.proto index c464aefbfd..4c6ded87c6 100644 --- a/proto/vesting/vesting.proto +++ b/proto/vesting/vesting.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/auth/v1beta1/auth.proto"; -option go_package = "github.com/Stride-Labs/stride/x/claim/vesting/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/vesting/types"; // BaseVestingAccount implements the VestingAccount interface. It contains all // the necessary fields needed for any vesting account implementation. diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index e959e555f1..35d67e47d8 100644 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -24,5 +24,5 @@ cd .. # move proto files to the right places # # Note: Proto files are suffixed with the current binary version. -cp -r github.com/Stride-Labs/stride/* ./ +cp -r github.com/Stride-Labs/stride/v3/* ./ rm -rf github.com \ No newline at end of file diff --git a/testutil/keeper/claim.go b/testutil/keeper/claim.go index 8944b21c2e..6c6df6a114 100644 --- a/testutil/keeper/claim.go +++ b/testutil/keeper/claim.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/app" - "github.com/Stride-Labs/stride/x/claim/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/claim/keeper" ) func ClaimKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/epochs.go b/testutil/keeper/epochs.go index 71205042dc..8274cbe7e2 100644 --- a/testutil/keeper/epochs.go +++ b/testutil/keeper/epochs.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/app" - "github.com/Stride-Labs/stride/x/epochs/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/epochs/keeper" ) func EpochsKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/icacallbacks.go b/testutil/keeper/icacallbacks.go index 8a39fdde71..b0a02998e0 100644 --- a/testutil/keeper/icacallbacks.go +++ b/testutil/keeper/icacallbacks.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/app" - "github.com/Stride-Labs/stride/x/icacallbacks/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" ) func IcacallbacksKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/interchainquery.go b/testutil/keeper/interchainquery.go index f7f88edd92..ccdbbc1c25 100644 --- a/testutil/keeper/interchainquery.go +++ b/testutil/keeper/interchainquery.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/app" - "github.com/Stride-Labs/stride/x/interchainquery/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" ) func InterchainqueryKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/records.go b/testutil/keeper/records.go index b814b5f410..7a6c31d4a4 100644 --- a/testutil/keeper/records.go +++ b/testutil/keeper/records.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/app" - "github.com/Stride-Labs/stride/x/records/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/records/keeper" ) func RecordsKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/stakeibc.go b/testutil/keeper/stakeibc.go index 01c5ea98c3..ed329af0cf 100644 --- a/testutil/keeper/stakeibc.go +++ b/testutil/keeper/stakeibc.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/app" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" ) func StakeibcKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/network/network.go b/testutil/network/network.go index c61d43e6eb..885a289a04 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -17,7 +17,7 @@ import ( tmrand "github.com/tendermint/tendermint/libs/rand" tmdb "github.com/tendermint/tm-db" - "github.com/Stride-Labs/stride/app" + "github.com/Stride-Labs/stride/v3/app" ) type ( diff --git a/utils/utils.go b/utils/utils.go index 01688f8651..91d6f8e10a 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -13,8 +13,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - config "github.com/Stride-Labs/stride/cmd/strided/config" - recordstypes "github.com/Stride-Labs/stride/x/records/types" + config "github.com/Stride-Labs/stride/v3/cmd/strided/config" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" ) func FilterDepositRecords(arr []recordstypes.DepositRecord, condition func(recordstypes.DepositRecord) bool) (ret []recordstypes.DepositRecord) { diff --git a/x/claim/client/cli/cli_test.go b/x/claim/client/cli/cli_test.go index 74d5514ec6..95c153b7d6 100644 --- a/x/claim/client/cli/cli_test.go +++ b/x/claim/client/cli/cli_test.go @@ -15,21 +15,21 @@ import ( clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" banktestutil "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - strideclitestutil "github.com/Stride-Labs/stride/testutil/cli" + strideclitestutil "github.com/Stride-Labs/stride/v3/testutil/cli" - "github.com/Stride-Labs/stride/testutil/network" + "github.com/Stride-Labs/stride/v3/testutil/network" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/Stride-Labs/stride/x/claim/client/cli" + "github.com/Stride-Labs/stride/v3/x/claim/client/cli" - "github.com/Stride-Labs/stride/app" - cmdcfg "github.com/Stride-Labs/stride/cmd/strided/config" - "github.com/Stride-Labs/stride/x/claim/types" - claimtypes "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/app" + cmdcfg "github.com/Stride-Labs/stride/v3/cmd/strided/config" + "github.com/Stride-Labs/stride/v3/x/claim/types" + claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" ) var addr1 sdk.AccAddress diff --git a/x/claim/client/cli/query.go b/x/claim/client/cli/query.go index 4bc1462c7d..6a78d4577b 100644 --- a/x/claim/client/cli/query.go +++ b/x/claim/client/cli/query.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/claim/client/cli/tx.go b/x/claim/client/cli/tx.go index 355223b4f7..9c30574d2b 100644 --- a/x/claim/client/cli/tx.go +++ b/x/claim/client/cli/tx.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/claim/client/cli/tx_claim_free_amount.go b/x/claim/client/cli/tx_claim_free_amount.go index bc67e62a0e..1e858eeb0c 100644 --- a/x/claim/client/cli/tx_claim_free_amount.go +++ b/x/claim/client/cli/tx_claim_free_amount.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func CmdClaimFreeAmount() *cobra.Command { diff --git a/x/claim/client/cli/tx_create_airdrop.go b/x/claim/client/cli/tx_create_airdrop.go index 8d07ac9c2a..7b3456a767 100644 --- a/x/claim/client/cli/tx_create_airdrop.go +++ b/x/claim/client/cli/tx_create_airdrop.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func CmdCreateAirdrop() *cobra.Command { diff --git a/x/claim/client/cli/tx_delete_airdrop.go b/x/claim/client/cli/tx_delete_airdrop.go index c8f8fba785..1e8a83ffec 100644 --- a/x/claim/client/cli/tx_delete_airdrop.go +++ b/x/claim/client/cli/tx_delete_airdrop.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func CmdDeleteAirdrop() *cobra.Command { diff --git a/x/claim/client/cli/tx_set_airdrop_allocations.go b/x/claim/client/cli/tx_set_airdrop_allocations.go index a0d79aedaa..8b42b31734 100644 --- a/x/claim/client/cli/tx_set_airdrop_allocations.go +++ b/x/claim/client/cli/tx_set_airdrop_allocations.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func CmdSetAirdropAllocations() *cobra.Command { diff --git a/x/claim/genesis_test.go b/x/claim/genesis_test.go index f7cf50bc90..e7525b1ac6 100644 --- a/x/claim/genesis_test.go +++ b/x/claim/genesis_test.go @@ -9,9 +9,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/claim/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func TestGenesis(t *testing.T) { diff --git a/x/claim/handler.go b/x/claim/handler.go index fa67ff81b9..bcde5cbe97 100644 --- a/x/claim/handler.go +++ b/x/claim/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/x/claim/keeper" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/keeper" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // NewHandler returns claim module messages diff --git a/x/claim/keeper/claim.go b/x/claim/keeper/claim.go index 2b5927ce0d..bc310affef 100644 --- a/x/claim/keeper/claim.go +++ b/x/claim/keeper/claim.go @@ -13,10 +13,10 @@ import ( authvestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" "github.com/gogo/protobuf/proto" - "github.com/Stride-Labs/stride/utils" - "github.com/Stride-Labs/stride/x/claim/types" - vestingtypes "github.com/Stride-Labs/stride/x/claim/vesting/types" - epochstypes "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-Labs/stride/v3/x/claim/types" + vestingtypes "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" ) func (k Keeper) LoadAllocationData(ctx sdk.Context, allocationData string) bool { diff --git a/x/claim/keeper/claim_test.go b/x/claim/keeper/claim_test.go index 460bde5803..4c5389640c 100644 --- a/x/claim/keeper/claim_test.go +++ b/x/claim/keeper/claim_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // Test functionality for loading allocation data(csv) diff --git a/x/claim/keeper/genesis.go b/x/claim/keeper/genesis.go index 25dcf5d4a1..5422424080 100644 --- a/x/claim/keeper/genesis.go +++ b/x/claim/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/claim/keeper/grpc_query.go b/x/claim/keeper/grpc_query.go index 8421a293ec..ce1dcbdf34 100644 --- a/x/claim/keeper/grpc_query.go +++ b/x/claim/keeper/grpc_query.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/claim/keeper/hooks.go b/x/claim/keeper/hooks.go index a42cfe6652..2da7337aef 100644 --- a/x/claim/keeper/hooks.go +++ b/x/claim/keeper/hooks.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochstypes "github.com/Stride-Labs/stride/x/epochs/types" - stakingibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + stakingibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func (k Keeper) AfterDelegationModified(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) { diff --git a/x/claim/keeper/keeper.go b/x/claim/keeper/keeper.go index 43814caeb0..726bf3eb2c 100644 --- a/x/claim/keeper/keeper.go +++ b/x/claim/keeper/keeper.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // Keeper struct diff --git a/x/claim/keeper/keeper_test.go b/x/claim/keeper/keeper_test.go index b4e2b5331d..fee3251d9e 100644 --- a/x/claim/keeper/keeper_test.go +++ b/x/claim/keeper/keeper_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/Stride-Labs/stride/app" - "github.com/Stride-Labs/stride/x/claim/types" - minttypes "github.com/Stride-Labs/stride/x/mint/types" + "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/claim/types" + minttypes "github.com/Stride-Labs/stride/v3/x/mint/types" ) type KeeperTestSuite struct { diff --git a/x/claim/keeper/msg_server.go b/x/claim/keeper/msg_server.go index 83894faab6..d4491f87d6 100644 --- a/x/claim/keeper/msg_server.go +++ b/x/claim/keeper/msg_server.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) type msgServer struct { diff --git a/x/claim/keeper/msg_server_test.go b/x/claim/keeper/msg_server_test.go index beaa8e5beb..82cdbb8473 100644 --- a/x/claim/keeper/msg_server_test.go +++ b/x/claim/keeper/msg_server_test.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/claim/keeper" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/keeper" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func (suite *KeeperTestSuite) TestSetAirdropAllocationsForMultiAirdrops() { diff --git a/x/claim/keeper/params.go b/x/claim/keeper/params.go index 8631c771ca..67f55843c5 100644 --- a/x/claim/keeper/params.go +++ b/x/claim/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // GetParams get params diff --git a/x/claim/keeper/query.go b/x/claim/keeper/query.go index 62fd954123..21acb224f1 100644 --- a/x/claim/keeper/query.go +++ b/x/claim/keeper/query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" abci "github.com/tendermint/tendermint/abci/types" ) diff --git a/x/claim/module.go b/x/claim/module.go index a3ee38420b..b70254ede1 100644 --- a/x/claim/module.go +++ b/x/claim/module.go @@ -17,10 +17,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/x/claim/client/cli" - "github.com/Stride-Labs/stride/x/claim/client/rest" - "github.com/Stride-Labs/stride/x/claim/keeper" - "github.com/Stride-Labs/stride/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/client/cli" + "github.com/Stride-Labs/stride/v3/x/claim/client/rest" + "github.com/Stride-Labs/stride/v3/x/claim/keeper" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) var ( diff --git a/x/claim/types/expected_keepers.go b/x/claim/types/expected_keepers.go index 91a448c46a..5c912828ed 100644 --- a/x/claim/types/expected_keepers.go +++ b/x/claim/types/expected_keepers.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - epochstypes "github.com/Stride-Labs/stride/x/epochs/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // BankKeeper defines the banking contract that must be fulfilled when diff --git a/x/claim/types/msgs.go b/x/claim/types/msgs.go index a0fe2f295d..3e4d639926 100644 --- a/x/claim/types/msgs.go +++ b/x/claim/types/msgs.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" ) // Msg type for MsgSetAirdropAllocations diff --git a/x/claim/vesting/client/cli/tx.go b/x/claim/vesting/client/cli/tx.go index d4f6418cc5..2a83fb35ef 100644 --- a/x/claim/vesting/client/cli/tx.go +++ b/x/claim/vesting/client/cli/tx.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/Stride-Labs/stride/x/claim/vesting/types" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" ) // GetTxCmd returns stride vesting module's transaction commands. diff --git a/x/claim/vesting/handler.go b/x/claim/vesting/handler.go index 989cb67179..e70396b267 100644 --- a/x/claim/vesting/handler.go +++ b/x/claim/vesting/handler.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/Stride-Labs/stride/x/claim/vesting/types" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" ) // NewHandler returns a handler for x/auth message types. diff --git a/x/claim/vesting/module.go b/x/claim/vesting/module.go index a71c92001f..f3414565a8 100644 --- a/x/claim/vesting/module.go +++ b/x/claim/vesting/module.go @@ -15,8 +15,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/Stride-Labs/stride/x/claim/vesting/client/cli" - "github.com/Stride-Labs/stride/x/claim/vesting/types" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/client/cli" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" ) var ( diff --git a/x/claim/vesting/msg_server.go b/x/claim/vesting/msg_server.go index 819e8dbf35..385901127c 100644 --- a/x/claim/vesting/msg_server.go +++ b/x/claim/vesting/msg_server.go @@ -3,7 +3,7 @@ package vesting import ( "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/Stride-Labs/stride/x/claim/vesting/types" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" ) type msgServer struct { diff --git a/x/claim/vesting/types/codec.go b/x/claim/vesting/types/codec.go index 9e01e27b70..4a2cccb5cf 100644 --- a/x/claim/vesting/types/codec.go +++ b/x/claim/vesting/types/codec.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/msgservice" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-Labs/stride/x/claim/vesting/exported" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/exported" ) // RegisterLegacyAminoCodec registers the vesting interfaces and concrete types on the diff --git a/x/claim/vesting/types/common_test.go b/x/claim/vesting/types/common_test.go index 31bcf68627..82ff155d21 100644 --- a/x/claim/vesting/types/common_test.go +++ b/x/claim/vesting/types/common_test.go @@ -1,7 +1,7 @@ package types_test import ( - strideApp "github.com/Stride-Labs/stride/app" + strideApp "github.com/Stride-Labs/stride/v3/app" ) var ( diff --git a/x/claim/vesting/types/vesting_account.go b/x/claim/vesting/types/vesting_account.go index 04770fd845..45885d6090 100644 --- a/x/claim/vesting/types/vesting_account.go +++ b/x/claim/vesting/types/vesting_account.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-Labs/stride/utils" - vestexported "github.com/Stride-Labs/stride/x/claim/vesting/exported" + "github.com/Stride-Labs/stride/v3/utils" + vestexported "github.com/Stride-Labs/stride/v3/x/claim/vesting/exported" ) // Compile-time type assertions diff --git a/x/claim/vesting/types/vesting_account_test.go b/x/claim/vesting/types/vesting_account_test.go index cb72503de7..984c3ef0be 100644 --- a/x/claim/vesting/types/vesting_account_test.go +++ b/x/claim/vesting/types/vesting_account_test.go @@ -11,7 +11,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-Labs/stride/x/claim/vesting/types" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" ) var ( diff --git a/x/epochs/client/cli/query.go b/x/epochs/client/cli/query.go index c001c1b9cd..c2f073628c 100644 --- a/x/epochs/client/cli/query.go +++ b/x/epochs/client/cli/query.go @@ -12,7 +12,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/epochs/genesis.go b/x/epochs/genesis.go index 99fedb49f1..8f0cc4ce28 100644 --- a/x/epochs/genesis.go +++ b/x/epochs/genesis.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/epochs/keeper" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/keeper" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/epochs/genesis_test.go b/x/epochs/genesis_test.go index 47d9e44b69..79aa1d3a71 100644 --- a/x/epochs/genesis_test.go +++ b/x/epochs/genesis_test.go @@ -3,11 +3,12 @@ package epochs_test import ( "testing" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/epochs" - "github.com/Stride-Labs/stride/x/epochs/types" "github.com/stretchr/testify/require" + + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/epochs" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) func TestGenesis(t *testing.T) { diff --git a/x/epochs/handler.go b/x/epochs/handler.go index d2ab25044d..ffd3f8088e 100644 --- a/x/epochs/handler.go +++ b/x/epochs/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/x/epochs/keeper" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/keeper" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // NewHandler returns a handler for epochs module messages diff --git a/x/epochs/keeper/abci.go b/x/epochs/keeper/abci.go index 1e4e7dc208..b0f35ed10f 100644 --- a/x/epochs/keeper/abci.go +++ b/x/epochs/keeper/abci.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // BeginBlocker of epochs module diff --git a/x/epochs/keeper/abci_test.go b/x/epochs/keeper/abci_test.go index a069915d6c..53af7fd7e6 100644 --- a/x/epochs/keeper/abci_test.go +++ b/x/epochs/keeper/abci_test.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/Stride-Labs/stride/x/epochs" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) func (suite *KeeperTestSuite) TestEpochInfoChangesBeginBlockerAndInitGenesis() { diff --git a/x/epochs/keeper/epoch.go b/x/epochs/keeper/epoch.go index 7ec6ce564a..0aa8819da0 100644 --- a/x/epochs/keeper/epoch.go +++ b/x/epochs/keeper/epoch.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // GetEpochInfo returns epoch info by identifier diff --git a/x/epochs/keeper/epoch_test.go b/x/epochs/keeper/epoch_test.go index 85526a972f..f3210f576d 100644 --- a/x/epochs/keeper/epoch_test.go +++ b/x/epochs/keeper/epoch_test.go @@ -5,7 +5,7 @@ import ( _ "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) func (suite *KeeperTestSuite) TestEpochLifeCycle() { diff --git a/x/epochs/keeper/grpc_query.go b/x/epochs/keeper/grpc_query.go index 5f343299b9..c1ebb1dce6 100644 --- a/x/epochs/keeper/grpc_query.go +++ b/x/epochs/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/epochs/keeper/grpc_query_test.go b/x/epochs/keeper/grpc_query_test.go index 57a89917f4..f0f18f04b7 100644 --- a/x/epochs/keeper/grpc_query_test.go +++ b/x/epochs/keeper/grpc_query_test.go @@ -6,7 +6,7 @@ import ( _ "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) func (suite *KeeperTestSuite) TestQueryEpochInfos() { diff --git a/x/epochs/keeper/hooks.go b/x/epochs/keeper/hooks.go index 80f8023d78..bf56203a81 100644 --- a/x/epochs/keeper/hooks.go +++ b/x/epochs/keeper/hooks.go @@ -1,8 +1,9 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/epochs/types" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // AfterEpochEnd executes the indicated hook after epochs ends diff --git a/x/epochs/keeper/keeper.go b/x/epochs/keeper/keeper.go index 0037d9761b..81a93258d2 100644 --- a/x/epochs/keeper/keeper.go +++ b/x/epochs/keeper/keeper.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/tendermint/tendermint/libs/log" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // Keeper of this module maintains collections of epochs and hooks. diff --git a/x/epochs/keeper/keeper_test.go b/x/epochs/keeper/keeper_test.go index 992b93e118..99171122e0 100644 --- a/x/epochs/keeper/keeper_test.go +++ b/x/epochs/keeper/keeper_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/app/apptesting" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) type KeeperTestSuite struct { diff --git a/x/epochs/module.go b/x/epochs/module.go index 3f6cc750e9..a15e44a942 100644 --- a/x/epochs/module.go +++ b/x/epochs/module.go @@ -20,10 +20,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/x/epochs/client/cli" - "github.com/Stride-Labs/stride/x/epochs/keeper" - "github.com/Stride-Labs/stride/x/epochs/simulation" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/client/cli" + "github.com/Stride-Labs/stride/v3/x/epochs/keeper" + "github.com/Stride-Labs/stride/v3/x/epochs/simulation" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) var ( diff --git a/x/epochs/simulation/genesis.go b/x/epochs/simulation/genesis.go index 6bd199ac6d..457b8c076b 100644 --- a/x/epochs/simulation/genesis.go +++ b/x/epochs/simulation/genesis.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // RandomizedGenState generates a random GenesisState for mint diff --git a/x/icacallbacks/client/cli/query.go b/x/icacallbacks/client/cli/query.go index 204f2fbd83..e9f38ed9ee 100644 --- a/x/icacallbacks/client/cli/query.go +++ b/x/icacallbacks/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/icacallbacks/client/cli/query_callback_data.go b/x/icacallbacks/client/cli/query_callback_data.go index 90b665e7d1..4a471a8b4b 100644 --- a/x/icacallbacks/client/cli/query_callback_data.go +++ b/x/icacallbacks/client/cli/query_callback_data.go @@ -3,10 +3,11 @@ package cli import ( "context" - "github.com/Stride-Labs/stride/x/icacallbacks/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func CmdListCallbackData() *cobra.Command { diff --git a/x/icacallbacks/client/cli/query_callback_data_test.go b/x/icacallbacks/client/cli/query_callback_data_test.go index 0f9fc97e41..3ef3dcb39b 100644 --- a/x/icacallbacks/client/cli/query_callback_data_test.go +++ b/x/icacallbacks/client/cli/query_callback_data_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/testutil/network" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/icacallbacks/client/cli" - "github.com/Stride-Labs/stride/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/client/cli" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // Prevent strconv unused error diff --git a/x/icacallbacks/client/cli/query_params.go b/x/icacallbacks/client/cli/query_params.go index 771ad10aef..186be4e619 100644 --- a/x/icacallbacks/client/cli/query_params.go +++ b/x/icacallbacks/client/cli/query_params.go @@ -3,10 +3,11 @@ package cli import ( "context" - "github.com/Stride-Labs/stride/x/icacallbacks/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/icacallbacks/client/cli/tx.go b/x/icacallbacks/client/cli/tx.go index dad78c2f06..0ad81d2592 100644 --- a/x/icacallbacks/client/cli/tx.go +++ b/x/icacallbacks/client/cli/tx.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/Stride-Labs/stride/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/icacallbacks/genesis.go b/x/icacallbacks/genesis.go index bf5b0a6902..52ebc2b766 100644 --- a/x/icacallbacks/genesis.go +++ b/x/icacallbacks/genesis.go @@ -3,8 +3,8 @@ package icacallbacks import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/icacallbacks/keeper" - "github.com/Stride-Labs/stride/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/icacallbacks/genesis_test.go b/x/icacallbacks/genesis_test.go index ea75eb54dc..43d459cb7f 100644 --- a/x/icacallbacks/genesis_test.go +++ b/x/icacallbacks/genesis_test.go @@ -3,11 +3,12 @@ package icacallbacks_test import ( "testing" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/icacallbacks" - "github.com/Stride-Labs/stride/x/icacallbacks/types" "github.com/stretchr/testify/require" + + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func TestGenesis(t *testing.T) { diff --git a/x/icacallbacks/handler.go b/x/icacallbacks/handler.go index 9edb568b6f..52c6f6e0cc 100644 --- a/x/icacallbacks/handler.go +++ b/x/icacallbacks/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/x/icacallbacks/keeper" - "github.com/Stride-Labs/stride/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // NewHandler ... diff --git a/x/icacallbacks/keeper/callback_data.go b/x/icacallbacks/keeper/callback_data.go index a18d186912..dc1ce52fe1 100644 --- a/x/icacallbacks/keeper/callback_data.go +++ b/x/icacallbacks/keeper/callback_data.go @@ -1,9 +1,10 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/icacallbacks/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // SetCallbackData set a specific callbackData in the store from its index diff --git a/x/icacallbacks/keeper/callback_data_test.go b/x/icacallbacks/keeper/callback_data_test.go index cec11a5f9b..7235d30899 100644 --- a/x/icacallbacks/keeper/callback_data_test.go +++ b/x/icacallbacks/keeper/callback_data_test.go @@ -4,12 +4,13 @@ import ( "strconv" "testing" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/icacallbacks/keeper" - "github.com/Stride-Labs/stride/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" + + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // Prevent strconv unused error diff --git a/x/icacallbacks/keeper/grpc_query.go b/x/icacallbacks/keeper/grpc_query.go index 224940d8e7..8387b52dfe 100644 --- a/x/icacallbacks/keeper/grpc_query.go +++ b/x/icacallbacks/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/icacallbacks/keeper/grpc_query_callback_data.go b/x/icacallbacks/keeper/grpc_query_callback_data.go index 3b0f609287..b06992eb60 100644 --- a/x/icacallbacks/keeper/grpc_query_callback_data.go +++ b/x/icacallbacks/keeper/grpc_query_callback_data.go @@ -3,12 +3,13 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/icacallbacks/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func (k Keeper) CallbackDataAll(c context.Context, req *types.QueryAllCallbackDataRequest) (*types.QueryAllCallbackDataResponse, error) { diff --git a/x/icacallbacks/keeper/grpc_query_callback_data_test.go b/x/icacallbacks/keeper/grpc_query_callback_data_test.go index a2921888ec..201b46b6cc 100644 --- a/x/icacallbacks/keeper/grpc_query_callback_data_test.go +++ b/x/icacallbacks/keeper/grpc_query_callback_data_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/icacallbacks/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // Prevent strconv unused error diff --git a/x/icacallbacks/keeper/grpc_query_params.go b/x/icacallbacks/keeper/grpc_query_params.go index b19bd0dbdf..adce4f4e99 100644 --- a/x/icacallbacks/keeper/grpc_query_params.go +++ b/x/icacallbacks/keeper/grpc_query_params.go @@ -3,10 +3,11 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/icacallbacks/keeper/grpc_query_params_test.go b/x/icacallbacks/keeper/grpc_query_params_test.go index 06ee9d1bfa..d8ecafe8ea 100644 --- a/x/icacallbacks/keeper/grpc_query_params_test.go +++ b/x/icacallbacks/keeper/grpc_query_params_test.go @@ -3,10 +3,11 @@ package keeper_test import ( "testing" - testkeeper "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" + + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/icacallbacks/keeper/keeper.go b/x/icacallbacks/keeper/keeper.go index a327adfd10..b858436c69 100644 --- a/x/icacallbacks/keeper/keeper.go +++ b/x/icacallbacks/keeper/keeper.go @@ -14,8 +14,8 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" - "github.com/Stride-Labs/stride/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" diff --git a/x/icacallbacks/keeper/msg_server.go b/x/icacallbacks/keeper/msg_server.go index e9dce6caef..c040e59a5c 100644 --- a/x/icacallbacks/keeper/msg_server.go +++ b/x/icacallbacks/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) type msgServer struct { diff --git a/x/icacallbacks/keeper/params.go b/x/icacallbacks/keeper/params.go index 347e00199f..a98a8e8a59 100644 --- a/x/icacallbacks/keeper/params.go +++ b/x/icacallbacks/keeper/params.go @@ -1,8 +1,9 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // GetParams get all parameters as types.Params diff --git a/x/icacallbacks/keeper/params_test.go b/x/icacallbacks/keeper/params_test.go index 11a15d542a..2dd907fe82 100644 --- a/x/icacallbacks/keeper/params_test.go +++ b/x/icacallbacks/keeper/params_test.go @@ -3,9 +3,10 @@ package keeper_test import ( "testing" - testkeeper "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/x/icacallbacks/types" "github.com/stretchr/testify/require" + + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func TestGetParams(t *testing.T) { diff --git a/x/icacallbacks/module.go b/x/icacallbacks/module.go index 05598fac5e..9ae49eefe7 100644 --- a/x/icacallbacks/module.go +++ b/x/icacallbacks/module.go @@ -17,9 +17,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/x/icacallbacks/client/cli" - "github.com/Stride-Labs/stride/x/icacallbacks/keeper" - "github.com/Stride-Labs/stride/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/client/cli" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) var ( diff --git a/x/icacallbacks/module_ibc.go b/x/icacallbacks/module_ibc.go index bbb6ccc294..a602bdf39e 100644 --- a/x/icacallbacks/module_ibc.go +++ b/x/icacallbacks/module_ibc.go @@ -12,7 +12,7 @@ import ( "github.com/gogo/protobuf/proto" "github.com/tendermint/tendermint/libs/log" - "github.com/Stride-Labs/stride/x/icacallbacks/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" ) // IBCModule implements the ICS26 interface for interchain accounts controller chains diff --git a/x/icacallbacks/module_simulation.go b/x/icacallbacks/module_simulation.go index c8202fe19d..618ef2ab7d 100644 --- a/x/icacallbacks/module_simulation.go +++ b/x/icacallbacks/module_simulation.go @@ -3,15 +3,16 @@ package icacallbacks import ( "math/rand" - "github.com/Stride-Labs/stride/testutil/sample" - icacallbackssimulation "github.com/Stride-Labs/stride/x/icacallbacks/simulation" - "github.com/Stride-Labs/stride/x/icacallbacks/types" "github.com/cosmos/cosmos-sdk/baseapp" simappparams "github.com/cosmos/cosmos-sdk/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + + "github.com/Stride-Labs/stride/v3/testutil/sample" + icacallbackssimulation "github.com/Stride-Labs/stride/v3/x/icacallbacks/simulation" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // avoid unused import issue diff --git a/x/icacallbacks/types/genesis_test.go b/x/icacallbacks/types/genesis_test.go index f7e66a35a1..fb67827642 100644 --- a/x/icacallbacks/types/genesis_test.go +++ b/x/icacallbacks/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/interchainquery/genesis.go b/x/interchainquery/genesis.go index 7b63c43d50..872a720696 100644 --- a/x/interchainquery/genesis.go +++ b/x/interchainquery/genesis.go @@ -3,8 +3,8 @@ package interchainquery import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/interchainquery/keeper" - "github.com/Stride-Labs/stride/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/interchainquery/handler.go b/x/interchainquery/handler.go index 1421ca7fa0..208a144b82 100644 --- a/x/interchainquery/handler.go +++ b/x/interchainquery/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/x/interchainquery/keeper" - "github.com/Stride-Labs/stride/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) // NewHandler returns a handler for interchainquery module messages diff --git a/x/interchainquery/keeper/abci.go b/x/interchainquery/keeper/abci.go index 202c2fdc5d..3ce5412804 100644 --- a/x/interchainquery/keeper/abci.go +++ b/x/interchainquery/keeper/abci.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) // EndBlocker of interchainquery module diff --git a/x/interchainquery/keeper/keeper.go b/x/interchainquery/keeper/keeper.go index 56c0b2f4b4..c504717799 100644 --- a/x/interchainquery/keeper/keeper.go +++ b/x/interchainquery/keeper/keeper.go @@ -10,7 +10,7 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" "github.com/tendermint/tendermint/libs/log" - "github.com/Stride-Labs/stride/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) // Keeper of this module maintains collections of registered zones. diff --git a/x/interchainquery/keeper/keeper_test.go b/x/interchainquery/keeper/keeper_test.go index 42c50299fa..828800e58c 100644 --- a/x/interchainquery/keeper/keeper_test.go +++ b/x/interchainquery/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/app/apptesting" - "github.com/Stride-Labs/stride/x/interchainquery/keeper" - "github.com/Stride-Labs/stride/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) type KeeperTestSuite struct { diff --git a/x/interchainquery/keeper/msg_server.go b/x/interchainquery/keeper/msg_server.go index 7ad778c52a..cac71e594b 100644 --- a/x/interchainquery/keeper/msg_server.go +++ b/x/interchainquery/keeper/msg_server.go @@ -14,7 +14,7 @@ import ( tmclienttypes "github.com/cosmos/ibc-go/v3/modules/light-clients/07-tendermint/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) type msgServer struct { diff --git a/x/interchainquery/keeper/msg_submit_query_response_test.go b/x/interchainquery/keeper/msg_submit_query_response_test.go index e1083b7f36..8e3fc6cba9 100644 --- a/x/interchainquery/keeper/msg_submit_query_response_test.go +++ b/x/interchainquery/keeper/msg_submit_query_response_test.go @@ -9,7 +9,7 @@ import ( _ "github.com/stretchr/testify/suite" "github.com/tendermint/tendermint/proto/tendermint/crypto" - "github.com/Stride-Labs/stride/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) const ( diff --git a/x/interchainquery/keeper/new_query_test.go b/x/interchainquery/keeper/new_query_test.go index 5b87b35669..72712fc183 100644 --- a/x/interchainquery/keeper/new_query_test.go +++ b/x/interchainquery/keeper/new_query_test.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/stretchr/testify/suite" - icqtypes "github.com/Stride-Labs/stride/x/interchainquery/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) type NewQueryTestCase struct { diff --git a/x/interchainquery/keeper/queries.go b/x/interchainquery/keeper/queries.go index 52be181e7e..9dba7ed7a8 100644 --- a/x/interchainquery/keeper/queries.go +++ b/x/interchainquery/keeper/queries.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/tendermint/tendermint/crypto" - "github.com/Stride-Labs/stride/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) func GenerateQueryHash(connectionId string, chainId string, queryType string, request []byte, module string, height int64) string { diff --git a/x/interchainquery/module.go b/x/interchainquery/module.go index 4ba26a815c..7391d1f5b3 100644 --- a/x/interchainquery/module.go +++ b/x/interchainquery/module.go @@ -18,9 +18,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/x/interchainquery/keeper" + "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" - "github.com/Stride-Labs/stride/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) var ( diff --git a/x/mint/client/cli/cli_test.go b/x/mint/client/cli/cli_test.go index 4d0a106cdb..9e2a6aacd9 100644 --- a/x/mint/client/cli/cli_test.go +++ b/x/mint/client/cli/cli_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/Stride-Labs/stride/app" - "github.com/Stride-Labs/stride/x/mint/client/cli" + "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/mint/client/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index ea4b73e05b..f88b88891c 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/mint/types" + "github.com/Stride-Labs/stride/v3/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/x/mint/client/rest/grpc_query_test.go b/x/mint/client/rest/grpc_query_test.go index f54aa77c17..7ab8167b40 100644 --- a/x/mint/client/rest/grpc_query_test.go +++ b/x/mint/client/rest/grpc_query_test.go @@ -14,8 +14,8 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/app" - minttypes "github.com/Stride-Labs/stride/x/mint/types" + "github.com/Stride-Labs/stride/v3/app" + minttypes "github.com/Stride-Labs/stride/v3/x/mint/types" "github.com/cosmos/cosmos-sdk/testutil/network" ) diff --git a/x/mint/client/rest/query.go b/x/mint/client/rest/query.go index cdfeacf317..8b7d887bf6 100644 --- a/x/mint/client/rest/query.go +++ b/x/mint/client/rest/query.go @@ -6,7 +6,7 @@ import ( "github.com/gorilla/mux" - "github.com/Stride-Labs/stride/x/mint/types" + "github.com/Stride-Labs/stride/v3/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/types/rest" diff --git a/x/mint/genesis.go b/x/mint/genesis.go index b59b9c6556..5d47d2eec5 100644 --- a/x/mint/genesis.go +++ b/x/mint/genesis.go @@ -3,8 +3,8 @@ package mint import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/mint/keeper" - "github.com/Stride-Labs/stride/x/mint/types" + "github.com/Stride-Labs/stride/v3/x/mint/keeper" + "github.com/Stride-Labs/stride/v3/x/mint/types" ) // InitGenesis new mint genesis. diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index 86fe62598c..f46167d37c 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/mint/types" + "github.com/Stride-Labs/stride/v3/x/mint/types" ) var _ types.QueryServer = Querier{} diff --git a/x/mint/keeper/hooks.go b/x/mint/keeper/hooks.go index f07176dafb..ecbba8798a 100644 --- a/x/mint/keeper/hooks.go +++ b/x/mint/keeper/hooks.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - epochstypes "github.com/Stride-Labs/stride/x/epochs/types" - "github.com/Stride-Labs/stride/x/mint/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/mint/types" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index 355d8dae34..8659497bdb 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -9,7 +9,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-Labs/stride/x/mint/types" + "github.com/Stride-Labs/stride/v3/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/mint/module.go b/x/mint/module.go index ea6ae6b006..7bf0f03713 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -17,12 +17,12 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/x/mint/client/cli" - "github.com/Stride-Labs/stride/x/mint/client/rest" - "github.com/Stride-Labs/stride/x/mint/keeper" + "github.com/Stride-Labs/stride/v3/x/mint/client/cli" + "github.com/Stride-Labs/stride/v3/x/mint/client/rest" + "github.com/Stride-Labs/stride/v3/x/mint/keeper" - //"github.com/Stride-Labs/stride/x/mint/simulation" - "github.com/Stride-Labs/stride/x/mint/types" + //"github.com/Stride-Labs/stride/v3/x/mint/simulation" + "github.com/Stride-Labs/stride/v3/x/mint/types" ) var ( diff --git a/x/mint/types/expected_keepers.go b/x/mint/types/expected_keepers.go index de3cd94b6a..e60f0f55fd 100644 --- a/x/mint/types/expected_keepers.go +++ b/x/mint/types/expected_keepers.go @@ -1,7 +1,7 @@ package types // noalias import ( - epochstypes "github.com/Stride-Labs/stride/x/epochs/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" diff --git a/x/mint/types/params.go b/x/mint/types/params.go index cd5de6e009..79ff43bc28 100644 --- a/x/mint/types/params.go +++ b/x/mint/types/params.go @@ -7,7 +7,7 @@ import ( yaml "gopkg.in/yaml.v2" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" diff --git a/x/records/client/cli/query.go b/x/records/client/cli/query.go index 80a3bfca5d..77309644e5 100644 --- a/x/records/client/cli/query.go +++ b/x/records/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/records/client/cli/query_deposit_record.go b/x/records/client/cli/query_deposit_record.go index 6a7531b3e8..5edf86ee9f 100644 --- a/x/records/client/cli/query_deposit_record.go +++ b/x/records/client/cli/query_deposit_record.go @@ -4,10 +4,11 @@ import ( "context" "strconv" - "github.com/Stride-Labs/stride/x/records/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/records/types" ) func CmdListDepositRecord() *cobra.Command { diff --git a/x/records/client/cli/query_deposit_record_test.go b/x/records/client/cli/query_deposit_record_test.go index d222f3a2e3..c6f146bcd2 100644 --- a/x/records/client/cli/query_deposit_record_test.go +++ b/x/records/client/cli/query_deposit_record_test.go @@ -11,10 +11,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/testutil/network" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/records/client/cli" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/client/cli" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func networkWithDepositRecordObjects(t *testing.T, n int) (*network.Network, []types.DepositRecord) { diff --git a/x/records/client/cli/query_epoch_unbonding_record.go b/x/records/client/cli/query_epoch_unbonding_record.go index c20e307eec..ac747e667c 100644 --- a/x/records/client/cli/query_epoch_unbonding_record.go +++ b/x/records/client/cli/query_epoch_unbonding_record.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func CmdListEpochUnbondingRecord() *cobra.Command { diff --git a/x/records/client/cli/query_params.go b/x/records/client/cli/query_params.go index 63f44cefb5..a488e540e9 100644 --- a/x/records/client/cli/query_params.go +++ b/x/records/client/cli/query_params.go @@ -3,10 +3,11 @@ package cli import ( "context" - "github.com/Stride-Labs/stride/x/records/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/records/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/records/client/cli/query_user_redemption_record.go b/x/records/client/cli/query_user_redemption_record.go index 06e5756d72..ee5889587c 100644 --- a/x/records/client/cli/query_user_redemption_record.go +++ b/x/records/client/cli/query_user_redemption_record.go @@ -3,10 +3,11 @@ package cli import ( "context" - "github.com/Stride-Labs/stride/x/records/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/records/types" ) func CmdListUserRedemptionRecord() *cobra.Command { diff --git a/x/records/client/cli/query_user_redemption_record_test.go b/x/records/client/cli/query_user_redemption_record_test.go index d02610fed6..4ef19ff6ee 100644 --- a/x/records/client/cli/query_user_redemption_record_test.go +++ b/x/records/client/cli/query_user_redemption_record_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/testutil/network" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/records/client/cli" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/client/cli" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func networkWithUserRedemptionRecordObjects(t *testing.T, n int) (*network.Network, []types.UserRedemptionRecord) { diff --git a/x/records/client/cli/tx.go b/x/records/client/cli/tx.go index 9464d7ddf2..70d8e55aff 100644 --- a/x/records/client/cli/tx.go +++ b/x/records/client/cli/tx.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) var DefaultRelativePacketTimeoutTimestamp = cast.ToUint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/records/genesis.go b/x/records/genesis.go index aecdb40be2..ba4feed7d6 100644 --- a/x/records/genesis.go +++ b/x/records/genesis.go @@ -3,8 +3,8 @@ package records import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/records/keeper" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/records/genesis_test.go b/x/records/genesis_test.go index 1f13c1eaf6..e262cc94da 100644 --- a/x/records/genesis_test.go +++ b/x/records/genesis_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/records" - "github.com/Stride-Labs/stride/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestGenesis(t *testing.T) { diff --git a/x/records/handler.go b/x/records/handler.go index 124740a25e..a5ad02830f 100644 --- a/x/records/handler.go +++ b/x/records/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/x/records/keeper" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // NewHandler ... diff --git a/x/records/keeper/callback_transfer.go b/x/records/keeper/callback_transfer.go index fbda7c93ad..8be4489a5b 100644 --- a/x/records/keeper/callback_transfer.go +++ b/x/records/keeper/callback_transfer.go @@ -5,7 +5,7 @@ import ( ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/records/keeper/callback_transfer_test.go b/x/records/keeper/callback_transfer_test.go index e0ed81631d..562097d8c8 100644 --- a/x/records/keeper/callback_transfer_test.go +++ b/x/records/keeper/callback_transfer_test.go @@ -6,9 +6,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordskeeper "github.com/Stride-Labs/stride/x/records/keeper" - "github.com/Stride-Labs/stride/x/records/types" - recordtypes "github.com/Stride-Labs/stride/x/records/types" + recordskeeper "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" ) const chainId = "GAIA" diff --git a/x/records/keeper/callbacks.go b/x/records/keeper/callbacks.go index b065689f42..a3b0f86dd1 100644 --- a/x/records/keeper/callbacks.go +++ b/x/records/keeper/callbacks.go @@ -1,7 +1,7 @@ package keeper import ( - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" diff --git a/x/records/keeper/deposit_record.go b/x/records/keeper/deposit_record.go index fa27724f17..5ee5b67219 100644 --- a/x/records/keeper/deposit_record.go +++ b/x/records/keeper/deposit_record.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // GetDepositRecordCount get the total number of depositRecord diff --git a/x/records/keeper/epoch_unbonding_record.go b/x/records/keeper/epoch_unbonding_record.go index 20b8a90e54..734d9c5a12 100644 --- a/x/records/keeper/epoch_unbonding_record.go +++ b/x/records/keeper/epoch_unbonding_record.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // SetEpochUnbondingRecord set a specific epochUnbondingRecord in the store diff --git a/x/records/keeper/epoch_unbonding_record_test.go b/x/records/keeper/epoch_unbonding_record_test.go index bf3662bdde..c423003d44 100644 --- a/x/records/keeper/epoch_unbonding_record_test.go +++ b/x/records/keeper/epoch_unbonding_record_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/records/keeper" - "github.com/Stride-Labs/stride/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func createNEpochUnbondingRecord(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.EpochUnbondingRecord { diff --git a/x/records/keeper/grpc_query.go b/x/records/keeper/grpc_query.go index 43a4845106..7d10ba7a4c 100644 --- a/x/records/keeper/grpc_query.go +++ b/x/records/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/records/keeper/grpc_query_deposit_record.go b/x/records/keeper/grpc_query_deposit_record.go index 8b271f2912..ead10b1b02 100644 --- a/x/records/keeper/grpc_query_deposit_record.go +++ b/x/records/keeper/grpc_query_deposit_record.go @@ -3,13 +3,14 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/records/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/records/types" ) func (k Keeper) DepositRecordAll(c context.Context, req *types.QueryAllDepositRecordRequest) (*types.QueryAllDepositRecordResponse, error) { diff --git a/x/records/keeper/grpc_query_deposit_record_test.go b/x/records/keeper/grpc_query_deposit_record_test.go index a864746f32..43687dd449 100644 --- a/x/records/keeper/grpc_query_deposit_record_test.go +++ b/x/records/keeper/grpc_query_deposit_record_test.go @@ -10,10 +10,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/records/keeper" - "github.com/Stride-Labs/stride/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func createNDepositRecord(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.DepositRecord { diff --git a/x/records/keeper/grpc_query_epoch_unbonding_record.go b/x/records/keeper/grpc_query_epoch_unbonding_record.go index 67ce710f26..f698f5a14a 100644 --- a/x/records/keeper/grpc_query_epoch_unbonding_record.go +++ b/x/records/keeper/grpc_query_epoch_unbonding_record.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func (k Keeper) EpochUnbondingRecordAll(c context.Context, req *types.QueryAllEpochUnbondingRecordRequest) (*types.QueryAllEpochUnbondingRecordResponse, error) { diff --git a/x/records/keeper/grpc_query_epoch_unbonding_record_test.go b/x/records/keeper/grpc_query_epoch_unbonding_record_test.go index 6f5a242631..bf2da6e6a8 100644 --- a/x/records/keeper/grpc_query_epoch_unbonding_record_test.go +++ b/x/records/keeper/grpc_query_epoch_unbonding_record_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestEpochUnbondingRecordQuerySingle(t *testing.T) { diff --git a/x/records/keeper/grpc_query_params.go b/x/records/keeper/grpc_query_params.go index dc922c461f..69c7a9106b 100644 --- a/x/records/keeper/grpc_query_params.go +++ b/x/records/keeper/grpc_query_params.go @@ -3,10 +3,11 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/records/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/records/types" ) func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/records/keeper/grpc_query_params_test.go b/x/records/keeper/grpc_query_params_test.go index e8cee0e277..82c1b808f5 100644 --- a/x/records/keeper/grpc_query_params_test.go +++ b/x/records/keeper/grpc_query_params_test.go @@ -3,10 +3,11 @@ package keeper_test import ( "testing" - testkeeper "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/x/records/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" + + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/records/keeper/grpc_query_user_redemption_record.go b/x/records/keeper/grpc_query_user_redemption_record.go index 9de7e0d46b..d1668fd659 100644 --- a/x/records/keeper/grpc_query_user_redemption_record.go +++ b/x/records/keeper/grpc_query_user_redemption_record.go @@ -3,13 +3,14 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/records/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/records/types" ) func (k Keeper) UserRedemptionRecordAll(c context.Context, req *types.QueryAllUserRedemptionRecordRequest) (*types.QueryAllUserRedemptionRecordResponse, error) { diff --git a/x/records/keeper/grpc_query_user_redemption_record_for_user.go b/x/records/keeper/grpc_query_user_redemption_record_for_user.go index c7ac20f26c..bb34aa5bb4 100644 --- a/x/records/keeper/grpc_query_user_redemption_record_for_user.go +++ b/x/records/keeper/grpc_query_user_redemption_record_for_user.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func (k Keeper) UserRedemptionRecordForUser(c context.Context, req *types.QueryAllUserRedemptionRecordForUserRequest) (*types.QueryAllUserRedemptionRecordForUserResponse, error) { diff --git a/x/records/keeper/grpc_query_user_redemption_record_test.go b/x/records/keeper/grpc_query_user_redemption_record_test.go index 21456a9dca..08243ab2b8 100644 --- a/x/records/keeper/grpc_query_user_redemption_record_test.go +++ b/x/records/keeper/grpc_query_user_redemption_record_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestUserRedemptionRecordQuerySingle(t *testing.T) { diff --git a/x/records/keeper/keeper.go b/x/records/keeper/keeper.go index f4e9825a90..25d747137e 100644 --- a/x/records/keeper/keeper.go +++ b/x/records/keeper/keeper.go @@ -7,7 +7,7 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" "github.com/tendermint/tendermint/libs/log" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" @@ -18,9 +18,9 @@ import ( ibctransferkeeper "github.com/cosmos/ibc-go/v3/modules/apps/transfer/keeper" ibctypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" - icacallbackskeeper "github.com/Stride-Labs/stride/x/icacallbacks/keeper" + icacallbackskeeper "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) type ( diff --git a/x/records/keeper/keeper_test.go b/x/records/keeper/keeper_test.go index 10658573ca..53a0b8c0c4 100644 --- a/x/records/keeper/keeper_test.go +++ b/x/records/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/app/apptesting" - "github.com/Stride-Labs/stride/x/records/keeper" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) type KeeperTestSuite struct { diff --git a/x/records/keeper/msg_server.go b/x/records/keeper/msg_server.go index 982821fb95..220fe60b22 100644 --- a/x/records/keeper/msg_server.go +++ b/x/records/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) type msgServer struct { diff --git a/x/records/keeper/params.go b/x/records/keeper/params.go index e3ee1f02ac..db04b1e4aa 100644 --- a/x/records/keeper/params.go +++ b/x/records/keeper/params.go @@ -1,8 +1,9 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/records/types" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/Stride-Labs/stride/v3/x/records/types" ) // GetParams get all parameters as types.Params diff --git a/x/records/keeper/params_test.go b/x/records/keeper/params_test.go index 37f48a484b..aee7ad7c44 100644 --- a/x/records/keeper/params_test.go +++ b/x/records/keeper/params_test.go @@ -3,9 +3,10 @@ package keeper_test import ( "testing" - testkeeper "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/x/records/types" "github.com/stretchr/testify/require" + + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestGetParams(t *testing.T) { diff --git a/x/records/keeper/transfer_test.go b/x/records/keeper/transfer_test.go index 05174c21be..607dcca203 100644 --- a/x/records/keeper/transfer_test.go +++ b/x/records/keeper/transfer_test.go @@ -7,8 +7,8 @@ import ( ibctypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" - "github.com/Stride-Labs/stride/x/records/types" - recordtypes "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" ) type TransferTestCase struct { diff --git a/x/records/keeper/user_redemption_record.go b/x/records/keeper/user_redemption_record.go index 4711816de4..70a778d37f 100644 --- a/x/records/keeper/user_redemption_record.go +++ b/x/records/keeper/user_redemption_record.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // SetUserRedemptionRecord set a specific userRedemptionRecord in the store diff --git a/x/records/keeper/user_redemption_record_test.go b/x/records/keeper/user_redemption_record_test.go index 2e1ee167d6..e29000fdb5 100644 --- a/x/records/keeper/user_redemption_record_test.go +++ b/x/records/keeper/user_redemption_record_test.go @@ -4,12 +4,13 @@ import ( "strconv" "testing" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/records/keeper" - "github.com/Stride-Labs/stride/x/records/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" + + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func createNUserRedemptionRecord(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.UserRedemptionRecord { diff --git a/x/records/module.go b/x/records/module.go index c5284322b8..026a83402b 100644 --- a/x/records/module.go +++ b/x/records/module.go @@ -17,9 +17,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/x/records/client/cli" - "github.com/Stride-Labs/stride/x/records/keeper" - "github.com/Stride-Labs/stride/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/client/cli" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) var ( diff --git a/x/records/module_ibc.go b/x/records/module_ibc.go index f56df57727..ba395f6bbd 100644 --- a/x/records/module_ibc.go +++ b/x/records/module_ibc.go @@ -10,9 +10,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" - icacallbacktypes "github.com/Stride-Labs/stride/x/icacallbacks/types" + icacallbacktypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - "github.com/Stride-Labs/stride/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/keeper" // "google.golang.org/protobuf/proto" <-- this breaks tx parsing diff --git a/x/records/module_simulation.go b/x/records/module_simulation.go index 12ede68ac6..20694e4e43 100644 --- a/x/records/module_simulation.go +++ b/x/records/module_simulation.go @@ -3,15 +3,16 @@ package records import ( "math/rand" - "github.com/Stride-Labs/stride/testutil/sample" - recordssimulation "github.com/Stride-Labs/stride/x/records/simulation" - "github.com/Stride-Labs/stride/x/records/types" "github.com/cosmos/cosmos-sdk/baseapp" simappparams "github.com/cosmos/cosmos-sdk/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + + "github.com/Stride-Labs/stride/v3/testutil/sample" + recordssimulation "github.com/Stride-Labs/stride/v3/x/records/simulation" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // avoid unused import issue diff --git a/x/records/types/genesis_test.go b/x/records/types/genesis_test.go index 0333263cd6..3cba8b88ac 100644 --- a/x/records/types/genesis_test.go +++ b/x/records/types/genesis_test.go @@ -3,8 +3,9 @@ package types_test import ( "testing" - "github.com/Stride-Labs/stride/x/records/types" "github.com/stretchr/testify/require" + + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/stakeibc/abci.go b/x/stakeibc/abci.go index 5c374207cd..721b9cd75e 100644 --- a/x/stakeibc/abci.go +++ b/x/stakeibc/abci.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/stakeibc/client/cli/query.go b/x/stakeibc/client/cli/query.go index 689bf924f8..7d262b4c44 100644 --- a/x/stakeibc/client/cli/query.go +++ b/x/stakeibc/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/stakeibc/client/cli/query_epoch_tracker.go b/x/stakeibc/client/cli/query_epoch_tracker.go index 74a6cf8547..2c1c22f542 100644 --- a/x/stakeibc/client/cli/query_epoch_tracker.go +++ b/x/stakeibc/client/cli/query_epoch_tracker.go @@ -3,10 +3,11 @@ package cli import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdListEpochTracker() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_epoch_tracker_test.go b/x/stakeibc/client/cli/query_epoch_tracker_test.go index 358cb6cad6..098daa66a7 100644 --- a/x/stakeibc/client/cli/query_epoch_tracker_test.go +++ b/x/stakeibc/client/cli/query_epoch_tracker_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/testutil/network" - "github.com/Stride-Labs/stride/x/stakeibc/client/cli" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // Prevent strconv unused error diff --git a/x/stakeibc/client/cli/query_host_zone.go b/x/stakeibc/client/cli/query_host_zone.go index 7c8063fc24..c4c9b50139 100644 --- a/x/stakeibc/client/cli/query_host_zone.go +++ b/x/stakeibc/client/cli/query_host_zone.go @@ -3,10 +3,11 @@ package cli import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdListHostZone() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_ica_account.go b/x/stakeibc/client/cli/query_ica_account.go index 7a074bae4c..36fdcce5b5 100644 --- a/x/stakeibc/client/cli/query_ica_account.go +++ b/x/stakeibc/client/cli/query_ica_account.go @@ -3,10 +3,11 @@ package cli import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdShowICAAccount() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_ica_account_test.go b/x/stakeibc/client/cli/query_ica_account_test.go index cb7cae63fe..c4dcff9914 100644 --- a/x/stakeibc/client/cli/query_ica_account_test.go +++ b/x/stakeibc/client/cli/query_ica_account_test.go @@ -9,10 +9,10 @@ import ( tmcli "github.com/tendermint/tendermint/libs/cli" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/testutil/network" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/stakeibc/client/cli" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func networkWithICAAccountObjects(t *testing.T) (*network.Network, types.ICAAccount) { diff --git a/x/stakeibc/client/cli/query_module_address.go b/x/stakeibc/client/cli/query_module_address.go index d98210249e..e8263e2e5d 100644 --- a/x/stakeibc/client/cli/query_module_address.go +++ b/x/stakeibc/client/cli/query_module_address.go @@ -3,10 +3,11 @@ package cli import ( "strconv" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/query_params.go b/x/stakeibc/client/cli/query_params.go index c74dec93c5..d4dec5bbd5 100644 --- a/x/stakeibc/client/cli/query_params.go +++ b/x/stakeibc/client/cli/query_params.go @@ -3,10 +3,11 @@ package cli import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_register_ica.go b/x/stakeibc/client/cli/query_register_ica.go index 098f0296d9..5c4bba667a 100644 --- a/x/stakeibc/client/cli/query_register_ica.go +++ b/x/stakeibc/client/cli/query_register_ica.go @@ -1,10 +1,11 @@ package cli import ( - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdShowInterchainAccount() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_validator.go b/x/stakeibc/client/cli/query_validator.go index 96a3574c4f..26de55de7d 100644 --- a/x/stakeibc/client/cli/query_validator.go +++ b/x/stakeibc/client/cli/query_validator.go @@ -3,10 +3,11 @@ package cli import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdShowValidators() *cobra.Command { diff --git a/x/stakeibc/client/cli/tx.go b/x/stakeibc/client/cli/tx.go index 967baa6ab0..52cd2beeab 100644 --- a/x/stakeibc/client/cli/tx.go +++ b/x/stakeibc/client/cli/tx.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var DefaultRelativePacketTimeoutTimestamp = cast.ToUint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/stakeibc/client/cli/tx_add_validator.go b/x/stakeibc/client/cli/tx_add_validator.go index 85cd3714be..fd82118e2e 100644 --- a/x/stakeibc/client/cli/tx_add_validator.go +++ b/x/stakeibc/client/cli/tx_add_validator.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdAddValidator() *cobra.Command { diff --git a/x/stakeibc/client/cli/tx_add_validator_proposal.go b/x/stakeibc/client/cli/tx_add_validator_proposal.go index a365c80587..7e913e80bc 100644 --- a/x/stakeibc/client/cli/tx_add_validator_proposal.go +++ b/x/stakeibc/client/cli/tx_add_validator_proposal.go @@ -16,7 +16,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func parseAddValidatorProposalFile(cdc codec.JSONCodec, proposalFile string) (types.AddValidatorProposal, error) { diff --git a/x/stakeibc/client/cli/tx_change_validator_weight.go b/x/stakeibc/client/cli/tx_change_validator_weight.go index 39df256f43..9b79f8625f 100644 --- a/x/stakeibc/client/cli/tx_change_validator_weight.go +++ b/x/stakeibc/client/cli/tx_change_validator_weight.go @@ -3,12 +3,13 @@ package cli import ( "strconv" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cast" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go b/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go index 0ab96883bb..e0317bb198 100644 --- a/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go +++ b/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go @@ -3,12 +3,13 @@ package cli import ( "strconv" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cast" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_clear_balance.go b/x/stakeibc/client/cli/tx_clear_balance.go index 0243ac367f..8259efc1e2 100644 --- a/x/stakeibc/client/cli/tx_clear_balance.go +++ b/x/stakeibc/client/cli/tx_clear_balance.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_delete_validator.go b/x/stakeibc/client/cli/tx_delete_validator.go index fbd44b17b7..225f78c4cb 100644 --- a/x/stakeibc/client/cli/tx_delete_validator.go +++ b/x/stakeibc/client/cli/tx_delete_validator.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdDeleteValidator() *cobra.Command { diff --git a/x/stakeibc/client/cli/tx_liquid_stake.go b/x/stakeibc/client/cli/tx_liquid_stake.go index fe26971476..916fe54f51 100644 --- a/x/stakeibc/client/cli/tx_liquid_stake.go +++ b/x/stakeibc/client/cli/tx_liquid_stake.go @@ -3,12 +3,13 @@ package cli import ( "strconv" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cast" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_rebalance_validators.go b/x/stakeibc/client/cli/tx_rebalance_validators.go index a23dc8372c..53d891d05f 100644 --- a/x/stakeibc/client/cli/tx_rebalance_validators.go +++ b/x/stakeibc/client/cli/tx_rebalance_validators.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_redeem_stake.go b/x/stakeibc/client/cli/tx_redeem_stake.go index 9c50390ee0..c33b8ec8ee 100644 --- a/x/stakeibc/client/cli/tx_redeem_stake.go +++ b/x/stakeibc/client/cli/tx_redeem_stake.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_register_host_zone.go b/x/stakeibc/client/cli/tx_register_host_zone.go index 65b7da8ec1..cd60f09a9a 100644 --- a/x/stakeibc/client/cli/tx_register_host_zone.go +++ b/x/stakeibc/client/cli/tx_register_host_zone.go @@ -3,11 +3,12 @@ package cli import ( "strconv" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_restore_interchain_account.go b/x/stakeibc/client/cli/tx_restore_interchain_account.go index ced7d20c45..96a23397b3 100644 --- a/x/stakeibc/client/cli/tx_restore_interchain_account.go +++ b/x/stakeibc/client/cli/tx_restore_interchain_account.go @@ -4,11 +4,12 @@ import ( "errors" "strconv" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_update_delegation.go b/x/stakeibc/client/cli/tx_update_delegation.go index b4b8144d92..fb22800d29 100644 --- a/x/stakeibc/client/cli/tx_update_delegation.go +++ b/x/stakeibc/client/cli/tx_update_delegation.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/proposal_handler.go b/x/stakeibc/client/proposal_handler.go index 4a10a2c6ed..5f0031adfa 100644 --- a/x/stakeibc/client/proposal_handler.go +++ b/x/stakeibc/client/proposal_handler.go @@ -1,8 +1,8 @@ package client import ( - "github.com/Stride-Labs/stride/x/stakeibc/client/cli" - "github.com/Stride-Labs/stride/x/stakeibc/client/rest" + "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" + "github.com/Stride-Labs/stride/v3/x/stakeibc/client/rest" govclient "github.com/cosmos/cosmos-sdk/x/gov/client" ) diff --git a/x/stakeibc/genesis.go b/x/stakeibc/genesis.go index b7fdc02343..30bc817be2 100644 --- a/x/stakeibc/genesis.go +++ b/x/stakeibc/genesis.go @@ -3,8 +3,8 @@ package stakeibc import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/stakeibc/genesis_test.go b/x/stakeibc/genesis_test.go index 5ec6cddfa8..96898b3c36 100644 --- a/x/stakeibc/genesis_test.go +++ b/x/stakeibc/genesis_test.go @@ -3,11 +3,12 @@ package stakeibc_test import ( "testing" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/stakeibc" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/stretchr/testify/require" + + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestGenesis(t *testing.T) { diff --git a/x/stakeibc/handler.go b/x/stakeibc/handler.go index 1aef77c5b4..a1ef955108 100644 --- a/x/stakeibc/handler.go +++ b/x/stakeibc/handler.go @@ -8,8 +8,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // NewHandler ... diff --git a/x/stakeibc/keeper/delegation.go b/x/stakeibc/keeper/delegation.go index ada1820a21..9d91792a70 100644 --- a/x/stakeibc/keeper/delegation.go +++ b/x/stakeibc/keeper/delegation.go @@ -1,9 +1,10 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // SetDelegation set delegation in the store diff --git a/x/stakeibc/keeper/delegation_test.go b/x/stakeibc/keeper/delegation_test.go index bcd8fd02c6..4cc6428074 100644 --- a/x/stakeibc/keeper/delegation_test.go +++ b/x/stakeibc/keeper/delegation_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func createTestDelegation(keeper *keeper.Keeper, ctx sdk.Context) types.Delegation { diff --git a/x/stakeibc/keeper/deposit_records.go b/x/stakeibc/keeper/deposit_records.go index 28c2c7ee0f..7185e1bfbb 100644 --- a/x/stakeibc/keeper/deposit_records.go +++ b/x/stakeibc/keeper/deposit_records.go @@ -11,9 +11,9 @@ import ( clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/utils" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/utils" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) CreateDepositRecordsForEpoch(ctx sdk.Context, epochNumber uint64) { diff --git a/x/stakeibc/keeper/deposit_records_test.go b/x/stakeibc/keeper/deposit_records_test.go index 3d0db4fd43..d081c219a8 100644 --- a/x/stakeibc/keeper/deposit_records_test.go +++ b/x/stakeibc/keeper/deposit_records_test.go @@ -10,10 +10,10 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type TestDepositRecords struct { diff --git a/x/stakeibc/keeper/epoch_elapsed_shares_test.go b/x/stakeibc/keeper/epoch_elapsed_shares_test.go index 31e15a1c95..5c2571f573 100644 --- a/x/stakeibc/keeper/epoch_elapsed_shares_test.go +++ b/x/stakeibc/keeper/epoch_elapsed_shares_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // These are used to indicate that the value does not matter for the sake of the test diff --git a/x/stakeibc/keeper/epoch_tracker.go b/x/stakeibc/keeper/epoch_tracker.go index 30b735be42..0808ff686f 100644 --- a/x/stakeibc/keeper/epoch_tracker.go +++ b/x/stakeibc/keeper/epoch_tracker.go @@ -1,9 +1,10 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // SetEpochTracker set a specific epochTracker in the store from its index diff --git a/x/stakeibc/keeper/epoch_tracker_test.go b/x/stakeibc/keeper/epoch_tracker_test.go index 7bfd2251f3..065ff08821 100644 --- a/x/stakeibc/keeper/epoch_tracker_test.go +++ b/x/stakeibc/keeper/epoch_tracker_test.go @@ -4,12 +4,13 @@ import ( "strconv" "testing" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" + + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // Prevent strconv unused error diff --git a/x/stakeibc/keeper/gov.go b/x/stakeibc/keeper/gov.go index 0ad9ccef32..df3db8d9fc 100644 --- a/x/stakeibc/keeper/gov.go +++ b/x/stakeibc/keeper/gov.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) AddValidatorProposal(ctx sdk.Context, msg *types.AddValidatorProposal) error { diff --git a/x/stakeibc/keeper/grpc_query.go b/x/stakeibc/keeper/grpc_query.go index e2e297e113..35b16ee987 100644 --- a/x/stakeibc/keeper/grpc_query.go +++ b/x/stakeibc/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/stakeibc/keeper/grpc_query_epoch_tracker.go b/x/stakeibc/keeper/grpc_query_epoch_tracker.go index b27bfc5203..9addf8e495 100644 --- a/x/stakeibc/keeper/grpc_query_epoch_tracker.go +++ b/x/stakeibc/keeper/grpc_query_epoch_tracker.go @@ -3,12 +3,13 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) EpochTrackerAll(c context.Context, req *types.QueryAllEpochTrackerRequest) (*types.QueryAllEpochTrackerResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go b/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go index dc6d85afdd..45e57c2921 100644 --- a/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go +++ b/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // Prevent strconv unused error diff --git a/x/stakeibc/keeper/grpc_query_host_zone.go b/x/stakeibc/keeper/grpc_query_host_zone.go index 8d4a394d77..32cff02e60 100644 --- a/x/stakeibc/keeper/grpc_query_host_zone.go +++ b/x/stakeibc/keeper/grpc_query_host_zone.go @@ -3,13 +3,14 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) HostZoneAll(c context.Context, req *types.QueryAllHostZoneRequest) (*types.QueryAllHostZoneResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_host_zone_test.go b/x/stakeibc/keeper/grpc_query_host_zone_test.go index a3918e0362..a07db82568 100644 --- a/x/stakeibc/keeper/grpc_query_host_zone_test.go +++ b/x/stakeibc/keeper/grpc_query_host_zone_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestHostZoneQuerySingle(t *testing.T) { diff --git a/x/stakeibc/keeper/grpc_query_ica_account.go b/x/stakeibc/keeper/grpc_query_ica_account.go index c3b1f20dab..dc57a5c4fd 100644 --- a/x/stakeibc/keeper/grpc_query_ica_account.go +++ b/x/stakeibc/keeper/grpc_query_ica_account.go @@ -3,10 +3,11 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) ICAAccount(c context.Context, req *types.QueryGetICAAccountRequest) (*types.QueryGetICAAccountResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_ica_account_test.go b/x/stakeibc/keeper/grpc_query_ica_account_test.go index 79960023ec..86491fe7b2 100644 --- a/x/stakeibc/keeper/grpc_query_ica_account_test.go +++ b/x/stakeibc/keeper/grpc_query_ica_account_test.go @@ -5,7 +5,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (suite *KeeperTestSuite) TestICAAccountQuery() { diff --git a/x/stakeibc/keeper/grpc_query_module_address.go b/x/stakeibc/keeper/grpc_query_module_address.go index 1a3ebc14e8..bdc0cb6323 100644 --- a/x/stakeibc/keeper/grpc_query_module_address.go +++ b/x/stakeibc/keeper/grpc_query_module_address.go @@ -3,10 +3,11 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) ModuleAddress(goCtx context.Context, req *types.QueryModuleAddressRequest) (*types.QueryModuleAddressResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_params.go b/x/stakeibc/keeper/grpc_query_params.go index 9d76caf433..bc93eef761 100644 --- a/x/stakeibc/keeper/grpc_query_params.go +++ b/x/stakeibc/keeper/grpc_query_params.go @@ -3,10 +3,11 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_params_test.go b/x/stakeibc/keeper/grpc_query_params_test.go index 3b12d5d0e4..79406cadc7 100644 --- a/x/stakeibc/keeper/grpc_query_params_test.go +++ b/x/stakeibc/keeper/grpc_query_params_test.go @@ -3,10 +3,11 @@ package keeper_test import ( "testing" - testkeeper "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" + + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/stakeibc/keeper/grpc_query_register_ica.go b/x/stakeibc/keeper/grpc_query_register_ica.go index ad8a956ffc..7523cc7c5d 100644 --- a/x/stakeibc/keeper/grpc_query_register_ica.go +++ b/x/stakeibc/keeper/grpc_query_register_ica.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // InterchainAccountFromAddress implements the Query/InterchainAccountFromAddress gRPC method diff --git a/x/stakeibc/keeper/grpc_query_validator.go b/x/stakeibc/keeper/grpc_query_validator.go index 378f0a44bb..4b50ac57a0 100644 --- a/x/stakeibc/keeper/grpc_query_validator.go +++ b/x/stakeibc/keeper/grpc_query_validator.go @@ -3,11 +3,12 @@ package keeper import ( "context" - "github.com/Stride-Labs/stride/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) Validators(c context.Context, req *types.QueryGetValidatorsRequest) (*types.QueryGetValidatorsResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_validator_test.go b/x/stakeibc/keeper/grpc_query_validator_test.go index c9f97e4c09..ee495093f9 100644 --- a/x/stakeibc/keeper/grpc_query_validator_test.go +++ b/x/stakeibc/keeper/grpc_query_validator_test.go @@ -8,9 +8,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestValidatorQuery(t *testing.T) { diff --git a/x/stakeibc/keeper/hooks.go b/x/stakeibc/keeper/hooks.go index a59c38cac9..5e8be53e3a 100644 --- a/x/stakeibc/keeper/hooks.go +++ b/x/stakeibc/keeper/hooks.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/utils" - epochstypes "github.com/Stride-Labs/stride/x/epochs/types" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/utils" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // TODO [TEST-127]: ensure all timeouts are less than the epoch length diff --git a/x/stakeibc/keeper/host_zone.go b/x/stakeibc/keeper/host_zone.go index a5ea4f0142..2cc9824d9a 100644 --- a/x/stakeibc/keeper/host_zone.go +++ b/x/stakeibc/keeper/host_zone.go @@ -11,7 +11,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // GetHostZoneCount get the total number of hostZone diff --git a/x/stakeibc/keeper/host_zone_test.go b/x/stakeibc/keeper/host_zone_test.go index e56bd45a8d..0a60488c90 100644 --- a/x/stakeibc/keeper/host_zone_test.go +++ b/x/stakeibc/keeper/host_zone_test.go @@ -4,12 +4,13 @@ import ( "strconv" "testing" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" + + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func createNHostZone(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.HostZone { diff --git a/x/stakeibc/keeper/ica_account.go b/x/stakeibc/keeper/ica_account.go index 5e9aecc606..488eb509c9 100644 --- a/x/stakeibc/keeper/ica_account.go +++ b/x/stakeibc/keeper/ica_account.go @@ -1,9 +1,10 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // SetICAAccount set iCAAccount in the store diff --git a/x/stakeibc/keeper/ica_account_test.go b/x/stakeibc/keeper/ica_account_test.go index 9d45646a03..475e06171e 100644 --- a/x/stakeibc/keeper/ica_account_test.go +++ b/x/stakeibc/keeper/ica_account_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (suite *KeeperTestSuite) createTestICAAccount() types.ICAAccount { diff --git a/x/stakeibc/keeper/icacallbacks.go b/x/stakeibc/keeper/icacallbacks.go index d3b58b6466..d24ccff58c 100644 --- a/x/stakeibc/keeper/icacallbacks.go +++ b/x/stakeibc/keeper/icacallbacks.go @@ -1,7 +1,7 @@ package keeper import ( - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" diff --git a/x/stakeibc/keeper/icacallbacks_claim.go b/x/stakeibc/keeper/icacallbacks_claim.go index 0cec232e89..3b1103348e 100644 --- a/x/stakeibc/keeper/icacallbacks_claim.go +++ b/x/stakeibc/keeper/icacallbacks_claim.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - "github.com/Stride-Labs/stride/x/icacallbacks" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_claim_test.go b/x/stakeibc/keeper/icacallbacks_claim_test.go index 3dd293739a..58c80aef96 100644 --- a/x/stakeibc/keeper/icacallbacks_claim_test.go +++ b/x/stakeibc/keeper/icacallbacks_claim_test.go @@ -8,9 +8,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type ClaimCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_delegate.go b/x/stakeibc/keeper/icacallbacks_delegate.go index 7818940cbe..cd4ae5ef2a 100644 --- a/x/stakeibc/keeper/icacallbacks_delegate.go +++ b/x/stakeibc/keeper/icacallbacks_delegate.go @@ -5,11 +5,11 @@ import ( "github.com/spf13/cast" - "github.com/Stride-Labs/stride/x/icacallbacks" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_delegate_test.go b/x/stakeibc/keeper/icacallbacks_delegate_test.go index 3147bb6941..1e547924ff 100644 --- a/x/stakeibc/keeper/icacallbacks_delegate_test.go +++ b/x/stakeibc/keeper/icacallbacks_delegate_test.go @@ -9,10 +9,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" - stakeibc "github.com/Stride-Labs/stride/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type DelegateCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_rebalance.go b/x/stakeibc/keeper/icacallbacks_rebalance.go index 8436bc7bb2..246db3dc81 100644 --- a/x/stakeibc/keeper/icacallbacks_rebalance.go +++ b/x/stakeibc/keeper/icacallbacks_rebalance.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - "github.com/Stride-Labs/stride/x/icacallbacks" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_rebalance_test.go b/x/stakeibc/keeper/icacallbacks_rebalance_test.go index 7ea9e928a9..825fd2e8e0 100644 --- a/x/stakeibc/keeper/icacallbacks_rebalance_test.go +++ b/x/stakeibc/keeper/icacallbacks_rebalance_test.go @@ -6,9 +6,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - stakeibckeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RebalanceCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_redemption.go b/x/stakeibc/keeper/icacallbacks_redemption.go index 151049397b..102837119b 100644 --- a/x/stakeibc/keeper/icacallbacks_redemption.go +++ b/x/stakeibc/keeper/icacallbacks_redemption.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - "github.com/Stride-Labs/stride/x/icacallbacks" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_redemption_test.go b/x/stakeibc/keeper/icacallbacks_redemption_test.go index 2c6dbec7bc..6291a6e4da 100644 --- a/x/stakeibc/keeper/icacallbacks_redemption_test.go +++ b/x/stakeibc/keeper/icacallbacks_redemption_test.go @@ -8,10 +8,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" - stakeibc "github.com/Stride-Labs/stride/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RedemptionCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_reinvest.go b/x/stakeibc/keeper/icacallbacks_reinvest.go index de04293b47..0fa669b8e6 100644 --- a/x/stakeibc/keeper/icacallbacks_reinvest.go +++ b/x/stakeibc/keeper/icacallbacks_reinvest.go @@ -3,11 +3,11 @@ package keeper import ( "fmt" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - "github.com/Stride-Labs/stride/x/icacallbacks" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_reinvest_test.go b/x/stakeibc/keeper/icacallbacks_reinvest_test.go index 673b1197c2..dd9dd67602 100644 --- a/x/stakeibc/keeper/icacallbacks_reinvest_test.go +++ b/x/stakeibc/keeper/icacallbacks_reinvest_test.go @@ -6,12 +6,12 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - recordtypes "github.com/Stride-Labs/stride/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" - stakeibc "github.com/Stride-Labs/stride/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type ReinvestCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_undelegate.go b/x/stakeibc/keeper/icacallbacks_undelegate.go index d18029c4ac..41b84771cb 100644 --- a/x/stakeibc/keeper/icacallbacks_undelegate.go +++ b/x/stakeibc/keeper/icacallbacks_undelegate.go @@ -6,10 +6,10 @@ import ( "github.com/spf13/cast" - "github.com/Stride-Labs/stride/x/icacallbacks" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_undelegate_test.go b/x/stakeibc/keeper/icacallbacks_undelegate_test.go index 6dc5115fce..99e7bd2829 100644 --- a/x/stakeibc/keeper/icacallbacks_undelegate_test.go +++ b/x/stakeibc/keeper/icacallbacks_undelegate_test.go @@ -10,10 +10,10 @@ import ( "github.com/gogo/protobuf/proto" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" - stakeibc "github.com/Stride-Labs/stride/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type UndelegateCallbackState struct { diff --git a/x/stakeibc/keeper/icqcallbacks.go b/x/stakeibc/keeper/icqcallbacks.go index 3ba242a635..59a12585ae 100644 --- a/x/stakeibc/keeper/icqcallbacks.go +++ b/x/stakeibc/keeper/icqcallbacks.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - icqtypes "github.com/Stride-Labs/stride/x/interchainquery/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) const ( diff --git a/x/stakeibc/keeper/icqcallbacks_delegator_shares.go b/x/stakeibc/keeper/icqcallbacks_delegator_shares.go index b9ed02cdb1..581bfcee59 100644 --- a/x/stakeibc/keeper/icqcallbacks_delegator_shares.go +++ b/x/stakeibc/keeper/icqcallbacks_delegator_shares.go @@ -9,9 +9,9 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - icqtypes "github.com/Stride-Labs/stride/x/interchainquery/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // DelegatorSharesCallback is a callback handler for UpdateValidatorSharesExchRate queries. diff --git a/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go b/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go index 722a210056..28d44636db 100644 --- a/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go +++ b/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - icqtypes "github.com/Stride-Labs/stride/x/interchainquery/types" - stakeibckeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type DelegatorSharesICQCallbackState struct { diff --git a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go index b7f409b53a..819e9626c1 100644 --- a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go +++ b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go @@ -8,9 +8,9 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - icqtypes "github.com/Stride-Labs/stride/x/interchainquery/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // ValidatorCallback is a callback handler for validator queries. diff --git a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go index 9d27a2d09b..ac20a2949d 100644 --- a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go +++ b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - icqtypes "github.com/Stride-Labs/stride/x/interchainquery/types" - stakeibckeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type ValidatorICQCallbackState struct { diff --git a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go index 168d964b07..eb65e32e44 100644 --- a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go +++ b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go @@ -8,8 +8,8 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/spf13/cast" - icqtypes "github.com/Stride-Labs/stride/x/interchainquery/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // WithdrawalBalanceCallback is a callback handler for WithdrawalBalance queries. diff --git a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go index 72205d0e05..e554e91fb0 100644 --- a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go +++ b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go @@ -8,11 +8,11 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" - icqtypes "github.com/Stride-Labs/stride/x/interchainquery/types" - stakeibckeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type WithdrawalBalanceICQCallbackState struct { diff --git a/x/stakeibc/keeper/keeper.go b/x/stakeibc/keeper/keeper.go index 13077ddbf7..1940884585 100644 --- a/x/stakeibc/keeper/keeper.go +++ b/x/stakeibc/keeper/keeper.go @@ -13,8 +13,8 @@ import ( capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - icqkeeper "github.com/Stride-Labs/stride/x/interchainquery/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + icqkeeper "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" @@ -22,9 +22,9 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" ibctmtypes "github.com/cosmos/ibc-go/v3/modules/light-clients/07-tendermint/types" - epochstypes "github.com/Stride-Labs/stride/x/epochs/types" - icacallbackskeeper "github.com/Stride-Labs/stride/x/icacallbacks/keeper" - recordsmodulekeeper "github.com/Stride-Labs/stride/x/records/keeper" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icacallbackskeeper "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + recordsmodulekeeper "github.com/Stride-Labs/stride/v3/x/records/keeper" ) type ( @@ -274,8 +274,8 @@ func (k Keeper) IsRedemptionRateWithinSafetyBounds(ctx sdk.Context, zone types.H // Check the max number of validators to confirm we won't exceed it when adding a new validator // Types of additions: -// * change a weight from zero to non-zero -// * add a new validator with non-zero weight +// - change a weight from zero to non-zero +// - add a new validator with non-zero weight func (k Keeper) ConfirmValSetHasSpace(ctx sdk.Context, validators []*types.Validator) error { // get max val parameter diff --git a/x/stakeibc/keeper/keeper_test.go b/x/stakeibc/keeper/keeper_test.go index 051ee743b9..8ba0a81d37 100644 --- a/x/stakeibc/keeper/keeper_test.go +++ b/x/stakeibc/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/app/apptesting" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) const ( diff --git a/x/stakeibc/keeper/min_validator_requirements.go b/x/stakeibc/keeper/min_validator_requirements.go index 46d0f0ff8f..d5f5ab08e5 100644 --- a/x/stakeibc/keeper/min_validator_requirements.go +++ b/x/stakeibc/keeper/min_validator_requirements.go @@ -1,9 +1,10 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // SetMinValidatorRequirements set minValidatorRequirements in the store diff --git a/x/stakeibc/keeper/min_validator_requirements_test.go b/x/stakeibc/keeper/min_validator_requirements_test.go index 72058c129c..a6128e48d2 100644 --- a/x/stakeibc/keeper/min_validator_requirements_test.go +++ b/x/stakeibc/keeper/min_validator_requirements_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func createTestMinValidatorRequirements(keeper *keeper.Keeper, ctx sdk.Context) types.MinValidatorRequirements { diff --git a/x/stakeibc/keeper/msg_server.go b/x/stakeibc/keeper/msg_server.go index 1b531de7f0..e800352fc7 100644 --- a/x/stakeibc/keeper/msg_server.go +++ b/x/stakeibc/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type msgServer struct { diff --git a/x/stakeibc/keeper/msg_server_add_validator.go b/x/stakeibc/keeper/msg_server_add_validator.go index d7114db862..8d0a4d2533 100644 --- a/x/stakeibc/keeper/msg_server_add_validator.go +++ b/x/stakeibc/keeper/msg_server_add_validator.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) AddValidator(goCtx context.Context, msg *types.MsgAddValidator) (*types.MsgAddValidatorResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_add_validator_test.go b/x/stakeibc/keeper/msg_server_add_validator_test.go index a375b402e9..1fcd6de41b 100644 --- a/x/stakeibc/keeper/msg_server_add_validator_test.go +++ b/x/stakeibc/keeper/msg_server_add_validator_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type AddValidatorTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_change_validator_weight.go b/x/stakeibc/keeper/msg_server_change_validator_weight.go index 372d7e1882..d496086ae6 100644 --- a/x/stakeibc/keeper/msg_server_change_validator_weight.go +++ b/x/stakeibc/keeper/msg_server_change_validator_weight.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) ChangeValidatorWeight(goCtx context.Context, msg *types.MsgChangeValidatorWeight) (*types.MsgChangeValidatorWeightResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go index 039aaa7e88..a8f6654ec9 100644 --- a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go +++ b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go @@ -6,14 +6,14 @@ import ( "github.com/spf13/cast" - recordstypes "github.com/Stride-Labs/stride/x/records/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" bankTypes "github.com/cosmos/cosmos-sdk/x/bank/types" - epochstypes "github.com/Stride-Labs/stride/x/epochs/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type IcaTx struct { diff --git a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go index 120244b7c5..2ecdd835de 100644 --- a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go +++ b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go @@ -9,10 +9,10 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - recordtypes "github.com/Stride-Labs/stride/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type ClaimUndelegatedState struct { diff --git a/x/stakeibc/keeper/msg_server_clear_balance.go b/x/stakeibc/keeper/msg_server_clear_balance.go index 20ae567935..7f3e12c549 100644 --- a/x/stakeibc/keeper/msg_server_clear_balance.go +++ b/x/stakeibc/keeper/msg_server_clear_balance.go @@ -9,7 +9,7 @@ import ( ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) ClearBalance(goCtx context.Context, msg *types.MsgClearBalance) (*types.MsgClearBalanceResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_clear_balance_test.go b/x/stakeibc/keeper/msg_server_clear_balance_test.go index 434fae24a9..c563c4f652 100644 --- a/x/stakeibc/keeper/msg_server_clear_balance_test.go +++ b/x/stakeibc/keeper/msg_server_clear_balance_test.go @@ -8,8 +8,8 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/x/stakeibc/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type ClearBalanceState struct { diff --git a/x/stakeibc/keeper/msg_server_delete_validator.go b/x/stakeibc/keeper/msg_server_delete_validator.go index 5afef61d18..701ab7c92a 100644 --- a/x/stakeibc/keeper/msg_server_delete_validator.go +++ b/x/stakeibc/keeper/msg_server_delete_validator.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) DeleteValidator(goCtx context.Context, msg *types.MsgDeleteValidator) (*types.MsgDeleteValidatorResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_delete_validator_test.go b/x/stakeibc/keeper/msg_server_delete_validator_test.go index 240d1c9439..b818f5eb53 100644 --- a/x/stakeibc/keeper/msg_server_delete_validator_test.go +++ b/x/stakeibc/keeper/msg_server_delete_validator_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type DeleteValidatorTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_liquid_stake.go b/x/stakeibc/keeper/msg_server_liquid_stake.go index e57b76aa91..660de3a273 100644 --- a/x/stakeibc/keeper/msg_server_liquid_stake.go +++ b/x/stakeibc/keeper/msg_server_liquid_stake.go @@ -8,8 +8,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) LiquidStake(goCtx context.Context, msg *types.MsgLiquidStake) (*types.MsgLiquidStakeResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_liquid_stake_test.go b/x/stakeibc/keeper/msg_server_liquid_stake_test.go index dfe5d49611..d0efbe9c55 100644 --- a/x/stakeibc/keeper/msg_server_liquid_stake_test.go +++ b/x/stakeibc/keeper/msg_server_liquid_stake_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - recordtypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type Account struct { diff --git a/x/stakeibc/keeper/msg_server_rebalance_validators.go b/x/stakeibc/keeper/msg_server_rebalance_validators.go index 19c190328a..7ebc464ace 100644 --- a/x/stakeibc/keeper/msg_server_rebalance_validators.go +++ b/x/stakeibc/keeper/msg_server_rebalance_validators.go @@ -10,8 +10,8 @@ import ( stakingTypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/utils" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func abs(n int64) int64 { diff --git a/x/stakeibc/keeper/msg_server_rebalance_validators_test.go b/x/stakeibc/keeper/msg_server_rebalance_validators_test.go index d85586841f..d16d573204 100644 --- a/x/stakeibc/keeper/msg_server_rebalance_validators_test.go +++ b/x/stakeibc/keeper/msg_server_rebalance_validators_test.go @@ -7,9 +7,9 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" ibctesting "github.com/cosmos/ibc-go/v3/testing" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RebalanceValidatorsTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_redeem_stake.go b/x/stakeibc/keeper/msg_server_redeem_stake.go index 763ed02271..a81012f887 100644 --- a/x/stakeibc/keeper/msg_server_redeem_stake.go +++ b/x/stakeibc/keeper/msg_server_redeem_stake.go @@ -6,13 +6,13 @@ import ( "github.com/spf13/cast" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" ) func (k msgServer) RedeemStake(goCtx context.Context, msg *types.MsgRedeemStake) (*types.MsgRedeemStakeResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_redeem_stake_test.go b/x/stakeibc/keeper/msg_server_redeem_stake_test.go index 4d1439dbe9..7106b7571a 100644 --- a/x/stakeibc/keeper/msg_server_redeem_stake_test.go +++ b/x/stakeibc/keeper/msg_server_redeem_stake_test.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/cast" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - recordtypes "github.com/Stride-Labs/stride/x/records/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RedeemStakeState struct { diff --git a/x/stakeibc/keeper/msg_server_register_host_zone.go b/x/stakeibc/keeper/msg_server_register_host_zone.go index ea2bdf26a6..a3e1df8252 100644 --- a/x/stakeibc/keeper/msg_server_register_host_zone.go +++ b/x/stakeibc/keeper/msg_server_register_host_zone.go @@ -6,9 +6,9 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/msg_server_register_host_zone_test.go b/x/stakeibc/keeper/msg_server_register_host_zone_test.go index 73cbb877b0..133ccf2662 100644 --- a/x/stakeibc/keeper/msg_server_register_host_zone_test.go +++ b/x/stakeibc/keeper/msg_server_register_host_zone_test.go @@ -11,10 +11,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - recordtypes "github.com/Stride-Labs/stride/x/records/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RegisterHostZoneTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_restore_interchain_account.go b/x/stakeibc/keeper/msg_server_restore_interchain_account.go index 6e53345727..8d3d428e2b 100644 --- a/x/stakeibc/keeper/msg_server_restore_interchain_account.go +++ b/x/stakeibc/keeper/msg_server_restore_interchain_account.go @@ -8,7 +8,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) RestoreInterchainAccount(goCtx context.Context, msg *types.MsgRestoreInterchainAccount) (*types.MsgRestoreInterchainAccountResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go b/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go index 3904719109..5b5d704f17 100644 --- a/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go +++ b/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go @@ -10,7 +10,7 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - stakeibc "github.com/Stride-Labs/stride/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RestoreInterchainAccountTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_submit_tx.go b/x/stakeibc/keeper/msg_server_submit_tx.go index 96515d3a1e..3235c019ca 100644 --- a/x/stakeibc/keeper/msg_server_submit_tx.go +++ b/x/stakeibc/keeper/msg_server_submit_tx.go @@ -8,10 +8,10 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - icacallbackstypes "github.com/Stride-Labs/stride/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" bankTypes "github.com/cosmos/cosmos-sdk/x/bank/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" @@ -19,8 +19,8 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochstypes "github.com/Stride-Labs/stride/x/epochs/types" - icqtypes "github.com/Stride-Labs/stride/x/interchainquery/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" sdk "github.com/cosmos/cosmos-sdk/types" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" diff --git a/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go b/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go index a89f741610..0a4e6cad21 100644 --- a/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go +++ b/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // This kicks off two ICQs, each with a callback, that will update the number of tokens on a validator diff --git a/x/stakeibc/keeper/params.go b/x/stakeibc/keeper/params.go index 6c488cbf9b..0ab0eb0239 100644 --- a/x/stakeibc/keeper/params.go +++ b/x/stakeibc/keeper/params.go @@ -1,8 +1,9 @@ package keeper import ( - "github.com/Stride-Labs/stride/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // GetParams get all parameters as types.Params diff --git a/x/stakeibc/keeper/params_test.go b/x/stakeibc/keeper/params_test.go index 3ebd53bee6..c8b71508d9 100644 --- a/x/stakeibc/keeper/params_test.go +++ b/x/stakeibc/keeper/params_test.go @@ -3,9 +3,10 @@ package keeper_test import ( "testing" - testkeeper "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/stretchr/testify/require" + + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestGetParams(t *testing.T) { diff --git a/x/stakeibc/keeper/unbonding_records.go b/x/stakeibc/keeper/unbonding_records.go index 659dc16ba5..2ffbde5cac 100644 --- a/x/stakeibc/keeper/unbonding_records.go +++ b/x/stakeibc/keeper/unbonding_records.go @@ -10,10 +10,10 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" - recordstypes "github.com/Stride-Labs/stride/x/records/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) CreateEpochUnbondingRecord(ctx sdk.Context, epochNumber uint64) bool { diff --git a/x/stakeibc/keeper/unbonding_records_cleanup_test.go b/x/stakeibc/keeper/unbonding_records_cleanup_test.go index d716ea1778..58ad7ca854 100644 --- a/x/stakeibc/keeper/unbonding_records_cleanup_test.go +++ b/x/stakeibc/keeper/unbonding_records_cleanup_test.go @@ -3,9 +3,9 @@ package keeper_test import ( _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibc "github.com/Stride-Labs/stride/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type CleanupEpochUnbondingRecordsTestCase struct { diff --git a/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go b/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go index d7809fec06..b58731340b 100644 --- a/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go +++ b/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibc "github.com/Stride-Labs/stride/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type GetHostZoneUnbondingMsgsTestCase struct { diff --git a/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go b/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go index da208d4df7..e285e2c549 100644 --- a/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go +++ b/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go @@ -4,9 +4,9 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibc "github.com/Stride-Labs/stride/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type InitiateAllHostZoneUnbondingsTestCase struct { diff --git a/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go b/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go index b5312f74e4..6a324e1c2a 100644 --- a/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go +++ b/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go @@ -4,9 +4,9 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibc "github.com/Stride-Labs/stride/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type SweepUnbondedTokensTestCase struct { diff --git a/x/stakeibc/keeper/update_redemption_rates_test.go b/x/stakeibc/keeper/update_redemption_rates_test.go index 64e2542ee9..4badf0c335 100644 --- a/x/stakeibc/keeper/update_redemption_rates_test.go +++ b/x/stakeibc/keeper/update_redemption_rates_test.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type UpdateRedemptionRatesTestCase struct { diff --git a/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go b/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go index 79c2ffc207..ba423dbbc0 100644 --- a/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go +++ b/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go @@ -6,9 +6,9 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-Labs/stride/x/epochs/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" - stakeibctypes "github.com/Stride-Labs/stride/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // ================================ 1: QueryValidatorExchangeRate ============================================= diff --git a/x/stakeibc/keeper/validator.go b/x/stakeibc/keeper/validator.go index 75a7a97445..ed5597b1ad 100644 --- a/x/stakeibc/keeper/validator.go +++ b/x/stakeibc/keeper/validator.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // SetValidator set validator in the store diff --git a/x/stakeibc/keeper/validator_selection.go b/x/stakeibc/keeper/validator_selection.go index e1f2987f1d..4b50526926 100644 --- a/x/stakeibc/keeper/validator_selection.go +++ b/x/stakeibc/keeper/validator_selection.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) GetValidatorDelegationAmtDifferences(ctx sdk.Context, hostZone types.HostZone) (map[string]int64, error) { diff --git a/x/stakeibc/keeper/validator_test.go b/x/stakeibc/keeper/validator_test.go index a11d872fa8..32c6c196a8 100644 --- a/x/stakeibc/keeper/validator_test.go +++ b/x/stakeibc/keeper/validator_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/testutil/keeper" - "github.com/Stride-Labs/stride/testutil/nullify" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func createTestValidator(keeper *keeper.Keeper, ctx sdk.Context) types.Validator { diff --git a/x/stakeibc/module.go b/x/stakeibc/module.go index 3b916ef7f2..76c0db081c 100644 --- a/x/stakeibc/module.go +++ b/x/stakeibc/module.go @@ -19,9 +19,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/x/stakeibc/client/cli" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var ( diff --git a/x/stakeibc/module_ibc.go b/x/stakeibc/module_ibc.go index a74bde0ffc..f1fbc5cd22 100644 --- a/x/stakeibc/module_ibc.go +++ b/x/stakeibc/module_ibc.go @@ -11,10 +11,10 @@ import ( host "github.com/cosmos/ibc-go/v3/modules/core/24-host" ibcexported "github.com/cosmos/ibc-go/v3/modules/core/exported" - icacallbacktypes "github.com/Stride-Labs/stride/x/icacallbacks/types" + icacallbacktypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // IBCModule implements the ICS26 interface for interchain accounts controller chains diff --git a/x/stakeibc/module_simulation.go b/x/stakeibc/module_simulation.go index 596879744e..a2878647b0 100644 --- a/x/stakeibc/module_simulation.go +++ b/x/stakeibc/module_simulation.go @@ -10,9 +10,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/Stride-Labs/stride/testutil/sample" - stakeibcsimulation "github.com/Stride-Labs/stride/x/stakeibc/simulation" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/testutil/sample" + stakeibcsimulation "github.com/Stride-Labs/stride/v3/x/stakeibc/simulation" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // avoid unused import issue diff --git a/x/stakeibc/proposal_handler.go b/x/stakeibc/proposal_handler.go index 29e7e48a4e..1a011f54b9 100644 --- a/x/stakeibc/proposal_handler.go +++ b/x/stakeibc/proposal_handler.go @@ -5,9 +5,9 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func NewStakeibcProposalHandler(k keeper.Keeper) govtypes.Handler { diff --git a/x/stakeibc/simulation/add_validator.go b/x/stakeibc/simulation/add_validator.go index 52cff50e27..79f7b0abf5 100644 --- a/x/stakeibc/simulation/add_validator.go +++ b/x/stakeibc/simulation/add_validator.go @@ -3,11 +3,12 @@ package simulation import ( "math/rand" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgAddValidator( diff --git a/x/stakeibc/simulation/change_validator_weight.go b/x/stakeibc/simulation/change_validator_weight.go index 9c8c70d54c..5fef1fcff6 100644 --- a/x/stakeibc/simulation/change_validator_weight.go +++ b/x/stakeibc/simulation/change_validator_weight.go @@ -3,11 +3,12 @@ package simulation import ( "math/rand" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgChangeValidatorWeight( diff --git a/x/stakeibc/simulation/claim_undelegated_tokens.go b/x/stakeibc/simulation/claim_undelegated_tokens.go index dcbdb1a89c..83e202f5f2 100644 --- a/x/stakeibc/simulation/claim_undelegated_tokens.go +++ b/x/stakeibc/simulation/claim_undelegated_tokens.go @@ -3,11 +3,12 @@ package simulation import ( "math/rand" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgClaimUndelegatedTokens( diff --git a/x/stakeibc/simulation/delete_validator.go b/x/stakeibc/simulation/delete_validator.go index f89fc6d64a..12c43edb6b 100644 --- a/x/stakeibc/simulation/delete_validator.go +++ b/x/stakeibc/simulation/delete_validator.go @@ -3,11 +3,12 @@ package simulation import ( "math/rand" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgDeleteValidator( diff --git a/x/stakeibc/simulation/liquid_stake.go b/x/stakeibc/simulation/liquid_stake.go index 5b34ae057a..d66ef7e1c4 100644 --- a/x/stakeibc/simulation/liquid_stake.go +++ b/x/stakeibc/simulation/liquid_stake.go @@ -3,11 +3,12 @@ package simulation import ( "math/rand" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgLiquidStake( diff --git a/x/stakeibc/simulation/rebalance_validators.go b/x/stakeibc/simulation/rebalance_validators.go index aef73f5423..ba2fdf4bb5 100644 --- a/x/stakeibc/simulation/rebalance_validators.go +++ b/x/stakeibc/simulation/rebalance_validators.go @@ -3,11 +3,12 @@ package simulation import ( "math/rand" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgRebalanceValidators( diff --git a/x/stakeibc/simulation/restore_interchain_account.go b/x/stakeibc/simulation/restore_interchain_account.go index 73f92b806d..6db99c6362 100644 --- a/x/stakeibc/simulation/restore_interchain_account.go +++ b/x/stakeibc/simulation/restore_interchain_account.go @@ -3,11 +3,12 @@ package simulation import ( "math/rand" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgRestoreInterchainAccount( diff --git a/x/stakeibc/simulation/update_delegation.go b/x/stakeibc/simulation/update_delegation.go index ac0ecdce92..f992e113ca 100644 --- a/x/stakeibc/simulation/update_delegation.go +++ b/x/stakeibc/simulation/update_delegation.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgUpdateValidatorSharesExchRate( diff --git a/x/stakeibc/types/genesis_test.go b/x/stakeibc/types/genesis_test.go index d3638adf21..daabcd83dc 100644 --- a/x/stakeibc/types/genesis_test.go +++ b/x/stakeibc/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/stakeibc/types/host_zone.pb.go b/x/stakeibc/types/host_zone.pb.go index 0130389cd1..82bce3b3e7 100644 --- a/x/stakeibc/types/host_zone.pb.go +++ b/x/stakeibc/types/host_zone.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - _ "github.com/Stride-Labs/stride/x/records/types" + _ "github.com/Stride-Labs/stride/v3/x/records/types" _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" diff --git a/x/stakeibc/types/message_add_validator.go b/x/stakeibc/types/message_add_validator.go index 288c59e8a0..cd0d9b0291 100644 --- a/x/stakeibc/types/message_add_validator.go +++ b/x/stakeibc/types/message_add_validator.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgAddValidator = "add_validator" diff --git a/x/stakeibc/types/message_add_validator_test.go b/x/stakeibc/types/message_add_validator_test.go index fdd18c50fd..f6eaf74a99 100644 --- a/x/stakeibc/types/message_add_validator_test.go +++ b/x/stakeibc/types/message_add_validator_test.go @@ -3,9 +3,10 @@ package types import ( "testing" - "github.com/Stride-Labs/stride/testutil/sample" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" + + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgAddValidator_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_change_validator_weight.go b/x/stakeibc/types/message_change_validator_weight.go index 64ff87e6a1..ad1b048fd4 100644 --- a/x/stakeibc/types/message_change_validator_weight.go +++ b/x/stakeibc/types/message_change_validator_weight.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgChangeValidatorWeight = "change_validator_weight" diff --git a/x/stakeibc/types/message_change_validator_weight_test.go b/x/stakeibc/types/message_change_validator_weight_test.go index 6203e060ac..42d4f15c53 100644 --- a/x/stakeibc/types/message_change_validator_weight_test.go +++ b/x/stakeibc/types/message_change_validator_weight_test.go @@ -3,9 +3,10 @@ package types import ( "testing" - "github.com/Stride-Labs/stride/testutil/sample" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" + + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgChangeValidatorWeight_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_claim_undelegated_tokens.go b/x/stakeibc/types/message_claim_undelegated_tokens.go index 06a8ccfb53..040ae6149c 100644 --- a/x/stakeibc/types/message_claim_undelegated_tokens.go +++ b/x/stakeibc/types/message_claim_undelegated_tokens.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgClaimUndelegatedTokens = "claim_undelegated_tokens" diff --git a/x/stakeibc/types/message_claim_undelegated_tokens_test.go b/x/stakeibc/types/message_claim_undelegated_tokens_test.go index 1bc71e7ba7..459ef2f6c5 100644 --- a/x/stakeibc/types/message_claim_undelegated_tokens_test.go +++ b/x/stakeibc/types/message_claim_undelegated_tokens_test.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/testutil/sample" + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgClaimUndelegatedTokens_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_clear_balance.go b/x/stakeibc/types/message_clear_balance.go index 62635c78d6..046d665154 100644 --- a/x/stakeibc/types/message_clear_balance.go +++ b/x/stakeibc/types/message_clear_balance.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgClearBalance = "clear_balance" diff --git a/x/stakeibc/types/message_delete_validator.go b/x/stakeibc/types/message_delete_validator.go index 7c2c2a89c3..3621597088 100644 --- a/x/stakeibc/types/message_delete_validator.go +++ b/x/stakeibc/types/message_delete_validator.go @@ -1,9 +1,10 @@ package types import ( - "github.com/Stride-Labs/stride/utils" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgDeleteValidator = "delete_validator" diff --git a/x/stakeibc/types/message_delete_validator_test.go b/x/stakeibc/types/message_delete_validator_test.go index f6838217a0..ca3b7f171f 100644 --- a/x/stakeibc/types/message_delete_validator_test.go +++ b/x/stakeibc/types/message_delete_validator_test.go @@ -3,9 +3,10 @@ package types import ( "testing" - "github.com/Stride-Labs/stride/testutil/sample" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" + + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgDeleteValidator_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_liquid_stake_test.go b/x/stakeibc/types/message_liquid_stake_test.go index 770db66f08..4802a9849c 100644 --- a/x/stakeibc/types/message_liquid_stake_test.go +++ b/x/stakeibc/types/message_liquid_stake_test.go @@ -3,9 +3,10 @@ package types import ( "testing" - "github.com/Stride-Labs/stride/testutil/sample" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" + + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgLiquidStake_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_rebalance_validators.go b/x/stakeibc/types/message_rebalance_validators.go index 6ccb86b2a2..5fc6e1f4c3 100644 --- a/x/stakeibc/types/message_rebalance_validators.go +++ b/x/stakeibc/types/message_rebalance_validators.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgRebalanceValidators = "rebalance_validators" diff --git a/x/stakeibc/types/message_rebalance_validators_test.go b/x/stakeibc/types/message_rebalance_validators_test.go index 2b92911d78..09de373847 100644 --- a/x/stakeibc/types/message_rebalance_validators_test.go +++ b/x/stakeibc/types/message_rebalance_validators_test.go @@ -3,9 +3,10 @@ package types import ( "testing" - "github.com/Stride-Labs/stride/testutil/sample" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" + + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgRebalanceValidators_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_redeem_stake_test.go b/x/stakeibc/types/message_redeem_stake_test.go index c6b849bdd9..e7da352e79 100644 --- a/x/stakeibc/types/message_redeem_stake_test.go +++ b/x/stakeibc/types/message_redeem_stake_test.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/testutil/sample" + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgRedeemStake_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_register_host_zone.go b/x/stakeibc/types/message_register_host_zone.go index 0830e857f2..531da35885 100644 --- a/x/stakeibc/types/message_register_host_zone.go +++ b/x/stakeibc/types/message_register_host_zone.go @@ -8,7 +8,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgRegisterHostZone = "register_host_zone" diff --git a/x/stakeibc/types/message_restore_interchain_account_test.go b/x/stakeibc/types/message_restore_interchain_account_test.go index d1412588e6..f40edf82e1 100644 --- a/x/stakeibc/types/message_restore_interchain_account_test.go +++ b/x/stakeibc/types/message_restore_interchain_account_test.go @@ -3,9 +3,10 @@ package types import ( "testing" - "github.com/Stride-Labs/stride/testutil/sample" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" + + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgRestoreInterchainAccount_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_update_delegation.go b/x/stakeibc/types/message_update_delegation.go index a0c2b761f4..ca812afd63 100644 --- a/x/stakeibc/types/message_update_delegation.go +++ b/x/stakeibc/types/message_update_delegation.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgUpdateValidatorSharesExchRate = "update_validator_shares_exch_rate"