diff --git a/Makefile b/Makefile index dbed3a742..02e4cf30e 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=iris \ -X github.com/cosmos/cosmos-sdk/version.AppName=iris \ -X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \ -X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \ - -X github.com/irisnet/irishub/v3/types.EIP155ChainID=$(EVM_CHAIN_ID) \ + -X github.com/irisnet/irishub/v4/types.EIP155ChainID=$(EVM_CHAIN_ID) \ -X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" ifeq ($(WITH_CLEVELDB),yes) @@ -198,7 +198,7 @@ lint: golangci-lint format: find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lite/statik/statik.go" -not -path "*.pb.go" | xargs gofmt -w -s find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lite/statik/statik.go" -not -path "*.pb.go" | xargs misspell -w - find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lite/statik/statik.go" -not -path "*.pb.go" | xargs goimports -w -local github.com/irisnet/irishub/v3 + find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lite/statik/statik.go" -not -path "*.pb.go" | xargs goimports -w -local github.com/irisnet/irishub/v4 benchmark: @go test -mod=readonly -bench=. ./... diff --git a/app/ante/handler_options.go b/app/ante/handler_options.go index 9519c67ea..72a7c8b85 100644 --- a/app/ante/handler_options.go +++ b/app/ante/handler_options.go @@ -14,7 +14,7 @@ import ( oraclekeeper "mods.irisnet.org/modules/oracle/keeper" tokenkeeper "mods.irisnet.org/modules/token/keeper" - guardiankeeper "github.com/irisnet/irishub/v3/modules/guardian/keeper" + guardiankeeper "github.com/irisnet/irishub/v4/modules/guardian/keeper" ) // HandlerOptions extend the SDK's AnteHandler options by requiring the IBC diff --git a/app/app.go b/app/app.go index d1a6eeede..15cd77ad7 100644 --- a/app/app.go +++ b/app/app.go @@ -35,12 +35,12 @@ import ( srvflags "github.com/evmos/ethermint/server/flags" - irishubante "github.com/irisnet/irishub/v3/app/ante" - "github.com/irisnet/irishub/v3/app/keepers" - "github.com/irisnet/irishub/v3/app/params" - "github.com/irisnet/irishub/v3/app/rpc" - "github.com/irisnet/irishub/v3/client/lite" - iristypes "github.com/irisnet/irishub/v3/types" + irishubante "github.com/irisnet/irishub/v4/app/ante" + "github.com/irisnet/irishub/v4/app/keepers" + "github.com/irisnet/irishub/v4/app/params" + "github.com/irisnet/irishub/v4/app/rpc" + "github.com/irisnet/irishub/v4/client/lite" + iristypes "github.com/irisnet/irishub/v4/types" ) var ( diff --git a/app/encoding.go b/app/encoding.go index afd64dc3f..2cc362065 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -3,7 +3,7 @@ package app import ( enccodec "github.com/evmos/ethermint/encoding/codec" - "github.com/irisnet/irishub/v3/app/params" + "github.com/irisnet/irishub/v4/app/params" ) // RegisterEncodingConfig registers concrete types on codec diff --git a/app/genesis.go b/app/genesis.go index d75e1f068..406f132c8 100644 --- a/app/genesis.go +++ b/app/genesis.go @@ -1,7 +1,7 @@ package app import ( - "github.com/irisnet/irishub/v3/types" + "github.com/irisnet/irishub/v4/types" ) // NewDefaultGenesisState generates the default state for the application. diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 8c9323717..1e2778ad4 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -105,13 +105,13 @@ import ( tokentypes "mods.irisnet.org/modules/token/types" tokenv1 "mods.irisnet.org/modules/token/types/v1" - guardiankeeper "github.com/irisnet/irishub/v3/modules/guardian/keeper" - guardiantypes "github.com/irisnet/irishub/v3/modules/guardian/types" - "github.com/irisnet/irishub/v3/modules/internft" - mintkeeper "github.com/irisnet/irishub/v3/modules/mint/keeper" - minttypes "github.com/irisnet/irishub/v3/modules/mint/types" - iristypes "github.com/irisnet/irishub/v3/types" - "github.com/irisnet/irishub/v3/wrapper" + guardiankeeper "github.com/irisnet/irishub/v4/modules/guardian/keeper" + guardiantypes "github.com/irisnet/irishub/v4/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/internft" + mintkeeper "github.com/irisnet/irishub/v4/modules/mint/keeper" + minttypes "github.com/irisnet/irishub/v4/modules/mint/types" + iristypes "github.com/irisnet/irishub/v4/types" + "github.com/irisnet/irishub/v4/wrapper" ) // AppKeepers defines a structure used to consolidate all diff --git a/app/keepers/keys.go b/app/keepers/keys.go index 22b3b30dd..015c0016a 100644 --- a/app/keepers/keys.go +++ b/app/keepers/keys.go @@ -41,8 +41,8 @@ import ( tibcnfttypes "github.com/bianjieai/tibc-go/modules/tibc/apps/nft_transfer/types" tibchost "github.com/bianjieai/tibc-go/modules/tibc/core/24-host" - guardiantypes "github.com/irisnet/irishub/v3/modules/guardian/types" - minttypes "github.com/irisnet/irishub/v3/modules/mint/types" + guardiantypes "github.com/irisnet/irishub/v4/modules/guardian/types" + minttypes "github.com/irisnet/irishub/v4/modules/mint/types" ) func (appKeepers *AppKeepers) genStoreKeys() { diff --git a/app/modules.go b/app/modules.go index 9c62cfcfa..c153dc8ce 100644 --- a/app/modules.go +++ b/app/modules.go @@ -85,12 +85,12 @@ import ( nfttransfer "github.com/bianjieai/nft-transfer" ibcnfttransfertypes "github.com/bianjieai/nft-transfer/types" - irisappparams "github.com/irisnet/irishub/v3/app/params" - irisevm "github.com/irisnet/irishub/v3/modules/evm" - "github.com/irisnet/irishub/v3/modules/guardian" - guardiantypes "github.com/irisnet/irishub/v3/modules/guardian/types" - "github.com/irisnet/irishub/v3/modules/mint" - minttypes "github.com/irisnet/irishub/v3/modules/mint/types" + irisappparams "github.com/irisnet/irishub/v4/app/params" + irisevm "github.com/irisnet/irishub/v4/modules/evm" + "github.com/irisnet/irishub/v4/modules/guardian" + guardiantypes "github.com/irisnet/irishub/v4/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/mint" + minttypes "github.com/irisnet/irishub/v4/modules/mint/types" ) var ( diff --git a/app/rpc/auth.go b/app/rpc/auth.go index 28c4c7237..9c494685a 100644 --- a/app/rpc/auth.go +++ b/app/rpc/auth.go @@ -19,7 +19,7 @@ import ( ethermint "github.com/evmos/ethermint/types" - "github.com/irisnet/irishub/v3/app/keepers" + "github.com/irisnet/irishub/v4/app/keepers" ) var _ authtypes.QueryServer = authQueryServer{} diff --git a/app/rpc/override.go b/app/rpc/override.go index b6d80dfaf..b96d403e0 100644 --- a/app/rpc/override.go +++ b/app/rpc/override.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/irisnet/irishub/v3/app/keepers" + "github.com/irisnet/irishub/v4/app/keepers" ) var overrideModules = map[string]overrideHandler{ diff --git a/app/sim_test.go b/app/sim_test.go index 6524c1c9e..8ee1dd253 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -19,8 +19,8 @@ import ( tokentypes "mods.irisnet.org/modules/token/types" "github.com/stretchr/testify/require" - "github.com/irisnet/irishub/v3/app/params" - iristypes "github.com/irisnet/irishub/v3/types" + "github.com/irisnet/irishub/v4/app/params" + iristypes "github.com/irisnet/irishub/v4/types" dbm "github.com/cometbft/cometbft-db" abci "github.com/cometbft/cometbft/abci/types" diff --git a/app/upgrade.go b/app/upgrade.go index 22dea8b93..f647b1466 100644 --- a/app/upgrade.go +++ b/app/upgrade.go @@ -5,10 +5,10 @@ import ( upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/irisnet/irishub/v3/app/upgrades" - v200 "github.com/irisnet/irishub/v3/app/upgrades/v200" - v210 "github.com/irisnet/irishub/v3/app/upgrades/v210" - v300 "github.com/irisnet/irishub/v3/app/upgrades/v300" + "github.com/irisnet/irishub/v4/app/upgrades" + v200 "github.com/irisnet/irishub/v4/app/upgrades/v200" + v210 "github.com/irisnet/irishub/v4/app/upgrades/v210" + v300 "github.com/irisnet/irishub/v4/app/upgrades/v300" ) var ( diff --git a/app/upgrades/types.go b/app/upgrades/types.go index 4336ec725..44e8e93b1 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/irisnet/irishub/v3/app/keepers" + "github.com/irisnet/irishub/v4/app/keepers" ) // Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal diff --git a/app/upgrades/v200/config.go b/app/upgrades/v200/config.go index 81b92b32c..c08a406e0 100644 --- a/app/upgrades/v200/config.go +++ b/app/upgrades/v200/config.go @@ -6,7 +6,7 @@ import ( etherminttypes "github.com/evmos/ethermint/x/evm/types" feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" - "github.com/irisnet/irishub/v3/types" + "github.com/irisnet/irishub/v4/types" ) // NOTE: Before the release of irishub 2.0.0, the configuration in this file must be modified diff --git a/app/upgrades/v200/upgrades.go b/app/upgrades/v200/upgrades.go index 843e2a50c..bb335f4ed 100644 --- a/app/upgrades/v200/upgrades.go +++ b/app/upgrades/v200/upgrades.go @@ -18,8 +18,8 @@ import ( "github.com/evmos/ethermint/x/feemarket" feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" - "github.com/irisnet/irishub/v3/app/upgrades" - irisevm "github.com/irisnet/irishub/v3/modules/evm" + "github.com/irisnet/irishub/v4/app/upgrades" + irisevm "github.com/irisnet/irishub/v4/modules/evm" ) // Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal diff --git a/app/upgrades/v210/upgrades.go b/app/upgrades/v210/upgrades.go index c8ce72ff5..49ebdc162 100644 --- a/app/upgrades/v210/upgrades.go +++ b/app/upgrades/v210/upgrades.go @@ -13,7 +13,7 @@ import ( ibcnfttransfertypes "github.com/bianjieai/nft-transfer/types" - "github.com/irisnet/irishub/v3/app/upgrades" + "github.com/irisnet/irishub/v4/app/upgrades" ) // Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal diff --git a/app/upgrades/v300/upgrades.go b/app/upgrades/v300/upgrades.go index 25fc4af89..60420f45f 100644 --- a/app/upgrades/v300/upgrades.go +++ b/app/upgrades/v300/upgrades.go @@ -12,7 +12,7 @@ import ( icahosttypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types" icatypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types" - "github.com/irisnet/irishub/v3/app/upgrades" + "github.com/irisnet/irishub/v4/app/upgrades" ) // Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal diff --git a/client/lite/swagger.go b/client/lite/swagger.go index bf6cc207f..aee171328 100644 --- a/client/lite/swagger.go +++ b/client/lite/swagger.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - _ "github.com/irisnet/irishub/v3/client/lite/statik" + _ "github.com/irisnet/irishub/v4/client/lite/statik" ) // RegisterSwaggerAPI registers swagger route with API Server diff --git a/cmd/iris/cmd/genesis.go b/cmd/iris/cmd/genesis.go index 799ed826b..fc697e7f6 100644 --- a/cmd/iris/cmd/genesis.go +++ b/cmd/iris/cmd/genesis.go @@ -16,7 +16,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - "github.com/irisnet/irishub/v3/app/params" + "github.com/irisnet/irishub/v4/app/params" ) const ( diff --git a/cmd/iris/cmd/keys.go b/cmd/iris/cmd/keys.go index 019f0b84c..7b2a1ac13 100644 --- a/cmd/iris/cmd/keys.go +++ b/cmd/iris/cmd/keys.go @@ -18,7 +18,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/input" "github.com/cosmos/cosmos-sdk/client/keys" - "github.com/irisnet/irishub/v3/client/keystore" + "github.com/irisnet/irishub/v4/client/keystore" ) // Commands registers a sub-tree of commands to interact with diff --git a/cmd/iris/cmd/root.go b/cmd/iris/cmd/root.go index 94b6411a5..e227c8972 100644 --- a/cmd/iris/cmd/root.go +++ b/cmd/iris/cmd/root.go @@ -31,9 +31,9 @@ import ( ethermintserver "github.com/evmos/ethermint/server" servercfg "github.com/evmos/ethermint/server/config" - "github.com/irisnet/irishub/v3/app" - "github.com/irisnet/irishub/v3/app/params" - iristypes "github.com/irisnet/irishub/v3/types" + "github.com/irisnet/irishub/v4/app" + "github.com/irisnet/irishub/v4/app/params" + iristypes "github.com/irisnet/irishub/v4/types" ) // NewRootCmd creates a new root command for simd. It is called once in the diff --git a/cmd/iris/cmd/testnet.go b/cmd/iris/cmd/testnet.go index 8588ca350..ae179ef78 100644 --- a/cmd/iris/cmd/testnet.go +++ b/cmd/iris/cmd/testnet.go @@ -44,8 +44,8 @@ import ( servicetypes "mods.irisnet.org/modules/service/types" tokentypesv1 "mods.irisnet.org/modules/token/types/v1" - guardiantypes "github.com/irisnet/irishub/v3/modules/guardian/types" - iristypes "github.com/irisnet/irishub/v3/types" + guardiantypes "github.com/irisnet/irishub/v4/modules/guardian/types" + iristypes "github.com/irisnet/irishub/v4/types" ) var ( diff --git a/cmd/iris/main.go b/cmd/iris/main.go index 504ca5c00..c93aff617 100644 --- a/cmd/iris/main.go +++ b/cmd/iris/main.go @@ -6,9 +6,9 @@ import ( "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - _ "github.com/irisnet/irishub/v3/client/lite/statik" - "github.com/irisnet/irishub/v3/cmd/iris/cmd" - "github.com/irisnet/irishub/v3/types" + _ "github.com/irisnet/irishub/v4/client/lite/statik" + "github.com/irisnet/irishub/v4/cmd/iris/cmd" + "github.com/irisnet/irishub/v4/types" ) func main() { diff --git a/go.mod b/go.mod index 6cff4a6b9..7b6f470bf 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/irisnet/irishub/v3 +module github.com/irisnet/irishub/v4 go 1.21 diff --git a/modules/guardian/client/cli/cli_test.go b/modules/guardian/client/cli/cli_test.go index 3616bbe9e..8ac0d0e2a 100644 --- a/modules/guardian/client/cli/cli_test.go +++ b/modules/guardian/client/cli/cli_test.go @@ -15,10 +15,10 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - guardiancli "github.com/irisnet/irishub/v3/modules/guardian/client/cli" - guardiantestutil "github.com/irisnet/irishub/v3/modules/guardian/client/testutil" - guardiantypes "github.com/irisnet/irishub/v3/modules/guardian/types" - apptestutil "github.com/irisnet/irishub/v3/testutil" + guardiancli "github.com/irisnet/irishub/v4/modules/guardian/client/cli" + guardiantestutil "github.com/irisnet/irishub/v4/modules/guardian/client/testutil" + guardiantypes "github.com/irisnet/irishub/v4/modules/guardian/types" + apptestutil "github.com/irisnet/irishub/v4/testutil" ) var privKey cryptotypes.PrivKey diff --git a/modules/guardian/client/cli/query.go b/modules/guardian/client/cli/query.go index 84f41a4cb..0cf593650 100644 --- a/modules/guardian/client/cli/query.go +++ b/modules/guardian/client/cli/query.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" - "github.com/irisnet/irishub/v3/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/guardian/types" ) // GetQueryCmd returns the cli query commands for the guardian module. diff --git a/modules/guardian/client/cli/tx.go b/modules/guardian/client/cli/tx.go index 4895be93d..7a95ce3a2 100644 --- a/modules/guardian/client/cli/tx.go +++ b/modules/guardian/client/cli/tx.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/irisnet/irishub/v3/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/guardian/types" ) // NewTxCmd returns the transaction commands for the guardian module. diff --git a/modules/guardian/client/testutil/test_helpers.go b/modules/guardian/client/testutil/test_helpers.go index b698ff655..97ee7bdf5 100644 --- a/modules/guardian/client/testutil/test_helpers.go +++ b/modules/guardian/client/testutil/test_helpers.go @@ -13,8 +13,8 @@ import ( clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/cosmos/cosmos-sdk/testutil/network" - guardiancli "github.com/irisnet/irishub/v3/modules/guardian/client/cli" - apptestutil "github.com/irisnet/irishub/v3/testutil" + guardiancli "github.com/irisnet/irishub/v4/modules/guardian/client/cli" + apptestutil "github.com/irisnet/irishub/v4/testutil" ) // CreateSuperExec creates a new super diff --git a/modules/guardian/genesis.go b/modules/guardian/genesis.go index 09b5732b5..4b87d3f89 100644 --- a/modules/guardian/genesis.go +++ b/modules/guardian/genesis.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/irisnet/irishub/v3/modules/guardian/keeper" - "github.com/irisnet/irishub/v3/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/guardian/keeper" + "github.com/irisnet/irishub/v4/modules/guardian/types" ) // InitGenesis stores genesis data diff --git a/modules/guardian/genesis_test.go b/modules/guardian/genesis_test.go index b7aab312a..7dd2b5356 100644 --- a/modules/guardian/genesis_test.go +++ b/modules/guardian/genesis_test.go @@ -10,10 +10,10 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/irisnet/irishub/v3/modules/guardian" - "github.com/irisnet/irishub/v3/modules/guardian/keeper" - "github.com/irisnet/irishub/v3/modules/guardian/types" - "github.com/irisnet/irishub/v3/testutil" + "github.com/irisnet/irishub/v4/modules/guardian" + "github.com/irisnet/irishub/v4/modules/guardian/keeper" + "github.com/irisnet/irishub/v4/modules/guardian/types" + "github.com/irisnet/irishub/v4/testutil" ) type TestSuite struct { diff --git a/modules/guardian/handler.go b/modules/guardian/handler.go index 6397506ee..c09b1dba7 100644 --- a/modules/guardian/handler.go +++ b/modules/guardian/handler.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/irisnet/irishub/v3/modules/guardian/keeper" - "github.com/irisnet/irishub/v3/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/guardian/keeper" + "github.com/irisnet/irishub/v4/modules/guardian/types" ) // NewHandler returns a handler for all "guardian" type messages. diff --git a/modules/guardian/keeper/grpc_query.go b/modules/guardian/keeper/grpc_query.go index 3cd49a8fd..0a1c563b1 100644 --- a/modules/guardian/keeper/grpc_query.go +++ b/modules/guardian/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/irisnet/irishub/v3/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/guardian/types" ) var _ types.QueryServer = Keeper{} diff --git a/modules/guardian/keeper/grpc_query_test.go b/modules/guardian/keeper/grpc_query_test.go index 062321796..24fa25ce9 100644 --- a/modules/guardian/keeper/grpc_query_test.go +++ b/modules/guardian/keeper/grpc_query_test.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/irisnet/irishub/v3/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/guardian/types" ) func (suite *KeeperTestSuite) TestGRPCQuerySupers() { diff --git a/modules/guardian/keeper/keeper.go b/modules/guardian/keeper/keeper.go index 8645afd7b..d4fe29396 100644 --- a/modules/guardian/keeper/keeper.go +++ b/modules/guardian/keeper/keeper.go @@ -9,7 +9,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/irisnet/irishub/v3/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/guardian/types" ) // Keeper of the guardian store diff --git a/modules/guardian/keeper/keeper_test.go b/modules/guardian/keeper/keeper_test.go index 1503fc403..cff4259cb 100644 --- a/modules/guardian/keeper/keeper_test.go +++ b/modules/guardian/keeper/keeper_test.go @@ -14,9 +14,9 @@ import ( cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/irisnet/irishub/v3/modules/guardian/keeper" - "github.com/irisnet/irishub/v3/modules/guardian/types" - "github.com/irisnet/irishub/v3/testutil" + "github.com/irisnet/irishub/v4/modules/guardian/keeper" + "github.com/irisnet/irishub/v4/modules/guardian/types" + "github.com/irisnet/irishub/v4/testutil" ) var ( diff --git a/modules/guardian/keeper/msg_service.go b/modules/guardian/keeper/msg_service.go index a4e450859..0075015ba 100644 --- a/modules/guardian/keeper/msg_service.go +++ b/modules/guardian/keeper/msg_service.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/irisnet/irishub/v3/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/guardian/types" ) type msgServer struct { diff --git a/modules/guardian/module.go b/modules/guardian/module.go index da8e35b57..9fff34ffa 100644 --- a/modules/guardian/module.go +++ b/modules/guardian/module.go @@ -18,9 +18,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/irisnet/irishub/v3/modules/guardian/client/cli" - "github.com/irisnet/irishub/v3/modules/guardian/keeper" - "github.com/irisnet/irishub/v3/modules/guardian/types" + "github.com/irisnet/irishub/v4/modules/guardian/client/cli" + "github.com/irisnet/irishub/v4/modules/guardian/keeper" + "github.com/irisnet/irishub/v4/modules/guardian/types" ) var ( diff --git a/modules/guardian/types/genesis.pb.go b/modules/guardian/types/genesis.pb.go index 73f4809f1..28186cf7e 100644 --- a/modules/guardian/types/genesis.pb.go +++ b/modules/guardian/types/genesis.pb.go @@ -86,9 +86,9 @@ var fileDescriptor_430b7f41c0a2b3b1 = []byte{ 0x86, 0x20, 0xa8, 0x62, 0x27, 0xbf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x49, 0xcf, 0x2c, 0x01, 0x69, 0x4f, 0xce, 0xcf, 0xd5, 0x07, 0x19, 0x95, 0x97, 0x5a, 0xa2, - 0x0f, 0x73, 0x6a, 0x99, 0x91, 0x7e, 0x6e, 0x7e, 0x4a, 0x69, 0x4e, 0x6a, 0x31, 0xc2, 0xd5, 0x25, - 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0xd7, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x49, - 0x97, 0x2a, 0x9a, 0x08, 0x01, 0x00, 0x00, + 0x0f, 0x73, 0x6a, 0x99, 0x89, 0x7e, 0x6e, 0x7e, 0x4a, 0x69, 0x4e, 0x6a, 0x31, 0xc2, 0xd5, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0xd7, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x76, + 0x80, 0x65, 0xd3, 0x08, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/modules/guardian/types/guardian.pb.go b/modules/guardian/types/guardian.pb.go index 6c95fa0d2..e02369c2c 100644 --- a/modules/guardian/types/guardian.pb.go +++ b/modules/guardian/types/guardian.pb.go @@ -147,9 +147,9 @@ var fileDescriptor_cbcdd28e3c2705db = []byte{ 0x8a, 0xa5, 0x63, 0xb1, 0x1c, 0x83, 0x93, 0xdf, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x99, 0xa4, 0x67, 0x96, 0x80, 0x3c, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0xf2, 0x68, 0x5e, - 0x6a, 0x89, 0x3e, 0x2c, 0xf0, 0xcb, 0x8c, 0xf4, 0x73, 0xf3, 0x53, 0x4a, 0x73, 0x52, 0x8b, 0x11, + 0x6a, 0x89, 0x3e, 0x2c, 0xf0, 0xcb, 0x4c, 0xf4, 0x73, 0xf3, 0x53, 0x4a, 0x73, 0x52, 0x8b, 0x11, 0xf1, 0x00, 0xf2, 0x5c, 0x71, 0x12, 0x1b, 0x38, 0x74, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x84, 0xb5, 0xea, 0xa9, 0xa8, 0x01, 0x00, 0x00, + 0xbb, 0xa2, 0xa5, 0xe0, 0xa8, 0x01, 0x00, 0x00, } func (m *Super) Marshal() (dAtA []byte, err error) { diff --git a/modules/guardian/types/msgs_test.go b/modules/guardian/types/msgs_test.go index da71a4ebf..4f90c38a2 100644 --- a/modules/guardian/types/msgs_test.go +++ b/modules/guardian/types/msgs_test.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - _ "github.com/irisnet/irishub/v3/types" + _ "github.com/irisnet/irishub/v4/types" ) // nolint: deadcode unused diff --git a/modules/guardian/types/query.pb.go b/modules/guardian/types/query.pb.go index 359bf891c..fe5fe4241 100644 --- a/modules/guardian/types/query.pb.go +++ b/modules/guardian/types/query.pb.go @@ -137,30 +137,30 @@ func init() { func init() { proto.RegisterFile("irishub/guardian/query.proto", fileDescriptor_49841d96de191552) } var fileDescriptor_49841d96de191552 = []byte{ - // 356 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcb, 0x4e, 0x2a, 0x31, - 0x18, 0xc7, 0xa7, 0x9c, 0x73, 0x58, 0x94, 0xcd, 0x49, 0x35, 0x91, 0x4c, 0xc8, 0x40, 0x88, 0x17, - 0xe2, 0xa2, 0x0d, 0xa3, 0xbe, 0x00, 0x0b, 0xdd, 0x19, 0xc5, 0x9d, 0x71, 0xd3, 0x81, 0xa6, 0x36, - 0x81, 0x76, 0x98, 0x76, 0x30, 0xec, 0x8c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ea, 0x5e, 0x37, - 0x87, 0xd1, 0xc5, 0x46, 0xad, 0x92, 0xad, 0x75, 0xb4, 0xb5, 0x96, 0xcb, 0x5c, 0xef, 0x15, 0x3e, - 0x02, 0xf8, 0xcf, 0xf6, 0x42, 0x0f, 0xb0, 0xec, 0xba, 0xa1, 0xfd, 0x62, 0x87, 0xe2, 0xcf, 0xf8, - 0x07, 0x5b, 0x28, 0x17, 0xd6, 0x6c, 0x3c, 0xbd, 0x7d, 0xbd, 0x94, 0x7c, 0x54, 0x25, 0x85, 0x55, - 0xba, 0xb7, 0x74, 0x2e, 0xa7, 0xf3, 0x00, 0xcc, 0xe6, 0x01, 0xf8, 0x9c, 0x07, 0xe0, 0x79, 0x11, - 0x78, 0xb3, 0x45, 0xe0, 0xbd, 0x2f, 0x02, 0xef, 0xf6, 0x94, 0x0b, 0x93, 0x05, 0xf4, 0xd4, 0xd0, - 0xaa, 0x25, 0x33, 0x3f, 0x2e, 0xe3, 0x90, 0x0c, 0x55, 0x3f, 0x1d, 0x30, 0xbd, 0x32, 0x34, 0x93, - 0x98, 0xe9, 0xa8, 0x6c, 0xf7, 0x79, 0xf2, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x08, 0x1d, 0xed, - 0x82, 0x02, 0x00, 0x00, + // 355 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x3d, 0x4f, 0x3a, 0x31, + 0x1c, 0xc7, 0xaf, 0xfc, 0xff, 0x32, 0x94, 0xc5, 0x54, 0x13, 0xc9, 0x85, 0x1c, 0x84, 0xf8, 0x40, + 0x1c, 0xda, 0x80, 0xf8, 0x06, 0x18, 0x74, 0x33, 0x8a, 0x9b, 0x71, 0xe9, 0x41, 0x53, 0x9b, 0x40, + 0x7b, 0x5c, 0x7b, 0x18, 0x36, 0xe3, 0x2b, 0x30, 0x31, 0xbe, 0x27, 0x46, 0x12, 0x17, 0x27, 0x63, + 0xc0, 0x17, 0x62, 0xae, 0x3d, 0x04, 0xbc, 0x81, 0xad, 0xe9, 0xef, 0xf3, 0x7d, 0x68, 0x7f, 0xb0, + 0x22, 0x62, 0xa1, 0x1f, 0x92, 0x90, 0xf0, 0x84, 0xc6, 0x7d, 0x41, 0x25, 0x19, 0x25, 0x2c, 0x9e, + 0xe0, 0x28, 0x56, 0x46, 0xa1, 0xdd, 0x6c, 0x8a, 0x97, 0x53, 0x7f, 0x9f, 0x2b, 0xae, 0xec, 0x90, + 0xa4, 0x27, 0xc7, 0xf9, 0xd5, 0x9c, 0xcb, 0xf2, 0x90, 0x01, 0x15, 0xae, 0x14, 0x1f, 0x30, 0x42, + 0x23, 0x41, 0xa8, 0x94, 0xca, 0x50, 0x23, 0x94, 0xd4, 0xd9, 0xf4, 0xb4, 0xa7, 0xf4, 0x50, 0x69, + 0x12, 0x52, 0xcd, 0x5c, 0x3e, 0x19, 0x37, 0x43, 0x66, 0x68, 0x93, 0x44, 0x94, 0x0b, 0x69, 0x61, + 0xc7, 0xd6, 0xef, 0x21, 0xba, 0x49, 0x89, 0xdb, 0x24, 0x62, 0xb1, 0xee, 0xb2, 0x51, 0xc2, 0xb4, + 0x41, 0x17, 0x10, 0xae, 0xc8, 0x32, 0xa8, 0x81, 0x46, 0xa9, 0x75, 0x8c, 0x9d, 0x2d, 0x4e, 0x6d, + 0xb1, 0x7b, 0x56, 0x66, 0x8b, 0xaf, 0x29, 0x67, 0x99, 0xb6, 0xbb, 0xa6, 0xac, 0xbf, 0x01, 0xb8, + 0xb7, 0x61, 0xaf, 0x23, 0x25, 0x35, 0x43, 0xe7, 0xb0, 0xa8, 0xed, 0x4d, 0x19, 0xd4, 0xfe, 0x35, + 0x4a, 0xad, 0x03, 0xfc, 0xf7, 0x67, 0xb0, 0x55, 0x74, 0xfe, 0x4f, 0x3f, 0xab, 0x5e, 0x37, 0x83, + 0xd1, 0xe5, 0x46, 0xad, 0x82, 0xad, 0x75, 0xb2, 0xb5, 0x96, 0xcb, 0x5c, 0xef, 0xd5, 0x7a, 0x02, + 0x70, 0xc7, 0xf6, 0x42, 0x8f, 0xb0, 0xe8, 0xba, 0xa1, 0xc3, 0x7c, 0x87, 0xfc, 0xcf, 0xf8, 0x47, + 0x5b, 0x28, 0x17, 0x56, 0xaf, 0x3d, 0xbf, 0x7f, 0xbf, 0x16, 0x7c, 0x54, 0x26, 0xb9, 0x55, 0xba, + 0xb7, 0x74, 0xae, 0xa6, 0xf3, 0x00, 0xcc, 0xe6, 0x01, 0xf8, 0x9a, 0x07, 0xe0, 0x65, 0x11, 0x78, + 0xb3, 0x45, 0xe0, 0x7d, 0x2c, 0x02, 0xef, 0xae, 0xcd, 0x85, 0x49, 0x03, 0x7a, 0x6a, 0x68, 0xd5, + 0x92, 0x99, 0x5f, 0x97, 0x71, 0x9b, 0x0c, 0x55, 0x3f, 0x19, 0x30, 0xbd, 0x32, 0x34, 0x93, 0x88, + 0xe9, 0xb0, 0x68, 0xf7, 0x79, 0xf6, 0x13, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x1f, 0x52, 0xa4, 0x82, + 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/modules/guardian/types/tx.pb.go b/modules/guardian/types/tx.pb.go index 6a109209a..cd57d3678 100644 --- a/modules/guardian/types/tx.pb.go +++ b/modules/guardian/types/tx.pb.go @@ -228,7 +228,7 @@ var fileDescriptor_02bb99d7e79743a5 = []byte{ // 301 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcd, 0x4a, 0x03, 0x31, 0x14, 0x85, 0x1b, 0x0b, 0xda, 0xde, 0x82, 0x48, 0x44, 0x99, 0x16, 0x1a, 0xca, 0x80, 0xd0, 0xd5, - 0x0c, 0x54, 0x5f, 0xc0, 0xe2, 0xc6, 0x45, 0x45, 0xea, 0x4a, 0x37, 0x32, 0xed, 0xbd, 0x8c, 0x81, + 0x0c, 0x68, 0x5f, 0xc0, 0xe2, 0xc6, 0x45, 0x45, 0xea, 0x4a, 0x37, 0x32, 0xed, 0xbd, 0x8c, 0x81, 0x76, 0x32, 0x24, 0x19, 0x71, 0xde, 0xc2, 0x67, 0xf1, 0x29, 0x5c, 0x76, 0xe9, 0x52, 0xda, 0x17, 0x91, 0x8e, 0x4d, 0x89, 0xe2, 0xcf, 0x32, 0xf7, 0x9c, 0x7c, 0xe7, 0x26, 0x07, 0xda, 0x52, 0x4b, 0xf3, 0x50, 0x4c, 0xe2, 0xb4, 0x48, 0x34, 0xca, 0x24, 0x8b, 0xed, 0x53, 0x94, 0x6b, 0x65, 0x15, @@ -238,13 +238,13 @@ var fileDescriptor_02bb99d7e79743a5 = []byte{ 0x10, 0x09, 0xef, 0x27, 0x65, 0x50, 0xdf, 0x4a, 0x84, 0xc3, 0x32, 0x3c, 0x82, 0x43, 0x2f, 0x65, 0x4c, 0x26, 0x57, 0x99, 0xa1, 0xf0, 0x12, 0xf6, 0x47, 0x26, 0xbd, 0xa0, 0x19, 0x59, 0xfa, 0xcc, 0xff, 0x9d, 0xde, 0x05, 0xc0, 0xca, 0xe8, 0xf1, 0x9b, 0x9b, 0xc9, 0xb0, 0x0c, 0x03, 0x38, 0xfe, - 0x8a, 0x72, 0x21, 0x83, 0x17, 0x06, 0xf5, 0x91, 0x49, 0xf9, 0x35, 0x34, 0xb6, 0xcf, 0xec, 0x46, - 0xdf, 0x3f, 0x22, 0xf2, 0xf6, 0xeb, 0x9c, 0xfc, 0x29, 0x3b, 0x32, 0xbf, 0x85, 0x96, 0xbf, 0x7b, - 0xef, 0xc7, 0x5b, 0x9e, 0xa3, 0xd3, 0xff, 0xcf, 0xe1, 0xd0, 0xc3, 0xab, 0xd7, 0xa5, 0x60, 0x8b, - 0xa5, 0x60, 0xef, 0x4b, 0xc1, 0x9e, 0x57, 0xa2, 0xb6, 0x58, 0x89, 0xda, 0xdb, 0x4a, 0xd4, 0xee, - 0xce, 0x52, 0x69, 0xd7, 0x84, 0xa9, 0x9a, 0xc7, 0x6b, 0x5a, 0x46, 0x36, 0x76, 0x85, 0x3f, 0x0e, - 0xe2, 0xb9, 0xc2, 0x62, 0x46, 0xc6, 0xeb, 0xbe, 0xcc, 0xc9, 0x4c, 0x76, 0xab, 0xfe, 0x4f, 0x3f, - 0x02, 0x00, 0x00, 0xff, 0xff, 0x91, 0xd4, 0xe1, 0x07, 0x1c, 0x02, 0x00, 0x00, + 0x8a, 0x72, 0x21, 0xa7, 0x2f, 0x0c, 0xea, 0x23, 0x93, 0xf2, 0x6b, 0x68, 0x6c, 0x9f, 0xd9, 0x8d, + 0xbe, 0x7f, 0x44, 0xe4, 0xed, 0xd7, 0x39, 0xf9, 0x53, 0x76, 0x64, 0x7e, 0x0b, 0x2d, 0x7f, 0xf7, + 0xde, 0x8f, 0xb7, 0x3c, 0x47, 0xa7, 0xff, 0x9f, 0xc3, 0xa1, 0x87, 0x57, 0xaf, 0x4b, 0xc1, 0x16, + 0x4b, 0xc1, 0xde, 0x97, 0x82, 0x3d, 0xaf, 0x44, 0x6d, 0xb1, 0x12, 0xb5, 0xb7, 0x95, 0xa8, 0xdd, + 0x0d, 0x52, 0x69, 0xd7, 0x84, 0xa9, 0x9a, 0xc7, 0x6b, 0x5a, 0x46, 0x36, 0x76, 0x85, 0x3f, 0x0e, + 0xe2, 0xb9, 0xc2, 0x62, 0x46, 0xc6, 0xeb, 0xbe, 0xcc, 0xc9, 0x4c, 0x76, 0xab, 0xfe, 0xcf, 0x3e, + 0x02, 0x00, 0x00, 0xff, 0xff, 0xae, 0xc3, 0xae, 0x4e, 0x1c, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/modules/mint/abci.go b/modules/mint/abci.go index 47e1285de..05640e0a0 100644 --- a/modules/mint/abci.go +++ b/modules/mint/abci.go @@ -3,8 +3,8 @@ package mint import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/irisnet/irishub/v3/modules/mint/keeper" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/keeper" + "github.com/irisnet/irishub/v4/modules/mint/types" ) // BeginBlocker handles block beginning logic for mint diff --git a/modules/mint/abci_test.go b/modules/mint/abci_test.go index 17b76ae6c..e479cafa5 100644 --- a/modules/mint/abci_test.go +++ b/modules/mint/abci_test.go @@ -10,9 +10,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/irisnet/irishub/v3/modules/mint" - "github.com/irisnet/irishub/v3/modules/mint/types" - apptestutil "github.com/irisnet/irishub/v3/testutil" + "github.com/irisnet/irishub/v4/modules/mint" + "github.com/irisnet/irishub/v4/modules/mint/types" + apptestutil "github.com/irisnet/irishub/v4/testutil" ) func TestBeginBlocker(t *testing.T) { diff --git a/modules/mint/client/cli/cli_test.go b/modules/mint/client/cli/cli_test.go index 001efbe85..ff249a079 100644 --- a/modules/mint/client/cli/cli_test.go +++ b/modules/mint/client/cli/cli_test.go @@ -8,9 +8,9 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - minttestutil "github.com/irisnet/irishub/v3/modules/mint/client/testutil" - minttypes "github.com/irisnet/irishub/v3/modules/mint/types" - "github.com/irisnet/irishub/v3/testutil" + minttestutil "github.com/irisnet/irishub/v4/modules/mint/client/testutil" + minttypes "github.com/irisnet/irishub/v4/modules/mint/types" + "github.com/irisnet/irishub/v4/testutil" ) type IntegrationTestSuite struct { diff --git a/modules/mint/client/cli/query.go b/modules/mint/client/cli/query.go index 8e4714442..6c18703a5 100644 --- a/modules/mint/client/cli/query.go +++ b/modules/mint/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/types" ) // GetQueryCmd returns the cli query commands for the mint module. diff --git a/modules/mint/client/rest/grpc_query_test.go b/modules/mint/client/rest/grpc_query_test.go index 2ee88af4d..8bb4d79c2 100644 --- a/modules/mint/client/rest/grpc_query_test.go +++ b/modules/mint/client/rest/grpc_query_test.go @@ -10,8 +10,8 @@ package rest_test // "github.com/cosmos/cosmos-sdk/testutil/network" // "github.com/cosmos/cosmos-sdk/types/rest" -// minttypes "github.com/irisnet/irishub/v3/modules/mint/types" -// "github.com/irisnet/irishub/v3/testutil" +// minttypes "github.com/irisnet/irishub/v4/modules/mint/types" +// "github.com/irisnet/irishub/v4/testutil" // ) // type IntegrationTestSuite struct { diff --git a/modules/mint/client/testutil/test_helpers.go b/modules/mint/client/testutil/test_helpers.go index 7dc90f3a5..4812b86e5 100644 --- a/modules/mint/client/testutil/test_helpers.go +++ b/modules/mint/client/testutil/test_helpers.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - mintcli "github.com/irisnet/irishub/v3/modules/mint/client/cli" + mintcli "github.com/irisnet/irishub/v4/modules/mint/client/cli" ) func QueryParamsExec(clientCtx client.Context, extraArgs ...string) (testutil.BufferWriter, error) { diff --git a/modules/mint/genesis.go b/modules/mint/genesis.go index e73f52544..fa9b8e508 100644 --- a/modules/mint/genesis.go +++ b/modules/mint/genesis.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "github.com/irisnet/irishub/v3/modules/mint/keeper" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/keeper" + "github.com/irisnet/irishub/v4/modules/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/modules/mint/keeper/grpc_query.go b/modules/mint/keeper/grpc_query.go index 13ae2cbfd..86433798e 100644 --- a/modules/mint/keeper/grpc_query.go +++ b/modules/mint/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/types" ) var _ types.QueryServer = Keeper{} diff --git a/modules/mint/keeper/grpc_query_test.go b/modules/mint/keeper/grpc_query_test.go index 27268f15f..890815018 100644 --- a/modules/mint/keeper/grpc_query_test.go +++ b/modules/mint/keeper/grpc_query_test.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/types" ) func (suite *KeeperTestSuite) TestGRPCQueryPoolParameters() { diff --git a/modules/mint/keeper/keeper.go b/modules/mint/keeper/keeper.go index 027230525..038619205 100644 --- a/modules/mint/keeper/keeper.go +++ b/modules/mint/keeper/keeper.go @@ -9,7 +9,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/types" ) // keeper of the mint store diff --git a/modules/mint/keeper/keeper_test.go b/modules/mint/keeper/keeper_test.go index 69a9ec88f..8c14f5ba8 100644 --- a/modules/mint/keeper/keeper_test.go +++ b/modules/mint/keeper/keeper_test.go @@ -11,8 +11,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/irisnet/irishub/v3/modules/mint/types" - apptestutil "github.com/irisnet/irishub/v3/testutil" + "github.com/irisnet/irishub/v4/modules/mint/types" + apptestutil "github.com/irisnet/irishub/v4/testutil" ) type KeeperTestSuite struct { diff --git a/modules/mint/keeper/migrations.go b/modules/mint/keeper/migrations.go index a8ef2f6ae..808b0bba4 100644 --- a/modules/mint/keeper/migrations.go +++ b/modules/mint/keeper/migrations.go @@ -3,8 +3,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - v2 "github.com/irisnet/irishub/v3/modules/mint/migrations/v2" - "github.com/irisnet/irishub/v3/modules/mint/types" + v2 "github.com/irisnet/irishub/v4/modules/mint/migrations/v2" + "github.com/irisnet/irishub/v4/modules/mint/types" ) // Migrator is a struct for handling in-place store migrations. diff --git a/modules/mint/keeper/msg_server.go b/modules/mint/keeper/msg_server.go index a2dc14b51..dc1a80b34 100644 --- a/modules/mint/keeper/msg_server.go +++ b/modules/mint/keeper/msg_server.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/types" ) type msgServer struct { diff --git a/modules/mint/keeper/params.go b/modules/mint/keeper/params.go index 96d2d8228..e8dceea64 100644 --- a/modules/mint/keeper/params.go +++ b/modules/mint/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/types" ) // GetParams sets the mint module parameters. diff --git a/modules/mint/migrations/v2/migrate.go b/modules/mint/migrations/v2/migrate.go index ec54597f9..07a39f776 100644 --- a/modules/mint/migrations/v2/migrate.go +++ b/modules/mint/migrations/v2/migrate.go @@ -3,7 +3,7 @@ package v2 import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/types" ) // MintKeeper defines a interface for SetParams function diff --git a/modules/mint/module.go b/modules/mint/module.go index 196113519..63a00a2bc 100644 --- a/modules/mint/module.go +++ b/modules/mint/module.go @@ -17,10 +17,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/irisnet/irishub/v3/modules/mint/client/cli" - "github.com/irisnet/irishub/v3/modules/mint/keeper" - "github.com/irisnet/irishub/v3/modules/mint/simulation" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/client/cli" + "github.com/irisnet/irishub/v4/modules/mint/keeper" + "github.com/irisnet/irishub/v4/modules/mint/simulation" + "github.com/irisnet/irishub/v4/modules/mint/types" ) // ConsensusVersion defines the current mint module consensus version. diff --git a/modules/mint/simulation/decoder.go b/modules/mint/simulation/decoder.go index 5a1edd7e4..04141f06b 100644 --- a/modules/mint/simulation/decoder.go +++ b/modules/mint/simulation/decoder.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/types" ) // NewDecodeStore returns a function closure that unmarshals the KVPair's values diff --git a/modules/mint/simulation/decoder_test.go b/modules/mint/simulation/decoder_test.go index e512768cc..100e8f2bf 100644 --- a/modules/mint/simulation/decoder_test.go +++ b/modules/mint/simulation/decoder_test.go @@ -11,9 +11,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/irisnet/irishub/v3/modules/mint/simulation" - "github.com/irisnet/irishub/v3/modules/mint/types" - "github.com/irisnet/irishub/v3/testutil" + "github.com/irisnet/irishub/v4/modules/mint/simulation" + "github.com/irisnet/irishub/v4/modules/mint/types" + "github.com/irisnet/irishub/v4/testutil" ) func TestDecodeStore(t *testing.T) { diff --git a/modules/mint/simulation/genesis.go b/modules/mint/simulation/genesis.go index 6bbd698c8..b172ed92d 100644 --- a/modules/mint/simulation/genesis.go +++ b/modules/mint/simulation/genesis.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/irisnet/irishub/v3/modules/mint/types" + "github.com/irisnet/irishub/v4/modules/mint/types" ) // Simulation parameter constants diff --git a/modules/mint/types/genesis.pb.go b/modules/mint/types/genesis.pb.go index ba14bd079..2c32e9fda 100644 --- a/modules/mint/types/genesis.pb.go +++ b/modules/mint/types/genesis.pb.go @@ -95,8 +95,8 @@ var fileDescriptor_79c69a4fab6b38a3 = []byte{ 0x4a, 0x27, 0xaf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x48, 0xcf, 0x2c, 0x01, 0xe9, 0x4d, 0xce, 0xcf, 0xd5, 0x07, 0x99, 0x93, 0x97, 0x5a, 0xa2, 0x0f, 0xf3, 0x53, - 0x99, 0x91, 0x7e, 0x6e, 0x7e, 0x4a, 0x69, 0x4e, 0x6a, 0x31, 0xc4, 0x7b, 0x25, 0x95, 0x05, 0xa9, - 0xc5, 0x49, 0x6c, 0x60, 0xaf, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x9e, 0xc9, 0x3b, + 0x99, 0x89, 0x7e, 0x6e, 0x7e, 0x4a, 0x69, 0x4e, 0x6a, 0x31, 0xc4, 0x7b, 0x25, 0x95, 0x05, 0xa9, + 0xc5, 0x49, 0x6c, 0x60, 0xaf, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x55, 0x90, 0x75, 0x3e, 0x25, 0x01, 0x00, 0x00, } diff --git a/modules/mint/types/mint.pb.go b/modules/mint/types/mint.pb.go index 203a1e219..01385314f 100644 --- a/modules/mint/types/mint.pb.go +++ b/modules/mint/types/mint.pb.go @@ -134,26 +134,26 @@ var fileDescriptor_06d871d90c4bc3c9 = []byte{ // 356 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xbf, 0x4b, 0xc3, 0x40, 0x14, 0xc7, 0x73, 0x22, 0x85, 0x5c, 0xd5, 0x21, 0x28, 0x96, 0x82, 0x49, 0xc9, 0x20, 0x5d, 0xcc, - 0x49, 0xdd, 0x3a, 0x86, 0x82, 0x28, 0x0a, 0x12, 0x74, 0xd1, 0xa1, 0x5c, 0x9a, 0x6b, 0x3c, 0xcc, - 0xdd, 0x85, 0xdc, 0x45, 0x28, 0xfe, 0x13, 0x1d, 0x1d, 0xfd, 0x73, 0x3a, 0x76, 0x11, 0xc4, 0x21, - 0x4a, 0xfb, 0x1f, 0xf4, 0x2f, 0x90, 0x4b, 0xda, 0x5a, 0x47, 0x97, 0xe4, 0xde, 0xf7, 0xbd, 0xf7, - 0x79, 0xbf, 0xe0, 0x21, 0xcd, 0xa8, 0x7c, 0xcc, 0x43, 0xc4, 0x28, 0x57, 0xe5, 0xc7, 0x4b, 0x33, - 0xa1, 0x84, 0xb5, 0xb3, 0x74, 0x78, 0x5a, 0x6b, 0xee, 0xc7, 0x22, 0x16, 0xa5, 0x03, 0xe9, 0x57, - 0x15, 0xd3, 0x74, 0x62, 0x21, 0xe2, 0x84, 0xa0, 0xd2, 0x0a, 0xf3, 0x21, 0x52, 0x94, 0x11, 0xa9, - 0x30, 0x4b, 0xab, 0x00, 0xf7, 0x1d, 0xc0, 0xda, 0x35, 0xe5, 0x8a, 0x64, 0xd6, 0x03, 0xac, 0x27, - 0x58, 0xaa, 0x7e, 0x9e, 0x46, 0x58, 0x91, 0x06, 0x68, 0x81, 0x76, 0xbd, 0xd3, 0xf4, 0x2a, 0x82, - 0xb7, 0x22, 0x78, 0xb7, 0x2b, 0x82, 0x6f, 0x4f, 0x0a, 0xc7, 0x58, 0x14, 0x8e, 0x35, 0xc2, 0x2c, - 0xe9, 0xba, 0x1b, 0xc9, 0xee, 0xf8, 0xcb, 0x01, 0x01, 0xd4, 0xca, 0x5d, 0x29, 0x58, 0x1c, 0xee, - 0x51, 0x3e, 0x4c, 0xb0, 0xa2, 0x82, 0xf7, 0x43, 0x2c, 0x49, 0x63, 0xab, 0x05, 0xda, 0xa6, 0x7f, - 0xae, 0x19, 0x9f, 0x85, 0x73, 0x1c, 0x53, 0xa5, 0x67, 0x19, 0x08, 0x86, 0x06, 0x42, 0x32, 0x21, - 0x97, 0xbf, 0x13, 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x05, 0xeb, 0x0a, 0x9a, 0xab, 0xcc, 0x45, 0x4f, 0xde, 0x3f, 0x7a, 0xea, 0x92, 0x7e, 0xf0, + 0x0b, 0xe8, 0x6c, 0xbe, 0xbe, 0x39, 0x86, 0x7f, 0x39, 0x9e, 0xda, 0x60, 0x32, 0xb5, 0xc1, 0xf7, + 0xd4, 0x06, 0xa3, 0x99, 0x6d, 0x4c, 0x66, 0xb6, 0xf1, 0x31, 0xb3, 0x8d, 0xfb, 0xe3, 0x35, 0xa4, + 0x3e, 0x1f, 0x27, 0x0a, 0x2d, 0xef, 0xfb, 0x7c, 0x86, 0x98, 0x88, 0xf2, 0x84, 0xc8, 0xea, 0xd4, + 0x65, 0x81, 0xb0, 0x56, 0x2e, 0xfe, 0xf4, 0x27, 0x00, 0x00, 0xff, 0xff, 0xe5, 0x4d, 0xdd, 0x18, 0x07, 0x02, 0x00, 0x00, } diff --git a/modules/mint/types/query.pb.go b/modules/mint/types/query.pb.go index 86799256c..c1a34e73e 100644 --- a/modules/mint/types/query.pb.go +++ b/modules/mint/types/query.pb.go @@ -129,27 +129,27 @@ func init() { proto.RegisterFile("irishub/mint/query.proto", fileDescriptor_f3ac var fileDescriptor_f3acdec2e023e167 = []byte{ // 330 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x4e, 0xfb, 0x30, - 0x10, 0xc6, 0x93, 0xfe, 0xff, 0x74, 0x30, 0x4c, 0x26, 0x82, 0xaa, 0xaa, 0x42, 0xe9, 0x02, 0x62, - 0xb0, 0x69, 0x98, 0x58, 0x3b, 0x32, 0x95, 0x8e, 0x6c, 0x4e, 0xb1, 0x8c, 0x45, 0xe3, 0x73, 0x63, - 0xa7, 0x52, 0x57, 0xc4, 0x03, 0x20, 0xf1, 0x52, 0x1d, 0x2b, 0xb1, 0x30, 0x21, 0xd4, 0xf2, 0x20, - 0xc8, 0x76, 0x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a, 0x00, 0x1f, 0xf4, 0x1e, 0x5e, 0x3e, - 0x9e, 0x5b, 0x07, 0x38, 0xa1, 0x8d, 0x53, 0x86, 0x85, 0x47, 0x57, 0xab, 0x4d, 0x1a, 0xaf, 0x37, - 0x69, 0xfc, 0xbe, 0x49, 0xe3, 0xa7, 0x6d, 0x1a, 0xad, 0xb7, 0x69, 0xf4, 0xba, 0x4d, 0xa3, 0x9b, - 0x73, 0x21, 0xad, 0x03, 0x4f, 0xa1, 0xf0, 0x4e, 0xc5, 0xed, 0x37, 0x61, 0x91, 0xd1, 0x02, 0x6e, - 0xab, 0x19, 0x37, 0x01, 0x66, 0x97, 0x9a, 0x9b, 0xbc, 0xed, 0xaf, 0x7c, 0xf1, 0x19, 0x00, 0x00, - 0xff, 0xff, 0xbe, 0x22, 0xb3, 0xbb, 0x08, 0x02, 0x00, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x31, 0x4b, 0x03, 0x31, + 0x14, 0xc7, 0xef, 0xaa, 0x76, 0x88, 0x4e, 0xf1, 0xd0, 0x52, 0xca, 0x59, 0xbb, 0x28, 0x0e, 0x89, + 0xad, 0x2e, 0xae, 0x1d, 0x9d, 0x6a, 0x47, 0xb7, 0x5c, 0x0d, 0x31, 0xd8, 0xcb, 0x4b, 0x2f, 0xb9, + 0x42, 0x57, 0xf1, 0x03, 0x08, 0x7e, 0xa9, 0x8e, 0x05, 0x17, 0x27, 0x91, 0xd6, 0x0f, 0x22, 0x49, + 0x4e, 0xf1, 0x10, 0x5c, 0x42, 0x78, 0xef, 0xff, 0xff, 0xbd, 0xf7, 0x7f, 0xa8, 0x25, 0x0b, 0x69, + 0xee, 0xcb, 0x8c, 0xe6, 0x52, 0x59, 0x3a, 0x2b, 0x79, 0xb1, 0x20, 0xba, 0x00, 0x0b, 0x78, 0xaf, + 0xea, 0x10, 0xd7, 0x69, 0x9f, 0x4d, 0xc0, 0xe4, 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0xdb, 0x73, + 0x21, 0xad, 0x03, 0x4f, 0x20, 0xf7, 0x4e, 0xc5, 0xed, 0x0f, 0x61, 0x7e, 0x49, 0x73, 0xb8, 0x2b, + 0xa7, 0xdc, 0x04, 0x98, 0x5d, 0x68, 0x6e, 0xb2, 0xa6, 0xbf, 0xf2, 0xc5, 0x57, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xf0, 0x2c, 0x0f, 0xbe, 0x08, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/modules/mint/types/tx.pb.go b/modules/mint/types/tx.pb.go index 2589698cd..57098f93a 100644 --- a/modules/mint/types/tx.pb.go +++ b/modules/mint/types/tx.pb.go @@ -7,7 +7,6 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" @@ -125,29 +124,27 @@ func init() { func init() { proto.RegisterFile("irishub/mint/tx.proto", fileDescriptor_6ccd37db551d9a32) } var fileDescriptor_6ccd37db551d9a32 = []byte{ - // 338 bytes of a gzipped FileDescriptorProto + // 316 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcd, 0x2c, 0xca, 0x2c, 0xce, 0x28, 0x4d, 0xd2, 0xcf, 0xcd, 0xcc, 0x2b, 0xd1, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x81, 0x0a, 0xeb, 0x81, 0x84, 0xa5, 0xc4, 0x51, 0x14, 0x81, 0x08, 0x88, 0x32, - 0x29, 0xb9, 0xe4, 0xfc, 0xe2, 0xdc, 0xfc, 0x62, 0xfd, 0xa4, 0xc4, 0xe2, 0x54, 0xfd, 0x32, 0xc3, - 0xa4, 0xd4,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, 0x70, 0x27, 0xbf, 0x13, 0x0f, 0xe5, - 0x18, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, - 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x20, 0x3d, 0xb3, 0x04, - 0x64, 0x44, 0x72, 0x7e, 0xae, 0x3e, 0xc8, 0xb8, 0xbc, 0xd4, 0x12, 0x7d, 0x58, 0xdc, 0x95, 0x19, - 0xe9, 0xe7, 0xe6, 0xa7, 0x94, 0xe6, 0xa4, 0x16, 0x43, 0xe3, 0xba, 0xb2, 0x20, 0xb5, 0x38, 0x89, - 0x0d, 0x1c, 0xbc, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0b, 0x8e, 0xd1, 0x64, 0x08, 0x02, - 0x00, 0x00, + 0x29, 0xf1, 0xe4, 0xfc, 0xe2, 0xdc, 0xfc, 0x62, 0xfd, 0xdc, 0xe2, 0x74, 0xfd, 0x32, 0x43, 0x10, + 0x05, 0x95, 0x90, 0x84, 0x48, 0xc4, 0x83, 0x79, 0xfa, 0x10, 0x0e, 0x54, 0x4a, 0x24, 0x3d, 0x3f, + 0x3d, 0x1f, 0x22, 0x0e, 0x62, 0x41, 0x44, 0x95, 0x7a, 0x19, 0xb9, 0xf8, 0x7d, 0x8b, 0xd3, 0x43, + 0x0b, 0x52, 0x12, 0x4b, 0x52, 0x03, 0x12, 0x8b, 0x12, 0x73, 0x8b, 0x85, 0xcc, 0xb8, 0x38, 0x13, + 0x4b, 0x4b, 0x32, 0xf2, 0x8b, 0x32, 0x4b, 0x2a, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x9d, 0x24, + 0x2e, 0x6d, 0xd1, 0x15, 0x81, 0x1a, 0xe7, 0x98, 0x92, 0x52, 0x94, 0x5a, 0x5c, 0x1c, 0x5c, 0x52, + 0x94, 0x99, 0x97, 0x1e, 0x84, 0x50, 0x2a, 0x64, 0xc4, 0xc5, 0x56, 0x00, 0x36, 0x41, 0x82, 0x49, + 0x81, 0x51, 0x83, 0xdb, 0x48, 0x44, 0x0f, 0xd9, 0x37, 0x7a, 0x10, 0xd3, 0x9d, 0x58, 0x4e, 0xdc, + 0x93, 0x67, 0x08, 0x82, 0xaa, 0xb4, 0xe2, 0x6b, 0x7a, 0xbe, 0x41, 0x0b, 0x61, 0x86, 0x92, 0x24, + 0x97, 0x38, 0x9a, 0x73, 0x82, 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x8d, 0xa2, 0xb9, 0x98, + 0x7d, 0x8b, 0xd3, 0x85, 0x42, 0xb8, 0x78, 0x50, 0x5c, 0x2b, 0x8b, 0x6a, 0x0b, 0x9a, 0x6e, 0x29, + 0x55, 0xbc, 0xd2, 0x30, 0xc3, 0x9d, 0xfc, 0x4e, 0x3c, 0x94, 0x63, 0x38, 0xf1, 0x48, 0x8e, 0xf1, + 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, + 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x83, 0xf4, 0xcc, 0x12, 0x90, 0x11, 0xc9, 0xf9, 0xb9, 0xfa, + 0x20, 0xe3, 0xf2, 0x52, 0x4b, 0xf4, 0x61, 0x71, 0x53, 0x66, 0xa2, 0x9f, 0x9b, 0x9f, 0x52, 0x9a, + 0x93, 0x5a, 0x0c, 0x8d, 0xcb, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0xf0, 0x1a, 0x03, 0x02, + 0x00, 0x00, 0xff, 0xff, 0x2d, 0xad, 0x92, 0x84, 0xe8, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/buf.gen.pulsar.yaml b/proto/buf.gen.pulsar.yaml index ddf8443d7..949afe9e0 100644 --- a/proto/buf.gen.pulsar.yaml +++ b/proto/buf.gen.pulsar.yaml @@ -8,7 +8,7 @@ managed: - buf.build/cosmos/gogo-proto - buf.build/cosmos/cosmos-proto override: - buf.build/irisnet/irishub: github.com/irisnet/irishub/v3/api + buf.build/irisnet/irishub: github.com/irisnet/irishub/v4/api plugins: - name: go-pulsar out: ../api diff --git a/proto/irishub/guardian/genesis.proto b/proto/irishub/guardian/genesis.proto index e4001b898..935df012f 100644 --- a/proto/irishub/guardian/genesis.proto +++ b/proto/irishub/guardian/genesis.proto @@ -4,7 +4,7 @@ package irishub.guardian; import "irishub/guardian/guardian.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/irisnet/irishub/v3/modules/guardian/types"; +option go_package = "github.com/irisnet/irishub/v4/modules/guardian/types"; // GenesisState defines the guardian module's genesis state message GenesisState { diff --git a/proto/irishub/guardian/guardian.proto b/proto/irishub/guardian/guardian.proto index 5d786bc4f..791d601a5 100644 --- a/proto/irishub/guardian/guardian.proto +++ b/proto/irishub/guardian/guardian.proto @@ -3,7 +3,7 @@ package irishub.guardian; import "gogoproto/gogo.proto"; -option go_package = "github.com/irisnet/irishub/v3/modules/guardian/types"; +option go_package = "github.com/irisnet/irishub/v4/modules/guardian/types"; // Super defines the super standard message Super { diff --git a/proto/irishub/guardian/query.proto b/proto/irishub/guardian/query.proto index b79106080..14dbe81d4 100644 --- a/proto/irishub/guardian/query.proto +++ b/proto/irishub/guardian/query.proto @@ -6,7 +6,7 @@ import "irishub/guardian/guardian.proto"; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -option go_package = "github.com/irisnet/irishub/v3/modules/guardian/types"; +option go_package = "github.com/irisnet/irishub/v4/modules/guardian/types"; // Query creates service with guardian as RPC service Query { diff --git a/proto/irishub/guardian/tx.proto b/proto/irishub/guardian/tx.proto index 1c1ca3286..21f6f2fc8 100644 --- a/proto/irishub/guardian/tx.proto +++ b/proto/irishub/guardian/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package irishub.guardian; -option go_package = "github.com/irisnet/irishub/v3/modules/guardian/types"; +option go_package = "github.com/irisnet/irishub/v4/modules/guardian/types"; // Msg defines the guardian Msg service service Msg { diff --git a/proto/irishub/mint/genesis.proto b/proto/irishub/mint/genesis.proto index 3976255c2..ef6826637 100644 --- a/proto/irishub/mint/genesis.proto +++ b/proto/irishub/mint/genesis.proto @@ -4,7 +4,7 @@ package irishub.mint; import "irishub/mint/mint.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/irisnet/irishub/v3/modules/mint/types"; +option go_package = "github.com/irisnet/irishub/v4/modules/mint/types"; // GenesisState defines the mint module's genesis state message GenesisState { diff --git a/proto/irishub/mint/mint.proto b/proto/irishub/mint/mint.proto index fe1592e2d..ec120017e 100644 --- a/proto/irishub/mint/mint.proto +++ b/proto/irishub/mint/mint.proto @@ -4,7 +4,7 @@ package irishub.mint; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/irisnet/irishub/v3/modules/mint/types"; +option go_package = "github.com/irisnet/irishub/v4/modules/mint/types"; // Minter represents the minting state message Minter { diff --git a/proto/irishub/mint/query.proto b/proto/irishub/mint/query.proto index 04ae70e17..fbc411940 100644 --- a/proto/irishub/mint/query.proto +++ b/proto/irishub/mint/query.proto @@ -6,7 +6,7 @@ import "irishub/mint/mint.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/irisnet/irishub/v3/modules/mint/types"; +option go_package = "github.com/irisnet/irishub/v4/modules/mint/types"; // Query creates service with guardian as rpc service Query { diff --git a/proto/irishub/mint/tx.proto b/proto/irishub/mint/tx.proto index 1b13a220a..ee321f108 100644 --- a/proto/irishub/mint/tx.proto +++ b/proto/irishub/mint/tx.proto @@ -6,7 +6,7 @@ import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/irisnet/irishub/v3/modules/mint/types"; +option go_package = "github.com/irisnet/irishub/v4/modules/mint/types"; option (gogoproto.goproto_getters_all) = false; // Msg defines the coinswap Msg service diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index b5249d354..0bb6197c3 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -19,5 +19,5 @@ done cd .. # move proto files to the right places -cp -r github.com/irisnet/irishub/v3/* ./ +cp -r github.com/irisnet/irishub/v4/* ./ rm -rf github.com diff --git a/sims.mk b/sims.mk index 5362d834c..fc9f544ef 100644 --- a/sims.mk +++ b/sims.mk @@ -4,7 +4,7 @@ ### Simulations BINDIR ?= $(GOPATH)/bin -SIMAPP = github.com/irisnet/irishub/v3/app +SIMAPP = github.com/irisnet/irishub/v4/app test-sim-nondeterminism: @echo "Running non-determinism test..." diff --git a/testutil/app.go b/testutil/app.go index 194d35c43..d2cafb4b1 100644 --- a/testutil/app.go +++ b/testutil/app.go @@ -11,8 +11,8 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/irisnet/irishub/v3/app" - "github.com/irisnet/irishub/v3/app/params" + "github.com/irisnet/irishub/v4/app" + "github.com/irisnet/irishub/v4/app/params" ) var ( diff --git a/testutil/test_helpers.go b/testutil/test_helpers.go index efbd98a07..9b30a3528 100644 --- a/testutil/test_helpers.go +++ b/testutil/test_helpers.go @@ -38,7 +38,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/irisnet/irishub/v3/app" + "github.com/irisnet/irishub/v4/app" ) // CreateApp initializes a new SimApp. A Nop logger is set in SimApp.