From b72009df74c00aa496dacd248c67041c5d164d49 Mon Sep 17 00:00:00 2001 From: aakash4dev Date: Fri, 19 Jul 2024 16:31:13 +0530 Subject: [PATCH] Update all references back from 'airchains-network' to 'cosmos' The commit refactors all imports in the application from 'airchains-network' to 'cosmos'. This change affects multiple files at once, including main application files and test files. The commit ensures that direct imports from relevant packages point to the 'cosmos' organization rather than 'airchains-network', improving the consistency and maintainability of the code. --- Readme.md | 5 +- app/ante.go | 4 +- app/app.go | 138 +++++++++--------- app/app_test.go | 6 +- app/encoding.go | 2 +- app/export.go | 10 +- app/params/encoding.go | 6 +- app/params/proto.go | 10 +- app/sim_test.go | 20 +-- app/test_helpers.go | 40 ++--- app/test_support.go | 8 +- app/upgrades.go | 24 +-- app/upgrades/noop/upgrades.go | 2 +- app/upgrades/types.go | 10 +- app/upgrades/v050/upgrades.go | 2 +- benchmarks/app_test.go | 22 +-- benchmarks/bench_test.go | 6 +- cmd/config/commands.go | 36 ++--- cmd/config/root.go | 22 +-- cmd/config/testnet.go | 38 ++--- cmd/wasmstationd/main.go | 2 +- go.mod | 8 +- go.sum | 11 +- x/wasm/client/cli/gov_tx.go | 16 +- x/wasm/client/cli/new_tx.go | 6 +- x/wasm/client/cli/query.go | 6 +- x/wasm/client/cli/tx.go | 14 +- x/wasm/client/cli/tx_test.go | 2 +- x/wasm/client/cli/utils.go | 2 +- x/wasm/common_test.go | 2 +- x/wasm/exported/exported.go | 4 +- x/wasm/genesis_test.go | 2 +- x/wasm/ibc.go | 4 +- x/wasm/ibc_integration_test.go | 2 +- x/wasm/ibc_reflect_test.go | 8 +- x/wasm/ibc_test.go | 4 +- x/wasm/ibctesting/chain.go | 30 ++-- x/wasm/ibctesting/endpoint.go | 2 +- x/wasm/ibctesting/faucet.go | 4 +- x/wasm/ibctesting/path.go | 2 +- x/wasm/ibctesting/wasm.go | 2 +- x/wasm/keeper/addresses.go | 4 +- x/wasm/keeper/addresses_test.go | 2 +- x/wasm/keeper/ante.go | 2 +- x/wasm/keeper/ante_test.go | 4 +- x/wasm/keeper/api.go | 2 +- x/wasm/keeper/authz_policy.go | 2 +- x/wasm/keeper/authz_policy_test.go | 2 +- x/wasm/keeper/bench_test.go | 4 +- x/wasm/keeper/contract_keeper.go | 2 +- x/wasm/keeper/contract_keeper_test.go | 2 +- x/wasm/keeper/events.go | 2 +- x/wasm/keeper/events_test.go | 2 +- x/wasm/keeper/genesis.go | 2 +- x/wasm/keeper/genesis_test.go | 18 +-- x/wasm/keeper/handler_plugin.go | 8 +- x/wasm/keeper/handler_plugin_encoders.go | 14 +- x/wasm/keeper/handler_plugin_encoders_test.go | 12 +- x/wasm/keeper/handler_plugin_test.go | 8 +- x/wasm/keeper/ibc.go | 2 +- x/wasm/keeper/ibc_test.go | 2 +- x/wasm/keeper/keeper.go | 16 +- x/wasm/keeper/keeper_cgo.go | 2 +- x/wasm/keeper/keeper_no_cgo.go | 2 +- x/wasm/keeper/keeper_test.go | 20 +-- x/wasm/keeper/migrations.go | 2 +- x/wasm/keeper/migrations_integration_test.go | 6 +- x/wasm/keeper/msg_dispatcher.go | 4 +- x/wasm/keeper/msg_dispatcher_test.go | 2 +- x/wasm/keeper/msg_server.go | 2 +- x/wasm/keeper/msg_server_integration_test.go | 4 +- x/wasm/keeper/msg_server_test.go | 2 +- x/wasm/keeper/options.go | 2 +- x/wasm/keeper/options_test.go | 12 +- x/wasm/keeper/proposal_handler_legacy.go | 6 +- x/wasm/keeper/proposal_integration_test.go | 10 +- x/wasm/keeper/querier.go | 10 +- x/wasm/keeper/querier_test.go | 8 +- .../keeper/query_plugin_integration_test.go | 8 +- x/wasm/keeper/query_plugins.go | 20 +-- x/wasm/keeper/query_plugins_test.go | 14 +- x/wasm/keeper/recurse_test.go | 4 +- x/wasm/keeper/reflect_test.go | 14 +- x/wasm/keeper/relay.go | 6 +- x/wasm/keeper/relay_test.go | 2 +- x/wasm/keeper/snapshotter.go | 2 +- x/wasm/keeper/snapshotter_integration_test.go | 10 +- x/wasm/keeper/staking_test.go | 16 +- x/wasm/keeper/submsg_test.go | 4 +- x/wasm/keeper/test_common.go | 78 +++++----- x/wasm/keeper/test_fuzz.go | 2 +- x/wasm/keeper/testdata/contracts.go | 2 +- x/wasm/keeper/wasmtesting/extension_mocks.go | 2 +- x/wasm/keeper/wasmtesting/message_router.go | 4 +- x/wasm/keeper/wasmtesting/messenger.go | 2 +- x/wasm/keeper/wasmtesting/mock_keepers.go | 2 +- x/wasm/keeper/wasmtesting/msg_dispatcher.go | 2 +- x/wasm/keeper/wasmtesting/query_handler.go | 2 +- x/wasm/migrations/v1/store.go | 2 +- x/wasm/migrations/v1/store_test.go | 4 +- x/wasm/migrations/v2/params_legacy.go | 4 +- x/wasm/migrations/v2/params_legacy_test.go | 2 +- x/wasm/migrations/v2/store.go | 4 +- x/wasm/migrations/v2/store_test.go | 14 +- x/wasm/migrations/v3/store.go | 6 +- x/wasm/migrations/v3/store_test.go | 6 +- x/wasm/module.go | 18 +-- x/wasm/module_test.go | 18 +-- x/wasm/relay_pingpong_test.go | 2 +- x/wasm/relay_test.go | 2 +- x/wasm/simulation/genesis.go | 2 +- x/wasm/simulation/operations.go | 14 +- x/wasm/simulation/proposals.go | 6 +- x/wasm/types/authz.go | 8 +- x/wasm/types/authz.pb.go | 12 +- x/wasm/types/authz_policy.go | 2 +- x/wasm/types/authz_test.go | 6 +- x/wasm/types/codec.go | 12 +- x/wasm/types/context.go | 2 +- x/wasm/types/events.go | 2 +- x/wasm/types/expected_keepers.go | 8 +- x/wasm/types/exported_keepers.go | 2 +- x/wasm/types/gas_register.go | 6 +- x/wasm/types/genesis.go | 4 +- x/wasm/types/genesis.pb.go | 2 +- x/wasm/types/genesis_test.go | 8 +- x/wasm/types/json_matching_test.go | 2 +- x/wasm/types/keys.go | 4 +- x/wasm/types/params.go | 2 +- x/wasm/types/params_test.go | 6 +- x/wasm/types/proposal_legacy.go | 8 +- x/wasm/types/proposal_legacy.pb.go | 14 +- x/wasm/types/proposal_legacy_test.go | 4 +- x/wasm/types/query.pb.go | 4 +- x/wasm/types/test_fixtures.go | 2 +- x/wasm/types/tx.go | 4 +- x/wasm/types/tx.pb.go | 16 +- x/wasm/types/tx_test.go | 2 +- x/wasm/types/types.go | 6 +- x/wasm/types/types.pb.go | 4 +- x/wasm/types/types_test.go | 8 +- 141 files changed, 604 insertions(+), 606 deletions(-) diff --git a/Readme.md b/Readme.md index 645242e..9970ca9 100644 --- a/Readme.md +++ b/Readme.md @@ -29,7 +29,10 @@ The project requires: /bin/bash ./scripts/local-start.sh ``` - +- for testing: transaction bomber +```shell + /bin/bash ./scripts/bomber.sh +``` ## Contributing Contributions are greatly appreciated. You can make contributions by creating issues, fixing bugs, or suggesting new features. Feel free to fork this repository and create pull requests to affect changes. diff --git a/app/ante.go b/app/ante.go index c048356..d84a6bc 100644 --- a/app/ante.go +++ b/app/ante.go @@ -10,8 +10,8 @@ import ( circuitante "cosmossdk.io/x/circuit/ante" circuitkeeper "cosmossdk.io/x/circuit/keeper" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/x/auth/ante" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/auth/ante" wasmkeeper "github.com/airchains-network/station-wasm/x/wasm/keeper" wasmTypes "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/app/app.go b/app/app.go index ff3fc55..e383798 100644 --- a/app/app.go +++ b/app/app.go @@ -63,74 +63,74 @@ import ( upgradekeeper "cosmossdk.io/x/upgrade/keeper" upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/client/flags" - "github.com/airchains-network/cosmos-sdk/client/grpc/cmtservice" - nodeservice "github.com/airchains-network/cosmos-sdk/client/grpc/node" - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/codec/address" - "github.com/airchains-network/cosmos-sdk/codec/types" - "github.com/airchains-network/cosmos-sdk/runtime" - runtimeservices "github.com/airchains-network/cosmos-sdk/runtime/services" - "github.com/airchains-network/cosmos-sdk/server" - "github.com/airchains-network/cosmos-sdk/server/api" - "github.com/airchains-network/cosmos-sdk/server/config" - servertypes "github.com/airchains-network/cosmos-sdk/server/types" - "github.com/airchains-network/cosmos-sdk/std" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/module" - "github.com/airchains-network/cosmos-sdk/types/msgservice" - "github.com/airchains-network/cosmos-sdk/version" - "github.com/airchains-network/cosmos-sdk/x/auth" - "github.com/airchains-network/cosmos-sdk/x/auth/ante" - authcodec "github.com/airchains-network/cosmos-sdk/x/auth/codec" - authkeeper "github.com/airchains-network/cosmos-sdk/x/auth/keeper" - "github.com/airchains-network/cosmos-sdk/x/auth/posthandler" - authsims "github.com/airchains-network/cosmos-sdk/x/auth/simulation" - authtx "github.com/airchains-network/cosmos-sdk/x/auth/tx" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - "github.com/airchains-network/cosmos-sdk/x/auth/vesting" - vestingtypes "github.com/airchains-network/cosmos-sdk/x/auth/vesting/types" - "github.com/airchains-network/cosmos-sdk/x/authz" - authzkeeper "github.com/airchains-network/cosmos-sdk/x/authz/keeper" - authzmodule "github.com/airchains-network/cosmos-sdk/x/authz/module" - "github.com/airchains-network/cosmos-sdk/x/bank" - bankkeeper "github.com/airchains-network/cosmos-sdk/x/bank/keeper" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - "github.com/airchains-network/cosmos-sdk/x/consensus" - consensusparamkeeper "github.com/airchains-network/cosmos-sdk/x/consensus/keeper" - consensusparamtypes "github.com/airchains-network/cosmos-sdk/x/consensus/types" - "github.com/airchains-network/cosmos-sdk/x/crisis" - crisiskeeper "github.com/airchains-network/cosmos-sdk/x/crisis/keeper" - crisistypes "github.com/airchains-network/cosmos-sdk/x/crisis/types" - distr "github.com/airchains-network/cosmos-sdk/x/distribution" - distrkeeper "github.com/airchains-network/cosmos-sdk/x/distribution/keeper" - distrtypes "github.com/airchains-network/cosmos-sdk/x/distribution/types" - "github.com/airchains-network/cosmos-sdk/x/genutil" - genutiltypes "github.com/airchains-network/cosmos-sdk/x/genutil/types" - "github.com/airchains-network/cosmos-sdk/x/gov" - govclient "github.com/airchains-network/cosmos-sdk/x/gov/client" - govkeeper "github.com/airchains-network/cosmos-sdk/x/gov/keeper" - govtypes "github.com/airchains-network/cosmos-sdk/x/gov/types" - govv1beta1 "github.com/airchains-network/cosmos-sdk/x/gov/types/v1beta1" - "github.com/airchains-network/cosmos-sdk/x/group" - groupkeeper "github.com/airchains-network/cosmos-sdk/x/group/keeper" - groupmodule "github.com/airchains-network/cosmos-sdk/x/group/module" - "github.com/airchains-network/cosmos-sdk/x/mint" - mintkeeper "github.com/airchains-network/cosmos-sdk/x/mint/keeper" - minttypes "github.com/airchains-network/cosmos-sdk/x/mint/types" - "github.com/airchains-network/cosmos-sdk/x/params" - paramsclient "github.com/airchains-network/cosmos-sdk/x/params/client" - paramskeeper "github.com/airchains-network/cosmos-sdk/x/params/keeper" - paramstypes "github.com/airchains-network/cosmos-sdk/x/params/types" - paramproposal "github.com/airchains-network/cosmos-sdk/x/params/types/proposal" - "github.com/airchains-network/cosmos-sdk/x/slashing" - slashingkeeper "github.com/airchains-network/cosmos-sdk/x/slashing/keeper" - slashingtypes "github.com/airchains-network/cosmos-sdk/x/slashing/types" - "github.com/airchains-network/cosmos-sdk/x/staking" - stakingkeeper "github.com/airchains-network/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/grpc/cmtservice" + nodeservice "github.com/cosmos/cosmos-sdk/client/grpc/node" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/address" + "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/runtime" + runtimeservices "github.com/cosmos/cosmos-sdk/runtime/services" + "github.com/cosmos/cosmos-sdk/server" + "github.com/cosmos/cosmos-sdk/server/api" + "github.com/cosmos/cosmos-sdk/server/config" + servertypes "github.com/cosmos/cosmos-sdk/server/types" + "github.com/cosmos/cosmos-sdk/std" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/cosmos/cosmos-sdk/version" + "github.com/cosmos/cosmos-sdk/x/auth" + "github.com/cosmos/cosmos-sdk/x/auth/ante" + authcodec "github.com/cosmos/cosmos-sdk/x/auth/codec" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + "github.com/cosmos/cosmos-sdk/x/auth/posthandler" + authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation" + authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/cosmos/cosmos-sdk/x/auth/vesting" + vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + "github.com/cosmos/cosmos-sdk/x/authz" + authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" + authzmodule "github.com/cosmos/cosmos-sdk/x/authz/module" + "github.com/cosmos/cosmos-sdk/x/bank" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/cosmos/cosmos-sdk/x/consensus" + consensusparamkeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" + consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" + "github.com/cosmos/cosmos-sdk/x/crisis" + crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper" + crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" + distr "github.com/cosmos/cosmos-sdk/x/distribution" + distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" + distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/cosmos/cosmos-sdk/x/genutil" + genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/cosmos/cosmos-sdk/x/gov" + govclient "github.com/cosmos/cosmos-sdk/x/gov/client" + govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" + "github.com/cosmos/cosmos-sdk/x/group" + groupkeeper "github.com/cosmos/cosmos-sdk/x/group/keeper" + groupmodule "github.com/cosmos/cosmos-sdk/x/group/module" + "github.com/cosmos/cosmos-sdk/x/mint" + mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" + minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/cosmos/cosmos-sdk/x/params" + paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" + paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/cosmos/cosmos-sdk/x/slashing" + slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/cosmos/cosmos-sdk/x/staking" + stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/x/wasm" wasmkeeper "github.com/airchains-network/station-wasm/x/wasm/keeper" @@ -933,7 +933,7 @@ func (app *WasmStationApp) FinalizeBlock(req *abci.RequestFinalizeBlock) (*abci. // prevents panic: consensus key is nil: collections: not found: key 'no_key' of type github.com/cosmos/gogoproto/tendermint.types.ConsensusParams // sdk 47: // Migrate Tendermint consensus parameters from x/params module to a dedicated x/consensus module. - // see https://github.com/airchains-network/cosmos-sdk/blob/v0.47.0/simapp/upgrades.go#L66 + // see https://github.com/cosmos/cosmos-sdk/blob/v0.47.0/simapp/upgrades.go#L66 baseAppLegacySS := app.GetSubspace(baseapp.Paramspace) err := baseapp.MigrateParams(sdk.UnwrapSDKContext(ctx), baseAppLegacySS, app.ConsensusParamsKeeper.ParamsStore) if err != nil { diff --git a/app/app_test.go b/app/app_test.go index eb39df8..dfedbf4 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -10,9 +10,9 @@ import ( "cosmossdk.io/log" - simtestutil "github.com/airchains-network/cosmos-sdk/testutil/sims" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/msgservice" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/msgservice" wasmkeeper "github.com/airchains-network/station-wasm/x/wasm/keeper" ) diff --git a/app/encoding.go b/app/encoding.go index 97a4420..965653b 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -7,7 +7,7 @@ import ( "cosmossdk.io/log" - simtestutil "github.com/airchains-network/cosmos-sdk/testutil/sims" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" "github.com/airchains-network/station-wasm/app/params" wasmkeeper "github.com/airchains-network/station-wasm/x/wasm/keeper" diff --git a/app/export.go b/app/export.go index b7e632a..5689ac4 100644 --- a/app/export.go +++ b/app/export.go @@ -9,11 +9,11 @@ import ( storetypes "cosmossdk.io/store/types" - servertypes "github.com/airchains-network/cosmos-sdk/server/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - slashingtypes "github.com/airchains-network/cosmos-sdk/x/slashing/types" - "github.com/airchains-network/cosmos-sdk/x/staking" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + servertypes "github.com/cosmos/cosmos-sdk/server/types" + sdk "github.com/cosmos/cosmos-sdk/types" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/cosmos/cosmos-sdk/x/staking" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ) // ExportAppStateAndValidators exports the state of the application for a genesis diff --git a/app/params/encoding.go b/app/params/encoding.go index a4204ec..8ff9ea0 100644 --- a/app/params/encoding.go +++ b/app/params/encoding.go @@ -1,9 +1,9 @@ package params import ( - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/types" ) // EncodingConfig specifies the concrete encoding types to use for a given app. diff --git a/app/params/proto.go b/app/params/proto.go index ab539b3..b704508 100644 --- a/app/params/proto.go +++ b/app/params/proto.go @@ -5,11 +5,11 @@ import ( "cosmossdk.io/x/tx/signing" - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/codec/address" - "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/x/auth/tx" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/address" + "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/auth/tx" ) // MakeEncodingConfig creates an EncodingConfig for an amino based test configuration. diff --git a/app/sim_test.go b/app/sim_test.go index 00db41a..30a052a 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -21,16 +21,16 @@ import ( storetypes "cosmossdk.io/store/types" "cosmossdk.io/x/feegrant" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/client/flags" - "github.com/airchains-network/cosmos-sdk/server" - simtestutil "github.com/airchains-network/cosmos-sdk/testutil/sims" - simtypes "github.com/airchains-network/cosmos-sdk/types/simulation" - authzkeeper "github.com/airchains-network/cosmos-sdk/x/authz/keeper" - "github.com/airchains-network/cosmos-sdk/x/simulation" - simcli "github.com/airchains-network/cosmos-sdk/x/simulation/client/cli" - slashingtypes "github.com/airchains-network/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/server" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" + "github.com/cosmos/cosmos-sdk/x/simulation" + simcli "github.com/cosmos/cosmos-sdk/x/simulation/client/cli" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" wasmtypes "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/app/test_helpers.go b/app/test_helpers.go index b9fa751..a788631 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -21,26 +21,26 @@ import ( "cosmossdk.io/store/snapshots" snapshottypes "cosmossdk.io/store/snapshots/types" - bam "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/client/flags" - "github.com/airchains-network/cosmos-sdk/codec" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - cryptocodec "github.com/airchains-network/cosmos-sdk/crypto/codec" - "github.com/airchains-network/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/airchains-network/cosmos-sdk/crypto/types" - "github.com/airchains-network/cosmos-sdk/server" - servertypes "github.com/airchains-network/cosmos-sdk/server/types" - "github.com/airchains-network/cosmos-sdk/testutil/mock" - "github.com/airchains-network/cosmos-sdk/testutil/network" - simtestutil "github.com/airchains-network/cosmos-sdk/testutil/sims" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/module/testutil" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - minttypes "github.com/airchains-network/cosmos-sdk/x/mint/types" - slashingtypes "github.com/airchains-network/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + bam "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/codec" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" + cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/cosmos/cosmos-sdk/server" + servertypes "github.com/cosmos/cosmos-sdk/server/types" + "github.com/cosmos/cosmos-sdk/testutil/mock" + "github.com/cosmos/cosmos-sdk/testutil/network" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module/testutil" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" wasmkeeper "github.com/airchains-network/station-wasm/x/wasm/keeper" ) diff --git a/app/test_support.go b/app/test_support.go index 34918d2..f324f6d 100644 --- a/app/test_support.go +++ b/app/test_support.go @@ -4,10 +4,10 @@ import ( capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper" ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper" - "github.com/airchains-network/cosmos-sdk/baseapp" - authkeeper "github.com/airchains-network/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/airchains-network/cosmos-sdk/x/bank/keeper" - stakingkeeper "github.com/airchains-network/cosmos-sdk/x/staking/keeper" + "github.com/cosmos/cosmos-sdk/baseapp" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" wasmkeeper "github.com/airchains-network/station-wasm/x/wasm/keeper" ) diff --git a/app/upgrades.go b/app/upgrades.go index f69318a..b6c9b2f 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -5,18 +5,18 @@ import ( upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/airchains-network/cosmos-sdk/baseapp" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - crisistypes "github.com/airchains-network/cosmos-sdk/x/crisis/types" - distrtypes "github.com/airchains-network/cosmos-sdk/x/distribution/types" - govtypes "github.com/airchains-network/cosmos-sdk/x/gov/types" - govv1 "github.com/airchains-network/cosmos-sdk/x/gov/types/v1" - minttypes "github.com/airchains-network/cosmos-sdk/x/mint/types" - paramskeeper "github.com/airchains-network/cosmos-sdk/x/params/keeper" - paramstypes "github.com/airchains-network/cosmos-sdk/x/params/types" - slashingtypes "github.com/airchains-network/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + "github.com/cosmos/cosmos-sdk/baseapp" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" + distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" + minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/app/upgrades" "github.com/airchains-network/station-wasm/app/upgrades/noop" diff --git a/app/upgrades/noop/upgrades.go b/app/upgrades/noop/upgrades.go index 0fdd5d1..3bb6c24 100644 --- a/app/upgrades/noop/upgrades.go +++ b/app/upgrades/noop/upgrades.go @@ -6,8 +6,8 @@ import ( storetypes "cosmossdk.io/store/types" upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/airchains-network/cosmos-sdk/types/module" "github.com/airchains-network/station-wasm/app/upgrades" + "github.com/cosmos/cosmos-sdk/types/module" ) // NewUpgrade constructor diff --git a/app/upgrades/types.go b/app/upgrades/types.go index fc2d4a9..2ff71ce 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -9,11 +9,11 @@ import ( storetypes "cosmossdk.io/store/types" upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/types/module" - authkeeper "github.com/airchains-network/cosmos-sdk/x/auth/keeper" - consensusparamkeeper "github.com/airchains-network/cosmos-sdk/x/consensus/keeper" - paramskeeper "github.com/airchains-network/cosmos-sdk/x/params/keeper" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/types/module" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + consensusparamkeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" + paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" ) type AppKeepers struct { diff --git a/app/upgrades/v050/upgrades.go b/app/upgrades/v050/upgrades.go index 0182587..d0e8f1f 100644 --- a/app/upgrades/v050/upgrades.go +++ b/app/upgrades/v050/upgrades.go @@ -7,8 +7,8 @@ import ( circuittypes "cosmossdk.io/x/circuit/types" upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/airchains-network/cosmos-sdk/types/module" "github.com/airchains-network/station-wasm/app/upgrades" + "github.com/cosmos/cosmos-sdk/types/module" ) // UpgradeName defines the on-chain upgrade name diff --git a/benchmarks/app_test.go b/benchmarks/app_test.go index 851f7bd..e7fd652 100644 --- a/benchmarks/app_test.go +++ b/benchmarks/app_test.go @@ -16,17 +16,17 @@ import ( "cosmossdk.io/log" sdkmath "cosmossdk.io/math" - "github.com/airchains-network/cosmos-sdk/client" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - cryptocodec "github.com/airchains-network/cosmos-sdk/crypto/codec" - "github.com/airchains-network/cosmos-sdk/crypto/keys/secp256k1" - "github.com/airchains-network/cosmos-sdk/testutil/mock" - simtestutil "github.com/airchains-network/cosmos-sdk/testutil/sims" - sdk "github.com/airchains-network/cosmos-sdk/types" - moduletestutil "github.com/airchains-network/cosmos-sdk/types/module/testutil" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + "github.com/cosmos/cosmos-sdk/client" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" + "github.com/cosmos/cosmos-sdk/testutil/mock" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" + sdk "github.com/cosmos/cosmos-sdk/types" + moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/app" wasmkeeper "github.com/airchains-network/station-wasm/x/wasm/keeper" diff --git a/benchmarks/bench_test.go b/benchmarks/bench_test.go index 715fb63..67fadec 100644 --- a/benchmarks/bench_test.go +++ b/benchmarks/bench_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" "github.com/syndtr/goleveldb/leveldb/opt" - "github.com/airchains-network/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/airchains-network/cosmos-sdk/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" + "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" wasmtypes "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/cmd/config/commands.go b/cmd/config/commands.go index 58edd8e..b8eb4ac 100644 --- a/cmd/config/commands.go +++ b/cmd/config/commands.go @@ -15,24 +15,24 @@ import ( "cosmossdk.io/log" confixcmd "cosmossdk.io/tools/confix/cmd" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/client/debug" - "github.com/airchains-network/cosmos-sdk/client/flags" - "github.com/airchains-network/cosmos-sdk/client/keys" - "github.com/airchains-network/cosmos-sdk/client/pruning" - "github.com/airchains-network/cosmos-sdk/client/rpc" - "github.com/airchains-network/cosmos-sdk/client/snapshot" - "github.com/airchains-network/cosmos-sdk/codec" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - "github.com/airchains-network/cosmos-sdk/server" - serverconfig "github.com/airchains-network/cosmos-sdk/server/config" - servertypes "github.com/airchains-network/cosmos-sdk/server/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/module" - authcmd "github.com/airchains-network/cosmos-sdk/x/auth/client/cli" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - "github.com/airchains-network/cosmos-sdk/x/crisis" - genutilcli "github.com/airchains-network/cosmos-sdk/x/genutil/client/cli" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/debug" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/keys" + "github.com/cosmos/cosmos-sdk/client/pruning" + "github.com/cosmos/cosmos-sdk/client/rpc" + "github.com/cosmos/cosmos-sdk/client/snapshot" + "github.com/cosmos/cosmos-sdk/codec" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/server" + serverconfig "github.com/cosmos/cosmos-sdk/server/config" + servertypes "github.com/cosmos/cosmos-sdk/server/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/cosmos/cosmos-sdk/x/crisis" + genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" "github.com/airchains-network/station-wasm/app" "github.com/airchains-network/station-wasm/x/wasm" diff --git a/cmd/config/root.go b/cmd/config/root.go index 6aa0725..ef5d570 100644 --- a/cmd/config/root.go +++ b/cmd/config/root.go @@ -8,17 +8,17 @@ import ( "cosmossdk.io/log" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/client/config" - "github.com/airchains-network/cosmos-sdk/crypto/keyring" - "github.com/airchains-network/cosmos-sdk/server" - simtestutil "github.com/airchains-network/cosmos-sdk/testutil/sims" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/tx/signing" - "github.com/airchains-network/cosmos-sdk/version" - "github.com/airchains-network/cosmos-sdk/x/auth/tx" - txmodule "github.com/airchains-network/cosmos-sdk/x/auth/tx/config" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/config" + "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/cosmos/cosmos-sdk/server" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/cosmos/cosmos-sdk/version" + "github.com/cosmos/cosmos-sdk/x/auth/tx" + txmodule "github.com/cosmos/cosmos-sdk/x/auth/tx/config" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/airchains-network/station-wasm/app" "github.com/airchains-network/station-wasm/app/params" diff --git a/cmd/config/testnet.go b/cmd/config/testnet.go index 89728cd..9b21ea4 100644 --- a/cmd/config/testnet.go +++ b/cmd/config/testnet.go @@ -19,25 +19,25 @@ import ( "cosmossdk.io/math" "cosmossdk.io/math/unsafe" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/client/flags" - "github.com/airchains-network/cosmos-sdk/client/tx" - "github.com/airchains-network/cosmos-sdk/crypto/hd" - "github.com/airchains-network/cosmos-sdk/crypto/keyring" - cryptotypes "github.com/airchains-network/cosmos-sdk/crypto/types" - "github.com/airchains-network/cosmos-sdk/runtime" - "github.com/airchains-network/cosmos-sdk/server" - srvconfig "github.com/airchains-network/cosmos-sdk/server/config" - "github.com/airchains-network/cosmos-sdk/testutil" - "github.com/airchains-network/cosmos-sdk/testutil/network" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/module" - "github.com/airchains-network/cosmos-sdk/version" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - "github.com/airchains-network/cosmos-sdk/x/genutil" - genutiltypes "github.com/airchains-network/cosmos-sdk/x/genutil/types" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/tx" + "github.com/cosmos/cosmos-sdk/crypto/hd" + "github.com/cosmos/cosmos-sdk/crypto/keyring" + cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/cosmos/cosmos-sdk/runtime" + "github.com/cosmos/cosmos-sdk/server" + srvconfig "github.com/cosmos/cosmos-sdk/server/config" + "github.com/cosmos/cosmos-sdk/testutil" + "github.com/cosmos/cosmos-sdk/testutil/network" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + "github.com/cosmos/cosmos-sdk/version" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/cosmos/cosmos-sdk/x/genutil" + genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/app" ) diff --git a/cmd/wasmstationd/main.go b/cmd/wasmstationd/main.go index a271337..1188acd 100644 --- a/cmd/wasmstationd/main.go +++ b/cmd/wasmstationd/main.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/log" - svrcmd "github.com/airchains-network/cosmos-sdk/server/cmd" + svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" "github.com/airchains-network/station-wasm/app" ) diff --git a/go.mod b/go.mod index 44278af..d54ef43 100644 --- a/go.mod +++ b/go.mod @@ -4,9 +4,8 @@ go 1.21 require ( github.com/CosmWasm/wasmvm v1.5.2 - github.com/airchains-network/cosmos-sdk v0.0.2-0.20240718123146-95fd66e98409 github.com/cosmos/cosmos-proto v1.0.0-beta.3 - //github.com/airchains-network/cosmos-sdk v0.50.3 + github.com/cosmos/cosmos-sdk v0.50.3 github.com/cosmos/gogogateway v1.2.0 // indirect github.com/cosmos/gogoproto v1.4.11 github.com/cosmos/iavl v1.0.0 @@ -85,7 +84,6 @@ require ( github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect github.com/cometbft/cometbft-db v0.9.1 // indirect github.com/cosmos/btcutil v1.0.5 // indirect - github.com/cosmos/cosmos-sdk v0.50.3 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect github.com/creachadair/atomicfile v0.3.1 // indirect @@ -209,8 +207,8 @@ require ( replace ( github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 - //github.com/cometbft/cometbft => github.com/airchains-network/wasmbft v0.0.0-20240718110141-af54a17b5fb1 - //github.com/cosmos/cosmos-sdk => github.com/airchains-network/cosmos-sdk v0.0.2-0.20240718123146-95fd66e98409 + github.com/cometbft/cometbft => github.com/airchains-network/wasmbft v0.0.1-alpha + github.com/cosmos/cosmos-sdk => github.com/airchains-network/cosmos-sdk v0.0.1-alpha github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.8.1 github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 ) diff --git a/go.sum b/go.sum index 666257d..fe2d49c 100644 --- a/go.sum +++ b/go.sum @@ -248,9 +248,10 @@ github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/ github.com/adlio/schema v1.3.3 h1:oBJn8I02PyTB466pZO1UZEn1TV5XLlifBSyMrmHl/1I= github.com/adlio/schema v1.3.3/go.mod h1:1EsRssiv9/Ce2CMzq5DoL7RiMshhuigQxrR4DMV9fHg= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= -github.com/airchains-network/cosmos-sdk v0.0.1/go.mod h1:tlrkY1sntOt1q0OX/rqF0zRJtmXNoffAS6VFTcky+w8= -github.com/airchains-network/cosmos-sdk v0.0.2-0.20240718123146-95fd66e98409 h1:zZ9o/Le1Kpxr61JIr16Ah7JqCv5i0EIFU9DmFULgo5Y= -github.com/airchains-network/cosmos-sdk v0.0.2-0.20240718123146-95fd66e98409/go.mod h1:X4yOdy0Gt7fcFE1vWmdv/uMLGvGfqXiSPsy4y4Q8rdQ= +github.com/airchains-network/cosmos-sdk v0.0.1-alpha h1:zVI1bxFZeBY7hjmcxu/zmffR/j3dZy1XOqW9ZFYErac= +github.com/airchains-network/cosmos-sdk v0.0.1-alpha/go.mod h1:tlrkY1sntOt1q0OX/rqF0zRJtmXNoffAS6VFTcky+w8= +github.com/airchains-network/wasmbft v0.0.1-alpha h1:tngjMBTK9fyQ29nraL72uvpcNaS26O4OdJ3H5DpBf6c= +github.com/airchains-network/wasmbft v0.0.1-alpha/go.mod h1:PIi48BpzwlHqtV3mzwPyQgOyOnU94BNBimLS2ebBHOg= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= @@ -341,8 +342,6 @@ github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/cometbft/cometbft v0.38.2 h1:io0JCh5EPxINKN5ZMI5hCdpW3QVZRy+o8qWe3mlJa/8= -github.com/cometbft/cometbft v0.38.2/go.mod h1:PIi48BpzwlHqtV3mzwPyQgOyOnU94BNBimLS2ebBHOg= github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= @@ -359,8 +358,6 @@ github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0 github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U= github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o= github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I= -github.com/cosmos/cosmos-sdk v0.50.3 h1:zP0AXm54ws2t2qVWvcQhEYVafhOAREU2QL0gnbwjvXw= -github.com/cosmos/cosmos-sdk v0.50.3/go.mod h1:tlrkY1sntOt1q0OX/rqF0zRJtmXNoffAS6VFTcky+w8= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE= diff --git a/x/wasm/client/cli/gov_tx.go b/x/wasm/client/cli/gov_tx.go index 9e8f890..c07b2fb 100644 --- a/x/wasm/client/cli/gov_tx.go +++ b/x/wasm/client/cli/gov_tx.go @@ -13,14 +13,14 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/client/flags" - "github.com/airchains-network/cosmos-sdk/client/tx" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" - "github.com/airchains-network/cosmos-sdk/version" - "github.com/airchains-network/cosmos-sdk/x/gov/client/cli" - v1 "github.com/airchains-network/cosmos-sdk/x/gov/types/v1" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/tx" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" + "github.com/cosmos/cosmos-sdk/version" + "github.com/cosmos/cosmos-sdk/x/gov/client/cli" + v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" "github.com/airchains-network/station-wasm/x/wasm/ioutils" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/client/cli/new_tx.go b/x/wasm/client/cli/new_tx.go index ad38d8d..53ff546 100644 --- a/x/wasm/client/cli/new_tx.go +++ b/x/wasm/client/cli/new_tx.go @@ -7,9 +7,9 @@ import ( errorsmod "cosmossdk.io/errors" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/client/flags" - "github.com/airchains-network/cosmos-sdk/client/tx" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/tx" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/client/cli/query.go b/x/wasm/client/cli/query.go index 5d420d9..4792b43 100644 --- a/x/wasm/client/cli/query.go +++ b/x/wasm/client/cli/query.go @@ -14,9 +14,9 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/client/flags" - sdk "github.com/airchains-network/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/keeper" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/client/cli/tx.go b/x/wasm/client/cli/tx.go index 55074c8..467f8ed 100644 --- a/x/wasm/client/cli/tx.go +++ b/x/wasm/client/cli/tx.go @@ -12,13 +12,13 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/client/flags" - "github.com/airchains-network/cosmos-sdk/client/tx" - "github.com/airchains-network/cosmos-sdk/crypto/keyring" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/version" - "github.com/airchains-network/cosmos-sdk/x/authz" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/tx" + "github.com/cosmos/cosmos-sdk/crypto/keyring" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/version" + "github.com/cosmos/cosmos-sdk/x/authz" "github.com/airchains-network/station-wasm/x/wasm/ioutils" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/client/cli/tx_test.go b/x/wasm/client/cli/tx_test.go index 2b78a0c..78c386a 100644 --- a/x/wasm/client/cli/tx_test.go +++ b/x/wasm/client/cli/tx_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/ioutils" "github.com/airchains-network/station-wasm/x/wasm/keeper/testdata" diff --git a/x/wasm/client/cli/utils.go b/x/wasm/client/cli/utils.go index 5938dd2..97adca5 100644 --- a/x/wasm/client/cli/utils.go +++ b/x/wasm/client/cli/utils.go @@ -7,7 +7,7 @@ import ( tmcmd "github.com/cometbft/cometbft/cmd/cometbft/commands" "github.com/spf13/cobra" - "github.com/airchains-network/cosmos-sdk/server" + "github.com/cosmos/cosmos-sdk/server" ) // ExtendUnsafeResetAllCmd - also clear wasm dir diff --git a/x/wasm/common_test.go b/x/wasm/common_test.go index 87e5f0d..11dd27e 100644 --- a/x/wasm/common_test.go +++ b/x/wasm/common_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/exported/exported.go b/x/wasm/exported/exported.go index 72feb73..000114e 100644 --- a/x/wasm/exported/exported.go +++ b/x/wasm/exported/exported.go @@ -1,8 +1,8 @@ package exported import ( - sdk "github.com/airchains-network/cosmos-sdk/types" - paramtypes "github.com/airchains-network/cosmos-sdk/x/params/types" + sdk "github.com/cosmos/cosmos-sdk/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" ) type ( diff --git a/x/wasm/genesis_test.go b/x/wasm/genesis_test.go index 18699b7..fa216dd 100644 --- a/x/wasm/genesis_test.go +++ b/x/wasm/genesis_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/keeper" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/ibc.go b/x/wasm/ibc.go index ab070c7..5d403f6 100644 --- a/x/wasm/ibc.go +++ b/x/wasm/ibc.go @@ -12,7 +12,7 @@ import ( errorsmod "cosmossdk.io/errors" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/keeper" "github.com/airchains-network/station-wasm/x/wasm/types" @@ -348,7 +348,7 @@ func newIBCPacket(packet channeltypes.Packet) wasmvmtypes.IBCPacket { func ValidateChannelParams(channelID string) error { // NOTE: for escrow address security only 2^32 channels are allowed to be created - // Issue: https://github.com/airchains-network/cosmos-sdk/issues/7737 + // Issue: https://github.com/cosmos/cosmos-sdk/issues/7737 channelSequence, err := channeltypes.ParseChannelSequence(channelID) if err != nil { return err diff --git a/x/wasm/ibc_integration_test.go b/x/wasm/ibc_integration_test.go index 4e142b4..c8bbdcb 100644 --- a/x/wasm/ibc_integration_test.go +++ b/x/wasm/ibc_integration_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/app" wasmibctesting "github.com/airchains-network/station-wasm/x/wasm/ibctesting" diff --git a/x/wasm/ibc_reflect_test.go b/x/wasm/ibc_reflect_test.go index 73884e2..066f392 100644 --- a/x/wasm/ibc_reflect_test.go +++ b/x/wasm/ibc_reflect_test.go @@ -72,12 +72,12 @@ func TestIBCReflectContract(t *testing.T) { // and submit them to the other side (same with acks). This is what the real relayer does. I guess the test framework doesn't? // Update: I dug through the code, especially channel.Keeper.SendPacket, and it only writes a commitment - // only writes I see: https://github.com/airchains-network/cosmos-sdk/blob/31fdee0228bd6f3e787489c8e4434aabc8facb7d/x/ibc/core/04-channel/keeper/packet.go#L115-L116 - // commitment is hashed packet: https://github.com/airchains-network/cosmos-sdk/blob/31fdee0228bd6f3e787489c8e4434aabc8facb7d/x/ibc/core/04-channel/types/packet.go#L14-L34 + // only writes I see: https://github.com/cosmos/cosmos-sdk/blob/31fdee0228bd6f3e787489c8e4434aabc8facb7d/x/ibc/core/04-channel/keeper/packet.go#L115-L116 + // commitment is hashed packet: https://github.com/cosmos/cosmos-sdk/blob/31fdee0228bd6f3e787489c8e4434aabc8facb7d/x/ibc/core/04-channel/types/packet.go#L14-L34 // how is the relayer supposed to get the original packet data?? - // eg. ibctransfer doesn't store the packet either: https://github.com/airchains-network/cosmos-sdk/blob/master/x/ibc/applications/transfer/keeper/relay.go#L145-L162 + // eg. ibctransfer doesn't store the packet either: https://github.com/cosmos/cosmos-sdk/blob/master/x/ibc/applications/transfer/keeper/relay.go#L145-L162 // ... or I guess the original packet data is only available in the event logs???? - // https://github.com/airchains-network/cosmos-sdk/blob/31fdee0228bd6f3e787489c8e4434aabc8facb7d/x/ibc/core/04-channel/keeper/packet.go#L121-L132 + // https://github.com/cosmos/cosmos-sdk/blob/31fdee0228bd6f3e787489c8e4434aabc8facb7d/x/ibc/core/04-channel/keeper/packet.go#L121-L132 // ensure the expected packet was prepared, and relay it require.Equal(t, 1, len(chainA.PendingSendPackets)) diff --git a/x/wasm/ibc_test.go b/x/wasm/ibc_test.go index 25e8b58..4576103 100644 --- a/x/wasm/ibc_test.go +++ b/x/wasm/ibc_test.go @@ -12,8 +12,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" "github.com/airchains-network/station-wasm/x/wasm/keeper" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/ibctesting/chain.go b/x/wasm/ibctesting/chain.go index 4bd58d7..cfdc91a 100644 --- a/x/wasm/ibctesting/chain.go +++ b/x/wasm/ibctesting/chain.go @@ -6,7 +6,7 @@ import ( "testing" "time" - // simtestutil "github.com/airchains-network/cosmos-sdk/testutil/sims" + // simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" abci "github.com/cometbft/cometbft/abci/types" "github.com/cometbft/cometbft/crypto/tmhash" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" @@ -30,20 +30,20 @@ import ( sdkmath "cosmossdk.io/math" storetypes "cosmossdk.io/store/types" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/airchains-network/cosmos-sdk/crypto/types" - servertypes "github.com/airchains-network/cosmos-sdk/server/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - authkeeper "github.com/airchains-network/cosmos-sdk/x/auth/keeper" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - bankkeeper "github.com/airchains-network/cosmos-sdk/x/bank/keeper" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - stakingkeeper "github.com/airchains-network/cosmos-sdk/x/staking/keeper" - "github.com/airchains-network/cosmos-sdk/x/staking/testutil" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" + cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + servertypes "github.com/cosmos/cosmos-sdk/server/types" + sdk "github.com/cosmos/cosmos-sdk/types" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + "github.com/cosmos/cosmos-sdk/x/staking/testutil" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/app" wasmkeeper "github.com/airchains-network/station-wasm/x/wasm/keeper" diff --git a/x/wasm/ibctesting/endpoint.go b/x/wasm/ibctesting/endpoint.go index ccfd6d0..eb519c2 100644 --- a/x/wasm/ibctesting/endpoint.go +++ b/x/wasm/ibctesting/endpoint.go @@ -15,7 +15,7 @@ import ( ibctesting "github.com/cosmos/ibc-go/v8/testing" "github.com/stretchr/testify/require" - "github.com/airchains-network/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/baseapp" ) // Endpoint is a which represents a channel endpoint and its associated diff --git a/x/wasm/ibctesting/faucet.go b/x/wasm/ibctesting/faucet.go index 90f0803..3856546 100644 --- a/x/wasm/ibctesting/faucet.go +++ b/x/wasm/ibctesting/faucet.go @@ -5,8 +5,8 @@ import ( "cosmossdk.io/math" - sdk "github.com/airchains-network/cosmos-sdk/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" ) // Fund an address with the given amount in default denom diff --git a/x/wasm/ibctesting/path.go b/x/wasm/ibctesting/path.go index 4a106f4..0bc4943 100644 --- a/x/wasm/ibctesting/path.go +++ b/x/wasm/ibctesting/path.go @@ -6,7 +6,7 @@ import ( channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // Path contains two endpoints representing two chains connected over IBC diff --git a/x/wasm/ibctesting/wasm.go b/x/wasm/ibctesting/wasm.go index f09818f..226d3ca 100644 --- a/x/wasm/ibctesting/wasm.go +++ b/x/wasm/ibctesting/wasm.go @@ -15,7 +15,7 @@ import ( ibctesting "github.com/cosmos/ibc-go/v8/testing" "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/addresses.go b/x/wasm/keeper/addresses.go index f6c034e..5f97c84 100644 --- a/x/wasm/keeper/addresses.go +++ b/x/wasm/keeper/addresses.go @@ -5,8 +5,8 @@ import ( "encoding/binary" "fmt" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/addresses_test.go b/x/wasm/keeper/addresses_test.go index 71ff517..c548f46 100644 --- a/x/wasm/keeper/addresses_test.go +++ b/x/wasm/keeper/addresses_test.go @@ -8,7 +8,7 @@ import ( tmbytes "github.com/cometbft/cometbft/libs/bytes" "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) func prepareCleanup(t *testing.T) { diff --git a/x/wasm/keeper/ante.go b/x/wasm/keeper/ante.go index 7416c5c..42b94b6 100644 --- a/x/wasm/keeper/ante.go +++ b/x/wasm/keeper/ante.go @@ -7,7 +7,7 @@ import ( errorsmod "cosmossdk.io/errors" storetypes "cosmossdk.io/store/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/ante_test.go b/x/wasm/keeper/ante_test.go index 3b77ad9..95243b4 100644 --- a/x/wasm/keeper/ante_test.go +++ b/x/wasm/keeper/ante_test.go @@ -14,8 +14,8 @@ import ( storemetrics "cosmossdk.io/store/metrics" storetypes "cosmossdk.io/store/types" - "github.com/airchains-network/cosmos-sdk/runtime" - sdk "github.com/airchains-network/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/runtime" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/keeper" "github.com/airchains-network/station-wasm/x/wasm/keeper/wasmtesting" diff --git a/x/wasm/keeper/api.go b/x/wasm/keeper/api.go index 36e03c1..75b0a15 100644 --- a/x/wasm/keeper/api.go +++ b/x/wasm/keeper/api.go @@ -4,7 +4,7 @@ import ( wasmvm "github.com/CosmWasm/wasmvm" wasmvmtypes "github.com/CosmWasm/wasmvm/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/authz_policy.go b/x/wasm/keeper/authz_policy.go index f4ad844..ba51c87 100644 --- a/x/wasm/keeper/authz_policy.go +++ b/x/wasm/keeper/authz_policy.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/authz_policy_test.go b/x/wasm/keeper/authz_policy_test.go index 378e310..d58e029 100644 --- a/x/wasm/keeper/authz_policy_test.go +++ b/x/wasm/keeper/authz_policy_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/bench_test.go b/x/wasm/keeper/bench_test.go index 9b043fb..84c6e3b 100644 --- a/x/wasm/keeper/bench_test.go +++ b/x/wasm/keeper/bench_test.go @@ -7,7 +7,7 @@ import ( dbm "github.com/cosmos/cosmos-db" "github.com/stretchr/testify/require" - "github.com/airchains-network/cosmos-sdk/crypto/keys/secp256k1" + "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" "github.com/airchains-network/station-wasm/x/wasm/types" ) @@ -15,7 +15,7 @@ import ( // BenchmarkVerification benchmarks secp256k1 verification which is 1000 gas based on cpu time. // // Just this function is copied from -// https://github.com/airchains-network/cosmos-sdk/blob/90e9370bd80d9a3d41f7203ddb71166865561569/crypto/keys/internal/benchmarking/bench.go#L48-L62 +// https://github.com/cosmos/cosmos-sdk/blob/90e9370bd80d9a3d41f7203ddb71166865561569/crypto/keys/internal/benchmarking/bench.go#L48-L62 // And thus under the GO license (BSD style) func BenchmarkGasNormalization(b *testing.B) { priv := secp256k1.GenPrivKey() diff --git a/x/wasm/keeper/contract_keeper.go b/x/wasm/keeper/contract_keeper.go index 0a7a077..bba2f61 100644 --- a/x/wasm/keeper/contract_keeper.go +++ b/x/wasm/keeper/contract_keeper.go @@ -3,7 +3,7 @@ package keeper import ( "context" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/contract_keeper_test.go b/x/wasm/keeper/contract_keeper_test.go index 6c11119..030a8aa 100644 --- a/x/wasm/keeper/contract_keeper_test.go +++ b/x/wasm/keeper/contract_keeper_test.go @@ -12,7 +12,7 @@ import ( storetypes "cosmossdk.io/store/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/keeper/wasmtesting" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/events.go b/x/wasm/keeper/events.go index 2e03a31..14414d4 100644 --- a/x/wasm/keeper/events.go +++ b/x/wasm/keeper/events.go @@ -8,7 +8,7 @@ import ( errorsmod "cosmossdk.io/errors" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/events_test.go b/x/wasm/keeper/events_test.go index e5831aa..91e3e08 100644 --- a/x/wasm/keeper/events_test.go +++ b/x/wasm/keeper/events_test.go @@ -7,7 +7,7 @@ import ( wasmvmtypes "github.com/CosmWasm/wasmvm/types" "github.com/stretchr/testify/assert" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/genesis.go b/x/wasm/keeper/genesis.go index b439322..7333932 100644 --- a/x/wasm/keeper/genesis.go +++ b/x/wasm/keeper/genesis.go @@ -7,7 +7,7 @@ import ( errorsmod "cosmossdk.io/errors" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/genesis_test.go b/x/wasm/keeper/genesis_test.go index 7b2c2ce..26b1b7d 100644 --- a/x/wasm/keeper/genesis_test.go +++ b/x/wasm/keeper/genesis_test.go @@ -22,15 +22,15 @@ import ( storemetrics "cosmossdk.io/store/metrics" storetypes "cosmossdk.io/store/types" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/runtime" - sdk "github.com/airchains-network/cosmos-sdk/types" - authkeeper "github.com/airchains-network/cosmos-sdk/x/auth/keeper" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - bankkeeper "github.com/airchains-network/cosmos-sdk/x/bank/keeper" - govtypes "github.com/airchains-network/cosmos-sdk/x/gov/types" - "github.com/airchains-network/cosmos-sdk/x/gov/types/v1beta1" - stakingkeeper "github.com/airchains-network/cosmos-sdk/x/staking/keeper" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/runtime" + sdk "github.com/cosmos/cosmos-sdk/types" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" + stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/handler_plugin.go b/x/wasm/keeper/handler_plugin.go index e40e0ac..58f492a 100644 --- a/x/wasm/keeper/handler_plugin.go +++ b/x/wasm/keeper/handler_plugin.go @@ -10,10 +10,10 @@ import ( errorsmod "cosmossdk.io/errors" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/codec" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/codec" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/handler_plugin_encoders.go b/x/wasm/keeper/handler_plugin_encoders.go index b0ceeeb..c446228 100644 --- a/x/wasm/keeper/handler_plugin_encoders.go +++ b/x/wasm/keeper/handler_plugin_encoders.go @@ -12,13 +12,13 @@ import ( errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - distributiontypes "github.com/airchains-network/cosmos-sdk/x/distribution/types" - v1 "github.com/airchains-network/cosmos-sdk/x/gov/types/v1" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + codectypes "github.com/cosmos/cosmos-sdk/codec/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" + distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/handler_plugin_encoders_test.go b/x/wasm/keeper/handler_plugin_encoders_test.go index e490a94..e5e8274 100644 --- a/x/wasm/keeper/handler_plugin_encoders_test.go +++ b/x/wasm/keeper/handler_plugin_encoders_test.go @@ -13,12 +13,12 @@ import ( sdkmath "cosmossdk.io/math" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - distributiontypes "github.com/airchains-network/cosmos-sdk/x/distribution/types" - govv1 "github.com/airchains-network/cosmos-sdk/x/gov/types/v1" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/x/wasm/keeper/wasmtesting" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/handler_plugin_test.go b/x/wasm/keeper/handler_plugin_test.go index 6f5460b..ac06bc8 100644 --- a/x/wasm/keeper/handler_plugin_test.go +++ b/x/wasm/keeper/handler_plugin_test.go @@ -16,10 +16,10 @@ import ( "cosmossdk.io/log" sdkmath "cosmossdk.io/math" - "github.com/airchains-network/cosmos-sdk/baseapp" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/airchains-network/station-wasm/x/wasm/keeper/wasmtesting" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/ibc.go b/x/wasm/keeper/ibc.go index 5aa122f..6dff27f 100644 --- a/x/wasm/keeper/ibc.go +++ b/x/wasm/keeper/ibc.go @@ -8,7 +8,7 @@ import ( errorsmod "cosmossdk.io/errors" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/ibc_test.go b/x/wasm/keeper/ibc_test.go index f28f2a4..99627a6 100644 --- a/x/wasm/keeper/ibc_test.go +++ b/x/wasm/keeper/ibc_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) func TestDontBindPortNonIBCContract(t *testing.T) { diff --git a/x/wasm/keeper/keeper.go b/x/wasm/keeper/keeper.go index ed4378d..8a51b05 100644 --- a/x/wasm/keeper/keeper.go +++ b/x/wasm/keeper/keeper.go @@ -22,13 +22,13 @@ import ( "cosmossdk.io/store/prefix" storetypes "cosmossdk.io/store/types" - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/runtime" - "github.com/airchains-network/cosmos-sdk/telemetry" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - vestingexported "github.com/airchains-network/cosmos-sdk/x/auth/vesting/exported" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/runtime" + "github.com/cosmos/cosmos-sdk/telemetry" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + vestingexported "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" "github.com/airchains-network/station-wasm/x/wasm/ioutils" "github.com/airchains-network/station-wasm/x/wasm/types" @@ -1238,7 +1238,7 @@ func (k Keeper) QueryGasLimit() storetypes.Gas { } // BankCoinTransferrer replicates the cosmos-sdk behavior as in -// https://github.com/airchains-network/cosmos-sdk/blob/v0.41.4/x/bank/keeper/msg_server.go#L26 +// https://github.com/cosmos/cosmos-sdk/blob/v0.41.4/x/bank/keeper/msg_server.go#L26 type BankCoinTransferrer struct { keeper types.BankKeeper } diff --git a/x/wasm/keeper/keeper_cgo.go b/x/wasm/keeper/keeper_cgo.go index ac22037..0fad208 100644 --- a/x/wasm/keeper/keeper_cgo.go +++ b/x/wasm/keeper/keeper_cgo.go @@ -10,7 +10,7 @@ import ( "cosmossdk.io/collections" corestoretypes "cosmossdk.io/core/store" - "github.com/airchains-network/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/keeper_no_cgo.go b/x/wasm/keeper/keeper_no_cgo.go index b92cd58..7a46960 100644 --- a/x/wasm/keeper/keeper_no_cgo.go +++ b/x/wasm/keeper/keeper_no_cgo.go @@ -5,7 +5,7 @@ package keeper import ( storetypes "cosmossdk.io/store/types" - "github.com/airchains-network/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/keeper_test.go b/x/wasm/keeper/keeper_test.go index 12d5914..7c747a9 100644 --- a/x/wasm/keeper/keeper_test.go +++ b/x/wasm/keeper/keeper_test.go @@ -24,16 +24,16 @@ import ( sdkmath "cosmossdk.io/math" storetypes "cosmossdk.io/store/types" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - "github.com/airchains-network/cosmos-sdk/x/auth/vesting" - vestingtypes "github.com/airchains-network/cosmos-sdk/x/auth/vesting/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - distributiontypes "github.com/airchains-network/cosmos-sdk/x/distribution/types" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/cosmos/cosmos-sdk/x/auth/vesting" + vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" "github.com/airchains-network/station-wasm/x/wasm/keeper/testdata" "github.com/airchains-network/station-wasm/x/wasm/keeper/wasmtesting" diff --git a/x/wasm/keeper/migrations.go b/x/wasm/keeper/migrations.go index 1f76903..e94e428 100644 --- a/x/wasm/keeper/migrations.go +++ b/x/wasm/keeper/migrations.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/exported" v1 "github.com/airchains-network/station-wasm/x/wasm/migrations/v1" diff --git a/x/wasm/keeper/migrations_integration_test.go b/x/wasm/keeper/migrations_integration_test.go index 7b1dde4..f407e32 100644 --- a/x/wasm/keeper/migrations_integration_test.go +++ b/x/wasm/keeper/migrations_integration_test.go @@ -9,9 +9,9 @@ import ( upgradetypes "cosmossdk.io/x/upgrade/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" - "github.com/airchains-network/cosmos-sdk/types/module" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" + "github.com/cosmos/cosmos-sdk/types/module" "github.com/airchains-network/station-wasm/app" v2 "github.com/airchains-network/station-wasm/x/wasm/migrations/v2" diff --git a/x/wasm/keeper/msg_dispatcher.go b/x/wasm/keeper/msg_dispatcher.go index 14ab19f..45be599 100644 --- a/x/wasm/keeper/msg_dispatcher.go +++ b/x/wasm/keeper/msg_dispatcher.go @@ -11,8 +11,8 @@ import ( errorsmod "cosmossdk.io/errors" storetypes "cosmossdk.io/store/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/msg_dispatcher_test.go b/x/wasm/keeper/msg_dispatcher_test.go index be4931d..5851554 100644 --- a/x/wasm/keeper/msg_dispatcher_test.go +++ b/x/wasm/keeper/msg_dispatcher_test.go @@ -13,7 +13,7 @@ import ( "cosmossdk.io/log" storetypes "cosmossdk.io/store/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/keeper/wasmtesting" ) diff --git a/x/wasm/keeper/msg_server.go b/x/wasm/keeper/msg_server.go index 2c61065..d778c93 100644 --- a/x/wasm/keeper/msg_server.go +++ b/x/wasm/keeper/msg_server.go @@ -5,7 +5,7 @@ import ( errorsmod "cosmossdk.io/errors" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/msg_server_integration_test.go b/x/wasm/keeper/msg_server_integration_test.go index a4f0ad7..a7a10e8 100644 --- a/x/wasm/keeper/msg_server_integration_test.go +++ b/x/wasm/keeper/msg_server_integration_test.go @@ -12,8 +12,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/airchains-network/cosmos-sdk/testutil/testdata" - sdk "github.com/airchains-network/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/testutil/testdata" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/app" "github.com/airchains-network/station-wasm/x/wasm/keeper" diff --git a/x/wasm/keeper/msg_server_test.go b/x/wasm/keeper/msg_server_test.go index c1c4b3d..ee37ed9 100644 --- a/x/wasm/keeper/msg_server_test.go +++ b/x/wasm/keeper/msg_server_test.go @@ -11,7 +11,7 @@ import ( "cosmossdk.io/store" storemetrics "cosmossdk.io/store/metrics" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/options.go b/x/wasm/keeper/options.go index 677f095..b04f5d4 100644 --- a/x/wasm/keeper/options.go +++ b/x/wasm/keeper/options.go @@ -6,7 +6,7 @@ import ( "github.com/prometheus/client_golang/prometheus" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/options_test.go b/x/wasm/keeper/options_test.go index 01cc5ee..001570f 100644 --- a/x/wasm/keeper/options_test.go +++ b/x/wasm/keeper/options_test.go @@ -11,12 +11,12 @@ import ( storetypes "cosmossdk.io/store/types" - "github.com/airchains-network/cosmos-sdk/runtime" - authkeeper "github.com/airchains-network/cosmos-sdk/x/auth/keeper" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - vestingtypes "github.com/airchains-network/cosmos-sdk/x/auth/vesting/types" - bankkeeper "github.com/airchains-network/cosmos-sdk/x/bank/keeper" - stakingkeeper "github.com/airchains-network/cosmos-sdk/x/staking/keeper" + "github.com/cosmos/cosmos-sdk/runtime" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" "github.com/airchains-network/station-wasm/x/wasm/keeper/wasmtesting" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/proposal_handler_legacy.go b/x/wasm/keeper/proposal_handler_legacy.go index 67b48fc..4b907ab 100644 --- a/x/wasm/keeper/proposal_handler_legacy.go +++ b/x/wasm/keeper/proposal_handler_legacy.go @@ -7,9 +7,9 @@ import ( errorsmod "cosmossdk.io/errors" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - "github.com/airchains-network/cosmos-sdk/x/gov/types/v1beta1" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/proposal_integration_test.go b/x/wasm/keeper/proposal_integration_test.go index 79cb2a5..48c86cd 100644 --- a/x/wasm/keeper/proposal_integration_test.go +++ b/x/wasm/keeper/proposal_integration_test.go @@ -12,11 +12,11 @@ import ( sdkmath "cosmossdk.io/math" - sdk "github.com/airchains-network/cosmos-sdk/types" - govkeeper "github.com/airchains-network/cosmos-sdk/x/gov/keeper" - govtypes "github.com/airchains-network/cosmos-sdk/x/gov/types" - v1 "github.com/airchains-network/cosmos-sdk/x/gov/types/v1" - "github.com/airchains-network/cosmos-sdk/x/gov/types/v1beta1" + sdk "github.com/cosmos/cosmos-sdk/types" + govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/airchains-network/station-wasm/x/wasm/keeper/testdata" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/querier.go b/x/wasm/keeper/querier.go index e2cd129..837aea1 100644 --- a/x/wasm/keeper/querier.go +++ b/x/wasm/keeper/querier.go @@ -13,11 +13,11 @@ import ( "cosmossdk.io/store/prefix" storetypes "cosmossdk.io/store/types" - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/runtime" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - "github.com/airchains-network/cosmos-sdk/types/query" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/runtime" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/cosmos/cosmos-sdk/types/query" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/querier_test.go b/x/wasm/keeper/querier_test.go index edde865..d4c0896 100644 --- a/x/wasm/keeper/querier_test.go +++ b/x/wasm/keeper/querier_test.go @@ -20,10 +20,10 @@ import ( "cosmossdk.io/log" storetypes "cosmossdk.io/store/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkErrors "github.com/airchains-network/cosmos-sdk/types/errors" - "github.com/airchains-network/cosmos-sdk/types/query" - govv1beta1 "github.com/airchains-network/cosmos-sdk/x/gov/types/v1beta1" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkErrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/cosmos/cosmos-sdk/types/query" + govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/airchains-network/station-wasm/x/wasm/keeper/wasmtesting" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/query_plugin_integration_test.go b/x/wasm/keeper/query_plugin_integration_test.go index 2cd3ba3..ba04f64 100644 --- a/x/wasm/keeper/query_plugin_integration_test.go +++ b/x/wasm/keeper/query_plugin_integration_test.go @@ -16,10 +16,10 @@ import ( errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/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" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/x/wasm/keeper/testdata" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/query_plugins.go b/x/wasm/keeper/query_plugins.go index 0b6b178..316c5f6 100644 --- a/x/wasm/keeper/query_plugins.go +++ b/x/wasm/keeper/query_plugins.go @@ -14,14 +14,14 @@ import ( errorsmod "cosmossdk.io/errors" storetypes "cosmossdk.io/store/types" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/codec" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - "github.com/airchains-network/cosmos-sdk/types/query" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - distributiontypes "github.com/airchains-network/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/codec" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/cosmos/cosmos-sdk/types/query" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) @@ -479,7 +479,7 @@ func sdkToDelegations(ctx sdk.Context, keeper types.StakingKeeper, delegations [ } // shares to amount logic comes from here: - // https://github.com/airchains-network/cosmos-sdk/blob/v0.38.3/x/staking/keeper/querier.go#L404 + // https://github.com/cosmos/cosmos-sdk/blob/v0.38.3/x/staking/keeper/querier.go#L404 val, err := keeper.GetValidator(ctx, valAddr) if err != nil { // is stakingtypes.ErrNoValidatorFound return nil, errorsmod.Wrap(err, "can't load validator for delegation") @@ -550,7 +550,7 @@ func sdkToFullDelegation(ctx sdk.Context, keeper types.StakingKeeper, distKeeper } // FIXME: simplify this enormously when -// https://github.com/airchains-network/cosmos-sdk/issues/7466 is merged +// https://github.com/cosmos/cosmos-sdk/issues/7466 is merged func getAccumulatedRewards(ctx sdk.Context, distKeeper types.DistributionKeeper, delegation stakingtypes.Delegation) ([]wasmvmtypes.Coin, error) { // Try to get *delegator* reward info! params := distributiontypes.QueryDelegationRewardsRequest{ diff --git a/x/wasm/keeper/query_plugins_test.go b/x/wasm/keeper/query_plugins_test.go index 5c84f6f..61d596d 100644 --- a/x/wasm/keeper/query_plugins_test.go +++ b/x/wasm/keeper/query_plugins_test.go @@ -24,13 +24,13 @@ import ( storemetrics "cosmossdk.io/store/metrics" storetypes "cosmossdk.io/store/types" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - "github.com/airchains-network/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/query" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/query" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/app" "github.com/airchains-network/station-wasm/x/wasm/keeper" diff --git a/x/wasm/keeper/recurse_test.go b/x/wasm/keeper/recurse_test.go index 09b813b..06fb10d 100644 --- a/x/wasm/keeper/recurse_test.go +++ b/x/wasm/keeper/recurse_test.go @@ -10,8 +10,8 @@ import ( storetypes "cosmossdk.io/store/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/reflect_test.go b/x/wasm/keeper/reflect_test.go index dde49df..3f14347 100644 --- a/x/wasm/keeper/reflect_test.go +++ b/x/wasm/keeper/reflect_test.go @@ -11,13 +11,13 @@ import ( errorsmod "cosmossdk.io/errors" - "github.com/airchains-network/cosmos-sdk/codec" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - authkeeper "github.com/airchains-network/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/airchains-network/cosmos-sdk/x/bank/keeper" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" + "github.com/cosmos/cosmos-sdk/codec" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/airchains-network/station-wasm/x/wasm/keeper/testdata" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/relay.go b/x/wasm/keeper/relay.go index fc1cd3b..c4d3e6f 100644 --- a/x/wasm/keeper/relay.go +++ b/x/wasm/keeper/relay.go @@ -9,8 +9,8 @@ import ( errorsmod "cosmossdk.io/errors" - "github.com/airchains-network/cosmos-sdk/telemetry" - sdk "github.com/airchains-network/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/telemetry" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) @@ -52,7 +52,7 @@ func (k Keeper) OnOpenChannel( // In the IBC protocol this is either the `Channel Open Ack` event on the initiating chain or // `Channel Open Confirm` on the counterparty chain. // -// There is an open issue with the [cosmos-sdk](https://github.com/airchains-network/cosmos-sdk/issues/8334) +// There is an open issue with the [cosmos-sdk](https://github.com/cosmos/cosmos-sdk/issues/8334) // that the counterparty channelID is empty on the initiating chain // See https://github.com/cosmos/ics/tree/master/spec/ics-004-channel-and-packet-semantics#channel-lifecycle-management func (k Keeper) OnConnectChannel( diff --git a/x/wasm/keeper/relay_test.go b/x/wasm/keeper/relay_test.go index adc6e08..3390833 100644 --- a/x/wasm/keeper/relay_test.go +++ b/x/wasm/keeper/relay_test.go @@ -13,7 +13,7 @@ import ( storetypes "cosmossdk.io/store/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/keeper/wasmtesting" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/snapshotter.go b/x/wasm/keeper/snapshotter.go index 9997a14..b90e679 100644 --- a/x/wasm/keeper/snapshotter.go +++ b/x/wasm/keeper/snapshotter.go @@ -12,7 +12,7 @@ import ( snapshot "cosmossdk.io/store/snapshots/types" storetypes "cosmossdk.io/store/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/ioutils" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/snapshotter_integration_test.go b/x/wasm/keeper/snapshotter_integration_test.go index 5907161..8966fd3 100644 --- a/x/wasm/keeper/snapshotter_integration_test.go +++ b/x/wasm/keeper/snapshotter_integration_test.go @@ -14,11 +14,11 @@ import ( sdkmath "cosmossdk.io/math" - cryptocodec "github.com/airchains-network/cosmos-sdk/crypto/codec" - "github.com/airchains-network/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/airchains-network/cosmos-sdk/types" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" + cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" + sdk "github.com/cosmos/cosmos-sdk/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/airchains-network/station-wasm/app" "github.com/airchains-network/station-wasm/x/wasm/keeper" diff --git a/x/wasm/keeper/staking_test.go b/x/wasm/keeper/staking_test.go index a2b55fc..4f64293 100644 --- a/x/wasm/keeper/staking_test.go +++ b/x/wasm/keeper/staking_test.go @@ -11,14 +11,14 @@ import ( sdkmath "cosmossdk.io/math" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - "github.com/airchains-network/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/airchains-network/cosmos-sdk/types" - authkeeper "github.com/airchains-network/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/airchains-network/cosmos-sdk/x/bank/keeper" - distributionkeeper "github.com/airchains-network/cosmos-sdk/x/distribution/keeper" - stakingkeeper "github.com/airchains-network/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" + sdk "github.com/cosmos/cosmos-sdk/types" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + distributionkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" + stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/airchains-network/station-wasm/x/wasm/keeper/testdata" wasmtypes "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/keeper/submsg_test.go b/x/wasm/keeper/submsg_test.go index 4dadaaa..fedbff3 100644 --- a/x/wasm/keeper/submsg_test.go +++ b/x/wasm/keeper/submsg_test.go @@ -15,8 +15,8 @@ import ( errorsmod "cosmossdk.io/errors" storetypes "cosmossdk.io/store/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/airchains-network/station-wasm/x/wasm/keeper/testdata" "github.com/airchains-network/station-wasm/x/wasm/keeper/wasmtesting" diff --git a/x/wasm/keeper/test_common.go b/x/wasm/keeper/test_common.go index a8e8076..ee5a30a 100644 --- a/x/wasm/keeper/test_common.go +++ b/x/wasm/keeper/test_common.go @@ -37,44 +37,44 @@ import ( upgradekeeper "cosmossdk.io/x/upgrade/keeper" upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/runtime" - "github.com/airchains-network/cosmos-sdk/std" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - "github.com/airchains-network/cosmos-sdk/types/module" - "github.com/airchains-network/cosmos-sdk/x/auth" - authcodec "github.com/airchains-network/cosmos-sdk/x/auth/codec" - authkeeper "github.com/airchains-network/cosmos-sdk/x/auth/keeper" - authtypes "github.com/airchains-network/cosmos-sdk/x/auth/types" - "github.com/airchains-network/cosmos-sdk/x/auth/vesting" - authzkeeper "github.com/airchains-network/cosmos-sdk/x/authz/keeper" - "github.com/airchains-network/cosmos-sdk/x/bank" - bankkeeper "github.com/airchains-network/cosmos-sdk/x/bank/keeper" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - "github.com/airchains-network/cosmos-sdk/x/crisis" - crisistypes "github.com/airchains-network/cosmos-sdk/x/crisis/types" - "github.com/airchains-network/cosmos-sdk/x/distribution" - distributionkeeper "github.com/airchains-network/cosmos-sdk/x/distribution/keeper" - distributiontypes "github.com/airchains-network/cosmos-sdk/x/distribution/types" - "github.com/airchains-network/cosmos-sdk/x/gov" - govclient "github.com/airchains-network/cosmos-sdk/x/gov/client" - govkeeper "github.com/airchains-network/cosmos-sdk/x/gov/keeper" - govtypes "github.com/airchains-network/cosmos-sdk/x/gov/types" - govv1 "github.com/airchains-network/cosmos-sdk/x/gov/types/v1" - "github.com/airchains-network/cosmos-sdk/x/mint" - minttypes "github.com/airchains-network/cosmos-sdk/x/mint/types" - "github.com/airchains-network/cosmos-sdk/x/params" - paramsclient "github.com/airchains-network/cosmos-sdk/x/params/client" - paramskeeper "github.com/airchains-network/cosmos-sdk/x/params/keeper" - paramstypes "github.com/airchains-network/cosmos-sdk/x/params/types" - "github.com/airchains-network/cosmos-sdk/x/slashing" - slashingtypes "github.com/airchains-network/cosmos-sdk/x/slashing/types" - "github.com/airchains-network/cosmos-sdk/x/staking" - stakingkeeper "github.com/airchains-network/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/runtime" + "github.com/cosmos/cosmos-sdk/std" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/cosmos/cosmos-sdk/types/module" + "github.com/cosmos/cosmos-sdk/x/auth" + authcodec "github.com/cosmos/cosmos-sdk/x/auth/codec" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/cosmos/cosmos-sdk/x/auth/vesting" + authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" + "github.com/cosmos/cosmos-sdk/x/bank" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/cosmos/cosmos-sdk/x/crisis" + crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" + "github.com/cosmos/cosmos-sdk/x/distribution" + distributionkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" + distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/cosmos/cosmos-sdk/x/gov" + govclient "github.com/cosmos/cosmos-sdk/x/gov/client" + govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" + "github.com/cosmos/cosmos-sdk/x/mint" + minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/cosmos/cosmos-sdk/x/params" + paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" + paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/cosmos/cosmos-sdk/x/slashing" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/cosmos/cosmos-sdk/x/staking" + stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" wasmappparams "github.com/airchains-network/station-wasm/app/params" "github.com/airchains-network/station-wasm/x/wasm/keeper/testdata" @@ -351,7 +351,7 @@ func createTestInput( faucet := NewTestFaucet(t, ctx, bankKeeper, minttypes.ModuleName, sdk.NewCoin("stake", sdkmath.NewInt(100_000_000_000))) // set some funds ot pay out validatores, based on code from: - // https://github.com/airchains-network/cosmos-sdk/blob/fea231556aee4d549d7551a6190389c4328194eb/x/distribution/keeper/keeper_test.go#L50-L57 + // https://github.com/cosmos/cosmos-sdk/blob/fea231556aee4d549d7551a6190389c4328194eb/x/distribution/keeper/keeper_test.go#L50-L57 distrAcc := distKeeper.GetDistributionAccount(ctx) faucet.Fund(ctx, distrAcc.GetAddress(), sdk.NewCoin("stake", sdkmath.NewInt(2000000))) accountKeeper.SetModuleAccount(ctx, distrAcc) diff --git a/x/wasm/keeper/test_fuzz.go b/x/wasm/keeper/test_fuzz.go index 5808e7e..6eae235 100644 --- a/x/wasm/keeper/test_fuzz.go +++ b/x/wasm/keeper/test_fuzz.go @@ -6,7 +6,7 @@ import ( tmBytes "github.com/cometbft/cometbft/libs/bytes" fuzz "github.com/google/gofuzz" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/testdata/contracts.go b/x/wasm/keeper/testdata/contracts.go index fe219ac..299fc9a 100644 --- a/x/wasm/keeper/testdata/contracts.go +++ b/x/wasm/keeper/testdata/contracts.go @@ -5,7 +5,7 @@ import ( typwasmvmtypes "github.com/CosmWasm/wasmvm/types" - "github.com/airchains-network/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types" ) const ( diff --git a/x/wasm/keeper/wasmtesting/extension_mocks.go b/x/wasm/keeper/wasmtesting/extension_mocks.go index 0e02c7a..0bf241c 100644 --- a/x/wasm/keeper/wasmtesting/extension_mocks.go +++ b/x/wasm/keeper/wasmtesting/extension_mocks.go @@ -1,7 +1,7 @@ package wasmtesting import ( - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) type MockCoinTransferrer struct { diff --git a/x/wasm/keeper/wasmtesting/message_router.go b/x/wasm/keeper/wasmtesting/message_router.go index d2512e5..712e012 100644 --- a/x/wasm/keeper/wasmtesting/message_router.go +++ b/x/wasm/keeper/wasmtesting/message_router.go @@ -1,8 +1,8 @@ package wasmtesting import ( - "github.com/airchains-network/cosmos-sdk/baseapp" - sdk "github.com/airchains-network/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" ) // MockMessageRouter mock for testing diff --git a/x/wasm/keeper/wasmtesting/messenger.go b/x/wasm/keeper/wasmtesting/messenger.go index 278336b..8f613cf 100644 --- a/x/wasm/keeper/wasmtesting/messenger.go +++ b/x/wasm/keeper/wasmtesting/messenger.go @@ -5,7 +5,7 @@ import ( wasmvmtypes "github.com/CosmWasm/wasmvm/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) type MockMessageHandler struct { diff --git a/x/wasm/keeper/wasmtesting/mock_keepers.go b/x/wasm/keeper/wasmtesting/mock_keepers.go index 7d9dfef..21296ee 100644 --- a/x/wasm/keeper/wasmtesting/mock_keepers.go +++ b/x/wasm/keeper/wasmtesting/mock_keepers.go @@ -5,7 +5,7 @@ import ( clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" //nolint:staticcheck channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/keeper/wasmtesting/msg_dispatcher.go b/x/wasm/keeper/wasmtesting/msg_dispatcher.go index 3d6af42..4d016f4 100644 --- a/x/wasm/keeper/wasmtesting/msg_dispatcher.go +++ b/x/wasm/keeper/wasmtesting/msg_dispatcher.go @@ -3,7 +3,7 @@ package wasmtesting import ( wasmvmtypes "github.com/CosmWasm/wasmvm/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) type MockMsgDispatcher struct { diff --git a/x/wasm/keeper/wasmtesting/query_handler.go b/x/wasm/keeper/wasmtesting/query_handler.go index b5cbb4c..e70495b 100644 --- a/x/wasm/keeper/wasmtesting/query_handler.go +++ b/x/wasm/keeper/wasmtesting/query_handler.go @@ -3,7 +3,7 @@ package wasmtesting import ( wasmvmtypes "github.com/CosmWasm/wasmvm/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) type MockQueryHandler struct { diff --git a/x/wasm/migrations/v1/store.go b/x/wasm/migrations/v1/store.go index d1ae75e..fd17cec 100644 --- a/x/wasm/migrations/v1/store.go +++ b/x/wasm/migrations/v1/store.go @@ -3,7 +3,7 @@ package v1 import ( "context" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/migrations/v1/store_test.go b/x/wasm/migrations/v1/store_test.go index 0569169..f046405 100644 --- a/x/wasm/migrations/v1/store_test.go +++ b/x/wasm/migrations/v1/store_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" "github.com/airchains-network/station-wasm/x/wasm/keeper" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/migrations/v2/params_legacy.go b/x/wasm/migrations/v2/params_legacy.go index 335354c..9cb8d47 100644 --- a/x/wasm/migrations/v2/params_legacy.go +++ b/x/wasm/migrations/v2/params_legacy.go @@ -13,8 +13,8 @@ import ( errorsmod "cosmossdk.io/errors" - sdk "github.com/airchains-network/cosmos-sdk/types" - paramtypes "github.com/airchains-network/cosmos-sdk/x/params/types" + sdk "github.com/cosmos/cosmos-sdk/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/migrations/v2/params_legacy_test.go b/x/wasm/migrations/v2/params_legacy_test.go index d632846..d405b0b 100644 --- a/x/wasm/migrations/v2/params_legacy_test.go +++ b/x/wasm/migrations/v2/params_legacy_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/airchains-network/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec" ) func TestAccessTypeMarshalJson(t *testing.T) { diff --git a/x/wasm/migrations/v2/store.go b/x/wasm/migrations/v2/store.go index fefd425..6d013b2 100644 --- a/x/wasm/migrations/v2/store.go +++ b/x/wasm/migrations/v2/store.go @@ -3,8 +3,8 @@ package v2 import ( corestoretypes "cosmossdk.io/core/store" - "github.com/airchains-network/cosmos-sdk/codec" - sdk "github.com/airchains-network/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/codec" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/exported" "github.com/airchains-network/station-wasm/x/wasm/types" diff --git a/x/wasm/migrations/v2/store_test.go b/x/wasm/migrations/v2/store_test.go index 37db5ec..36f7433 100644 --- a/x/wasm/migrations/v2/store_test.go +++ b/x/wasm/migrations/v2/store_test.go @@ -9,13 +9,13 @@ import ( storetypes "cosmossdk.io/store/types" - "github.com/airchains-network/cosmos-sdk/runtime" - "github.com/airchains-network/cosmos-sdk/testutil" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" - moduletestutil "github.com/airchains-network/cosmos-sdk/types/module/testutil" - paramskeeper "github.com/airchains-network/cosmos-sdk/x/params/keeper" - paramstypes "github.com/airchains-network/cosmos-sdk/x/params/types" + "github.com/cosmos/cosmos-sdk/runtime" + "github.com/cosmos/cosmos-sdk/testutil" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" + moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" + paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/airchains-network/station-wasm/x/wasm" v2 "github.com/airchains-network/station-wasm/x/wasm/migrations/v2" diff --git a/x/wasm/migrations/v3/store.go b/x/wasm/migrations/v3/store.go index ca7983e..b414977 100644 --- a/x/wasm/migrations/v3/store.go +++ b/x/wasm/migrations/v3/store.go @@ -7,9 +7,9 @@ import ( corestoretypes "cosmossdk.io/core/store" "cosmossdk.io/store/prefix" - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/runtime" - sdk "github.com/airchains-network/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/runtime" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/migrations/v3/store_test.go b/x/wasm/migrations/v3/store_test.go index 29725fb..d7f0f20 100644 --- a/x/wasm/migrations/v3/store_test.go +++ b/x/wasm/migrations/v3/store_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" - moduletestutil "github.com/airchains-network/cosmos-sdk/types/module/testutil" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" + moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" "github.com/airchains-network/station-wasm/x/wasm" "github.com/airchains-network/station-wasm/x/wasm/keeper" diff --git a/x/wasm/module.go b/x/wasm/module.go index 3a11fb7..c37cdc7 100644 --- a/x/wasm/module.go +++ b/x/wasm/module.go @@ -15,15 +15,15 @@ import ( "cosmossdk.io/core/appmodule" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/client" - "github.com/airchains-network/cosmos-sdk/codec" - cdctypes "github.com/airchains-network/cosmos-sdk/codec/types" - "github.com/airchains-network/cosmos-sdk/server" - servertypes "github.com/airchains-network/cosmos-sdk/server/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/module" - simtypes "github.com/airchains-network/cosmos-sdk/types/simulation" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" + cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/server" + servertypes "github.com/cosmos/cosmos-sdk/server/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/airchains-network/station-wasm/x/wasm/client/cli" "github.com/airchains-network/station-wasm/x/wasm/exported" diff --git a/x/wasm/module_test.go b/x/wasm/module_test.go index e5c7c95..fa5441f 100644 --- a/x/wasm/module_test.go +++ b/x/wasm/module_test.go @@ -13,15 +13,15 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/codec" - servertypes "github.com/airchains-network/cosmos-sdk/server/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" - "github.com/airchains-network/cosmos-sdk/types/module" - authkeeper "github.com/airchains-network/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/airchains-network/cosmos-sdk/x/bank/keeper" - stakingkeeper "github.com/airchains-network/cosmos-sdk/x/staking/keeper" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/codec" + servertypes "github.com/cosmos/cosmos-sdk/server/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" + "github.com/cosmos/cosmos-sdk/types/module" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" "github.com/airchains-network/station-wasm/app/params" "github.com/airchains-network/station-wasm/x/wasm/exported" diff --git a/x/wasm/relay_pingpong_test.go b/x/wasm/relay_pingpong_test.go index d0a2d7d..4775762 100644 --- a/x/wasm/relay_pingpong_test.go +++ b/x/wasm/relay_pingpong_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" app2 "github.com/airchains-network/station-wasm/app" wasmibctesting "github.com/airchains-network/station-wasm/x/wasm/ibctesting" diff --git a/x/wasm/relay_test.go b/x/wasm/relay_test.go index d8cc31d..146b520 100644 --- a/x/wasm/relay_test.go +++ b/x/wasm/relay_test.go @@ -18,7 +18,7 @@ import ( errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/airchains-network/station-wasm/app" wasmibctesting "github.com/airchains-network/station-wasm/x/wasm/ibctesting" diff --git a/x/wasm/simulation/genesis.go b/x/wasm/simulation/genesis.go index f367b9a..3db8148 100644 --- a/x/wasm/simulation/genesis.go +++ b/x/wasm/simulation/genesis.go @@ -1,7 +1,7 @@ package simulation import ( - "github.com/airchains-network/cosmos-sdk/types/module" + "github.com/cosmos/cosmos-sdk/types/module" "github.com/airchains-network/station-wasm/x/wasm/types" ) diff --git a/x/wasm/simulation/operations.go b/x/wasm/simulation/operations.go index 33e49b5..67e14b0 100644 --- a/x/wasm/simulation/operations.go +++ b/x/wasm/simulation/operations.go @@ -10,13 +10,13 @@ import ( errorsmod "cosmossdk.io/errors" - "github.com/airchains-network/cosmos-sdk/baseapp" - "github.com/airchains-network/cosmos-sdk/codec" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - simtypes "github.com/airchains-network/cosmos-sdk/types/simulation" - "github.com/airchains-network/cosmos-sdk/x/auth/tx" - "github.com/airchains-network/cosmos-sdk/x/simulation" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/codec" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/cosmos/cosmos-sdk/x/simulation" "github.com/airchains-network/station-wasm/app/params" wasmkeeper "github.com/airchains-network/station-wasm/x/wasm/keeper" diff --git a/x/wasm/simulation/proposals.go b/x/wasm/simulation/proposals.go index 8cf9182..6cc3d15 100644 --- a/x/wasm/simulation/proposals.go +++ b/x/wasm/simulation/proposals.go @@ -3,9 +3,9 @@ package simulation import ( "math/rand" - sdk "github.com/airchains-network/cosmos-sdk/types" - simtypes "github.com/airchains-network/cosmos-sdk/types/simulation" - "github.com/airchains-network/cosmos-sdk/x/simulation" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/cosmos/cosmos-sdk/x/simulation" "github.com/airchains-network/station-wasm/app/params" "github.com/airchains-network/station-wasm/x/wasm/keeper/testdata" diff --git a/x/wasm/types/authz.go b/x/wasm/types/authz.go index 73369b8..59be311 100644 --- a/x/wasm/types/authz.go +++ b/x/wasm/types/authz.go @@ -10,10 +10,10 @@ import ( errorsmod "cosmossdk.io/errors" - cdctypes "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - authztypes "github.com/airchains-network/cosmos-sdk/x/authz" + cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + authztypes "github.com/cosmos/cosmos-sdk/x/authz" "github.com/airchains-network/station-wasm/x/wasm/ioutils" ) diff --git a/x/wasm/types/authz.pb.go b/x/wasm/types/authz.pb.go index 476219f..d15d09b 100644 --- a/x/wasm/types/authz.pb.go +++ b/x/wasm/types/authz.pb.go @@ -9,11 +9,11 @@ import ( math "math" math_bits "math/bits" - types "github.com/airchains-network/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/airchains-network/cosmos-sdk/types" - types1 "github.com/airchains-network/cosmos-sdk/types" - _ "github.com/airchains-network/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/cosmos-proto" + types "github.com/cosmos/cosmos-sdk/codec/types" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + types1 "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" ) @@ -316,7 +316,7 @@ var xxx_messageInfo_MaxCallsLimit proto.InternalMessageInfo // Since: WasmStationd 0.30 type MaxFundsLimit struct { // Amounts is the maximal amount of tokens transferable to the contract. - Amounts github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amounts,proto3,castrepeated=github.com/airchains-network/cosmos-sdk/types.Coins" json:"amounts"` + Amounts github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amounts,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amounts"` } func (m *MaxFundsLimit) Reset() { *m = MaxFundsLimit{} } @@ -364,7 +364,7 @@ type CombinedLimit struct { // Remaining number that is decremented on each execution CallsRemaining uint64 `protobuf:"varint,1,opt,name=calls_remaining,json=callsRemaining,proto3" json:"calls_remaining,omitempty"` // Amounts is the maximal amount of tokens transferable to the contract. - Amounts github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amounts,proto3,castrepeated=github.com/airchains-network/cosmos-sdk/types.Coins" json:"amounts"` + Amounts github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amounts,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amounts"` } func (m *CombinedLimit) Reset() { *m = CombinedLimit{} } diff --git a/x/wasm/types/authz_policy.go b/x/wasm/types/authz_policy.go index 83c8368..335f315 100644 --- a/x/wasm/types/authz_policy.go +++ b/x/wasm/types/authz_policy.go @@ -1,7 +1,7 @@ package types import ( - "github.com/airchains-network/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types" ) // ChainAccessConfigs chain settings diff --git a/x/wasm/types/authz_test.go b/x/wasm/types/authz_test.go index 0591767..12ea9e0 100644 --- a/x/wasm/types/authz_test.go +++ b/x/wasm/types/authz_test.go @@ -13,9 +13,9 @@ import ( sdkmath "cosmossdk.io/math" storetypes "cosmossdk.io/store/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - authztypes "github.com/airchains-network/cosmos-sdk/x/authz" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + authztypes "github.com/cosmos/cosmos-sdk/x/authz" ) func TestContractAuthzFilterValidate(t *testing.T) { diff --git a/x/wasm/types/codec.go b/x/wasm/types/codec.go index 7a442fe..277af11 100644 --- a/x/wasm/types/codec.go +++ b/x/wasm/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/msgservice" - "github.com/airchains-network/cosmos-sdk/x/authz" - "github.com/airchains-network/cosmos-sdk/x/gov/types/v1beta1" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/cosmos/cosmos-sdk/x/authz" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) // RegisterLegacyAminoCodec registers the concrete types and interface diff --git a/x/wasm/types/context.go b/x/wasm/types/context.go index e3a105d..60d5ded 100644 --- a/x/wasm/types/context.go +++ b/x/wasm/types/context.go @@ -3,7 +3,7 @@ package types import ( "context" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // private type creates an interface key for Context that cannot be accessed by any other package diff --git a/x/wasm/types/events.go b/x/wasm/types/events.go index f37322b..db44bb4 100644 --- a/x/wasm/types/events.go +++ b/x/wasm/types/events.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/ibc-go/v8/modules/core/exported" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) const ( diff --git a/x/wasm/types/expected_keepers.go b/x/wasm/types/expected_keepers.go index 5a15e67..d2df911 100644 --- a/x/wasm/types/expected_keepers.go +++ b/x/wasm/types/expected_keepers.go @@ -9,10 +9,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" - sdk "github.com/airchains-network/cosmos-sdk/types" - banktypes "github.com/airchains-network/cosmos-sdk/x/bank/types" - distrtypes "github.com/airchains-network/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/airchains-network/cosmos-sdk/x/staking/types" + sdk "github.com/cosmos/cosmos-sdk/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ) // BankViewKeeper defines a subset of methods implemented by the cosmos-sdk bank keeper diff --git a/x/wasm/types/exported_keepers.go b/x/wasm/types/exported_keepers.go index 67ec731..d00b39c 100644 --- a/x/wasm/types/exported_keepers.go +++ b/x/wasm/types/exported_keepers.go @@ -7,7 +7,7 @@ import ( capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // ViewKeeper provides read only operations diff --git a/x/wasm/types/gas_register.go b/x/wasm/types/gas_register.go index f57c6f0..ee40037 100644 --- a/x/wasm/types/gas_register.go +++ b/x/wasm/types/gas_register.go @@ -7,14 +7,14 @@ import ( sdkmath "cosmossdk.io/math" storetypes "cosmossdk.io/store/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) const ( // DefaultGasMultiplier is how many CosmWasm gas points = 1 Cosmos SDK gas point. // // CosmWasm gas strategy is documented in https://github.com/CosmWasm/cosmwasm/blob/v1.0.0-beta/docs/GAS.md. - // Cosmos SDK reference costs can be found here: https://github.com/airchains-network/cosmos-sdk/blob/v0.42.10/store/types/gas.go#L198-L209. + // Cosmos SDK reference costs can be found here: https://github.com/cosmos/cosmos-sdk/blob/v0.42.10/store/types/gas.go#L198-L209. // // The original multiplier of 100 up to CosmWasm 0.16 was based on // "A write at ~3000 gas and ~200us = 10 gas per us (microsecond) cpu/io @@ -100,7 +100,7 @@ type WasmGasRegisterConfig struct { // UncompressCost costs per byte to unpack a contract UncompressCost wasmvmtypes.UFraction // GasMultiplier is how many cosmwasm gas points = 1 sdk gas point - // SDK reference costs can be found here: https://github.com/airchains-network/cosmos-sdk/blob/02c6c9fafd58da88550ab4d7d494724a477c8a68/store/types/gas.go#L153-L164 + // SDK reference costs can be found here: https://github.com/cosmos/cosmos-sdk/blob/02c6c9fafd58da88550ab4d7d494724a477c8a68/store/types/gas.go#L153-L164 GasMultiplier storetypes.Gas // EventPerAttributeCost is how much SDK gas is charged *per byte* for attribute data in events. // This is used with len(key) + len(value) diff --git a/x/wasm/types/genesis.go b/x/wasm/types/genesis.go index f0aa36c..1a53c4a 100644 --- a/x/wasm/types/genesis.go +++ b/x/wasm/types/genesis.go @@ -3,8 +3,8 @@ package types import ( errorsmod "cosmossdk.io/errors" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) func (s Sequence) ValidateBasic() error { diff --git a/x/wasm/types/genesis.pb.go b/x/wasm/types/genesis.pb.go index 89eb158..ff6ad94 100644 --- a/x/wasm/types/genesis.pb.go +++ b/x/wasm/types/genesis.pb.go @@ -9,8 +9,8 @@ import ( math "math" math_bits "math/bits" - _ "github.com/airchains-network/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/cosmos-proto" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" ) diff --git a/x/wasm/types/genesis_test.go b/x/wasm/types/genesis_test.go index 9861ad6..9eaf14f 100644 --- a/x/wasm/types/genesis_test.go +++ b/x/wasm/types/genesis_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/airchains-network/cosmos-sdk/codec" - "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/x/gov/types/v1beta1" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) const invalidAddress = "invalid address" diff --git a/x/wasm/types/json_matching_test.go b/x/wasm/types/json_matching_test.go index d679ee9..18bb40b 100644 --- a/x/wasm/types/json_matching_test.go +++ b/x/wasm/types/json_matching_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - // sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" + // sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" ) diff --git a/x/wasm/types/keys.go b/x/wasm/types/keys.go index 283f638..468d986 100644 --- a/x/wasm/types/keys.go +++ b/x/wasm/types/keys.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/types/address" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/address" ) const ( diff --git a/x/wasm/types/params.go b/x/wasm/types/params.go index d67048b..4b923b1 100644 --- a/x/wasm/types/params.go +++ b/x/wasm/types/params.go @@ -9,7 +9,7 @@ import ( errorsmod "cosmossdk.io/errors" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) var AllAccessTypes = []AccessType{ diff --git a/x/wasm/types/params_test.go b/x/wasm/types/params_test.go index 5608efe..2a27500 100644 --- a/x/wasm/types/params_test.go +++ b/x/wasm/types/params_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/airchains-network/cosmos-sdk/codec" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/codec" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) func TestValidateParams(t *testing.T) { diff --git a/x/wasm/types/proposal_legacy.go b/x/wasm/types/proposal_legacy.go index 83d9c56..9745e47 100644 --- a/x/wasm/types/proposal_legacy.go +++ b/x/wasm/types/proposal_legacy.go @@ -8,10 +8,10 @@ import ( errorsmod "cosmossdk.io/errors" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" - govtypes "github.com/airchains-network/cosmos-sdk/x/gov/types" - "github.com/airchains-network/cosmos-sdk/x/gov/types/v1beta1" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) type ProposalType string diff --git a/x/wasm/types/proposal_legacy.pb.go b/x/wasm/types/proposal_legacy.pb.go index 9f287c1..60b9256 100644 --- a/x/wasm/types/proposal_legacy.pb.go +++ b/x/wasm/types/proposal_legacy.pb.go @@ -10,10 +10,10 @@ import ( math "math" math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/airchains-network/cosmos-sdk/types" - types "github.com/airchains-network/cosmos-sdk/types" - _ "github.com/airchains-network/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/cosmos-proto" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" ) @@ -119,7 +119,7 @@ type InstantiateContractProposal struct { // Msg json encoded message to be passed to the contract on instantiation Msg RawContractMessage `protobuf:"bytes,7,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on instantiation - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,8,rep,name=funds,proto3,castrepeated=github.com/airchains-network/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,8,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` } func (m *InstantiateContractProposal) Reset() { *m = InstantiateContractProposal{} } @@ -181,7 +181,7 @@ type InstantiateContract2Proposal struct { // Msg json encode message to be passed to the contract on instantiation Msg RawContractMessage `protobuf:"bytes,7,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on instantiation - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,8,rep,name=funds,proto3,castrepeated=github.com/airchains-network/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,8,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` // Salt is an arbitrary value provided by the sender. Size can be 1 to 64. Salt []byte `protobuf:"bytes,9,opt,name=salt,proto3" json:"salt,omitempty"` // FixMsg include the msg value into the hash for the predictable address. @@ -354,7 +354,7 @@ type ExecuteContractProposal struct { // Msg json encoded message to be passed to the contract as execute Msg RawContractMessage `protobuf:"bytes,5,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on instantiation - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/airchains-network/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` } func (m *ExecuteContractProposal) Reset() { *m = ExecuteContractProposal{} } @@ -729,7 +729,7 @@ type StoreAndInstantiateContractProposal struct { // Msg json encoded message to be passed to the contract on instantiation Msg RawContractMessage `protobuf:"bytes,9,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on instantiation - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,10,rep,name=funds,proto3,castrepeated=github.com/airchains-network/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,10,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` // Source is the URL where the code is hosted Source string `protobuf:"bytes,11,opt,name=source,proto3" json:"source,omitempty"` // Builder is the docker image used to build the code deterministically, used diff --git a/x/wasm/types/proposal_legacy_test.go b/x/wasm/types/proposal_legacy_test.go index 77c42d4..71318be 100644 --- a/x/wasm/types/proposal_legacy_test.go +++ b/x/wasm/types/proposal_legacy_test.go @@ -13,8 +13,8 @@ import ( sdkmath "cosmossdk.io/math" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/x/gov/types/v1beta1" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) func TestValidateProposalCommons(t *testing.T) { diff --git a/x/wasm/types/query.pb.go b/x/wasm/types/query.pb.go index 9e9a670..b8874bf 100644 --- a/x/wasm/types/query.pb.go +++ b/x/wasm/types/query.pb.go @@ -11,10 +11,10 @@ import ( math "math" math_bits "math/bits" - query "github.com/airchains-network/cosmos-sdk/types/query" - _ "github.com/airchains-network/cosmos-sdk/types/tx/amino" github_com_cometbft_cometbft_libs_bytes "github.com/cometbft/cometbft/libs/bytes" _ "github.com/cosmos/cosmos-proto" + query "github.com/cosmos/cosmos-sdk/types/query" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" diff --git a/x/wasm/types/test_fixtures.go b/x/wasm/types/test_fixtures.go index b2ff71d..f1e0164 100644 --- a/x/wasm/types/test_fixtures.go +++ b/x/wasm/types/test_fixtures.go @@ -8,7 +8,7 @@ import ( sdkmath "cosmossdk.io/math" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) //go:embed testdata/reflect.wasm diff --git a/x/wasm/types/tx.go b/x/wasm/types/tx.go index aaff3f1..ecd68bd 100644 --- a/x/wasm/types/tx.go +++ b/x/wasm/types/tx.go @@ -8,8 +8,8 @@ import ( errorsmod "cosmossdk.io/errors" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) // RawContractMessage defines a json message that is sent or returned by a wasm contract. diff --git a/x/wasm/types/tx.pb.go b/x/wasm/types/tx.pb.go index d70dbaf..966465f 100644 --- a/x/wasm/types/tx.pb.go +++ b/x/wasm/types/tx.pb.go @@ -10,11 +10,11 @@ import ( math "math" math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/airchains-network/cosmos-sdk/types" - types "github.com/airchains-network/cosmos-sdk/types" - _ "github.com/airchains-network/cosmos-sdk/types/msgservice" - _ "github.com/airchains-network/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/cosmos-proto" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -145,7 +145,7 @@ type MsgInstantiateContract struct { // Msg json encoded message to be passed to the contract on instantiation Msg RawContractMessage `protobuf:"bytes,5,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on instantiation - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/airchains-network/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` } func (m *MsgInstantiateContract) Reset() { *m = MsgInstantiateContract{} } @@ -246,7 +246,7 @@ type MsgInstantiateContract2 struct { // Msg json encoded message to be passed to the contract on instantiation Msg RawContractMessage `protobuf:"bytes,5,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on instantiation - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/airchains-network/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` // Salt is an arbitrary value provided by the sender. Size can be 1 to 64. Salt []byte `protobuf:"bytes,7,opt,name=salt,proto3" json:"salt,omitempty"` // FixMsg include the msg value into the hash for the predictable address. @@ -347,7 +347,7 @@ type MsgExecuteContract struct { // Msg json encoded message to be passed to the contract Msg RawContractMessage `protobuf:"bytes,3,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on execution - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=funds,proto3,castrepeated=github.com/airchains-network/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` } func (m *MsgExecuteContract) Reset() { *m = MsgExecuteContract{} } @@ -1189,7 +1189,7 @@ type MsgStoreAndInstantiateContract struct { Msg RawContractMessage `protobuf:"bytes,8,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred from the authority account to the contract // on instantiation - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,9,rep,name=funds,proto3,castrepeated=github.com/airchains-network/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,9,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` // Source is the URL where the code is hosted Source string `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"` // Builder is the docker image used to build the code deterministically, used diff --git a/x/wasm/types/tx_test.go b/x/wasm/types/tx_test.go index 077916f..1045b95 100644 --- a/x/wasm/types/tx_test.go +++ b/x/wasm/types/tx_test.go @@ -10,7 +10,7 @@ import ( sdkmath "cosmossdk.io/math" - sdk "github.com/airchains-network/cosmos-sdk/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) const ( diff --git a/x/wasm/types/types.go b/x/wasm/types/types.go index b301e41..fdf390c 100644 --- a/x/wasm/types/types.go +++ b/x/wasm/types/types.go @@ -9,9 +9,9 @@ import ( errorsmod "cosmossdk.io/errors" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - sdkerrors "github.com/airchains-network/cosmos-sdk/types/errors" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) const ( diff --git a/x/wasm/types/types.pb.go b/x/wasm/types/types.pb.go index ef4f637..16ad44e 100644 --- a/x/wasm/types/types.pb.go +++ b/x/wasm/types/types.pb.go @@ -10,10 +10,10 @@ import ( math "math" math_bits "math/bits" - types "github.com/airchains-network/cosmos-sdk/codec/types" - _ "github.com/airchains-network/cosmos-sdk/types/tx/amino" github_com_cometbft_cometbft_libs_bytes "github.com/cometbft/cometbft/libs/bytes" _ "github.com/cosmos/cosmos-proto" + types "github.com/cosmos/cosmos-sdk/codec/types" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" ) diff --git a/x/wasm/types/types_test.go b/x/wasm/types/types_test.go index bc85bd3..0734937 100644 --- a/x/wasm/types/types_test.go +++ b/x/wasm/types/types_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/airchains-network/cosmos-sdk/codec" - codectypes "github.com/airchains-network/cosmos-sdk/codec/types" - sdk "github.com/airchains-network/cosmos-sdk/types" - "github.com/airchains-network/cosmos-sdk/x/gov/types/v1beta1" + "github.com/cosmos/cosmos-sdk/codec" + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" ) func TestContractInfoValidateBasic(t *testing.T) {