refactor: replace all github.com upstream refs with git.cw.tr/mukan-network
Some checks failed
CodeQL / Analyze (push) Waiting to run
golangci-lint / lint (push) Waiting to run
Tests / Code Coverage / build (amd64) (push) Waiting to run
Tests / Code Coverage / build (arm64) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[additional-args:-tags="test_e2e" name:e2e path:./e2e]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:08-wasm path:./modules/light-clients/08-wasm]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:ibc-go path:.]) (push) Waiting to run
Docker Build & Push Simapp (main) / docker-build (push) Has been cancelled
Some checks failed
CodeQL / Analyze (push) Waiting to run
golangci-lint / lint (push) Waiting to run
Tests / Code Coverage / build (amd64) (push) Waiting to run
Tests / Code Coverage / build (arm64) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[additional-args:-tags="test_e2e" name:e2e path:./e2e]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:08-wasm path:./modules/light-clients/08-wasm]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:ibc-go path:.]) (push) Waiting to run
Docker Build & Push Simapp (main) / docker-build (push) Has been cancelled
This commit is contained in:
parent
6852832fe8
commit
88dd97a9f8
596 changed files with 3080 additions and 3080 deletions
|
|
@ -17,27 +17,27 @@ import (
|
|||
|
||||
upgradetypes "cosmossdk.io/x/upgrade/types"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client/grpc/cmtservice"
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
paramsproposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client/grpc/cmtservice"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
paramsproposaltypes "git.cw.tr/mukan-network/mukan-sdk/x/params/types/proposal"
|
||||
|
||||
"github.com/cometbft/cometbft/crypto/tmhash"
|
||||
cmtjson "github.com/cometbft/cometbft/libs/json"
|
||||
"github.com/cometbft/cometbft/privval"
|
||||
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
|
||||
cmtprotoversion "github.com/cometbft/cometbft/proto/tendermint/version"
|
||||
cmttypes "github.com/cometbft/cometbft/types"
|
||||
cmtversion "github.com/cometbft/cometbft/version"
|
||||
"git.cw.tr/mukan-network/mukan-consensus/crypto/tmhash"
|
||||
cmtjson "git.cw.tr/mukan-network/mukan-consensus/libs/json"
|
||||
"git.cw.tr/mukan-network/mukan-consensus/privval"
|
||||
cmtproto "git.cw.tr/mukan-network/mukan-consensus/proto/tendermint/types"
|
||||
cmtprotoversion "git.cw.tr/mukan-network/mukan-consensus/proto/tendermint/version"
|
||||
cmttypes "git.cw.tr/mukan-network/mukan-consensus/types"
|
||||
cmtversion "git.cw.tr/mukan-network/mukan-consensus/version"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/dockerutil"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
wasmtypes "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/v10/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
ibctm "github.com/cosmos/ibc-go/v10/modules/light-clients/07-tendermint"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
ibctm "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/07-tendermint"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -14,15 +14,15 @@ import (
|
|||
test "github.com/cosmos/interchaintest/v10/testutil"
|
||||
testifysuite "github.com/stretchr/testify/suite"
|
||||
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
paramsproposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
paramsproposaltypes "git.cw.tr/mukan-network/mukan-sdk/x/params/types/proposal"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// compatibility:from_version: v7.10.0
|
||||
|
|
|
|||
|
|
@ -15,18 +15,18 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
govv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// orderMapping is a mapping from channel ordering to the string representation of the ordering.
|
||||
|
|
|
|||
|
|
@ -15,17 +15,17 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// compatibility:from_version: v7.10.0
|
||||
|
|
|
|||
|
|
@ -15,17 +15,17 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
grouptypes "github.com/cosmos/cosmos-sdk/x/group"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
grouptypes "git.cw.tr/mukan-network/mukan-sdk/x/group"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -15,19 +15,19 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
localhost "github.com/cosmos/ibc-go/v10/modules/light-clients/09-localhost"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
localhost "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/09-localhost"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func TestInterchainAccountsLocalhostTestSuite(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -15,20 +15,20 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
paramsproposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
paramsproposaltypes "git.cw.tr/mukan-network/mukan-sdk/x/params/types/proposal"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
coretypes "github.com/cosmos/ibc-go/v10/modules/core/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
coretypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// compatibility:from_version: v7.10.0
|
||||
|
|
|
|||
|
|
@ -13,17 +13,17 @@ import (
|
|||
"github.com/cosmos/interchaintest/v10/testutil"
|
||||
testifysuite "github.com/stretchr/testify/suite"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icahosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icahosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// compatibility:from_version: v7.10.0
|
||||
|
|
|
|||
|
|
@ -12,16 +12,16 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
|
||||
"github.com/cosmos/cosmos-sdk/x/authz"
|
||||
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
sdkerrors "git.cw.tr/mukan-network/mukan-sdk/types/errors"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/x/authz"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
)
|
||||
|
||||
// compatibility:from_version: v7.10.0
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
)
|
||||
|
||||
// compatibility:from_version: v7.10.0
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@ import (
|
|||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
localhost "github.com/cosmos/ibc-go/v10/modules/light-clients/09-localhost"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
localhost "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/09-localhost"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// compatibility:from_version: v7.10.0
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ import (
|
|||
test "github.com/cosmos/interchaintest/v10/testutil"
|
||||
testifysuite "github.com/stretchr/testify/suite"
|
||||
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
paramsproposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
paramsproposaltypes "git.cw.tr/mukan-network/mukan-sdk/x/params/types/proposal"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// compatibility:from_version: v7.10.0
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ import (
|
|||
test "github.com/cosmos/interchaintest/v10/testutil"
|
||||
testifysuite "github.com/stretchr/testify/suite"
|
||||
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
paramsproposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
paramsproposaltypes "git.cw.tr/mukan-network/mukan-sdk/x/params/types/proposal"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// compatibility:from_version: v7.10.0
|
||||
|
|
|
|||
|
|
@ -17,16 +17,16 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// compatibility:from_version: v8.7.0
|
||||
|
|
|
|||
|
|
@ -18,23 +18,23 @@ import (
|
|||
sdkmath "cosmossdk.io/math"
|
||||
upgradetypes "cosmossdk.io/x/upgrade/types"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
|
||||
e2erelayer "github.com/cosmos/ibc-go/e2e/relayer"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
v7migrations "github.com/cosmos/ibc-go/v10/modules/core/02-client/migrations/v7"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
solomachine "github.com/cosmos/ibc-go/v10/modules/light-clients/06-solomachine"
|
||||
localhost "github.com/cosmos/ibc-go/v10/modules/light-clients/09-localhost"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
v7migrations "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/migrations/v7"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
solomachine "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/06-solomachine"
|
||||
localhost "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/09-localhost"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -9,32 +9,32 @@ import (
|
|||
|
||||
upgradetypes "cosmossdk.io/x/upgrade/types"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
||||
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/types/module/testutil"
|
||||
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
|
||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
||||
"github.com/cosmos/cosmos-sdk/x/authz"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
|
||||
grouptypes "github.com/cosmos/cosmos-sdk/x/group"
|
||||
proposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||
cryptocodec "git.cw.tr/mukan-network/mukan-sdk/crypto/codec"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||
txtypes "git.cw.tr/mukan-network/mukan-sdk/types/tx"
|
||||
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/x/authz"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
govv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||
govv1beta1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1beta1"
|
||||
grouptypes "git.cw.tr/mukan-network/mukan-sdk/x/group"
|
||||
proposaltypes "git.cw.tr/mukan-network/mukan-sdk/x/params/types/proposal"
|
||||
|
||||
wasmtypes "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/v10/types"
|
||||
icacontrollertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icahosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
v7migrations "github.com/cosmos/ibc-go/v10/modules/core/02-client/migrations/v7"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
channeltypesv2 "github.com/cosmos/ibc-go/v10/modules/core/04-channel/v2/types"
|
||||
solomachine "github.com/cosmos/ibc-go/v10/modules/light-clients/06-solomachine"
|
||||
ibctmtypes "github.com/cosmos/ibc-go/v10/modules/light-clients/07-tendermint"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
icacontrollertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icahosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
v7migrations "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/migrations/v7"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
channeltypesv2 "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/v2/types"
|
||||
solomachine "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/06-solomachine"
|
||||
ibctmtypes "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/07-tendermint"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// Codec returns the global E2E protobuf codec.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package testsuite
|
||||
|
||||
import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
abci "github.com/cometbft/cometbft/abci/types"
|
||||
abci "git.cw.tr/mukan-network/mukan-consensus/abci/types"
|
||||
)
|
||||
|
||||
// ABCIToSDKEvents converts a list of ABCI events to Cosmos SDK events.
|
||||
|
|
|
|||
|
|
@ -9,16 +9,16 @@ import (
|
|||
|
||||
"cosmossdk.io/math"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client/grpc/cmtservice"
|
||||
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"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client/grpc/cmtservice"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
)
|
||||
|
||||
const queryPathTransferDenoms = "/ibc.applications.transfer.v1.Query/Denoms"
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
package sanitize
|
||||
|
||||
import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||
grouptypes "github.com/cosmos/cosmos-sdk/x/group"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
govtypesv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||
grouptypes "git.cw.tr/mukan-network/mukan-sdk/x/group"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/semverutil"
|
||||
icacontrollertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
icacontrollertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -15,24 +15,24 @@ import (
|
|||
interchaintestutil "github.com/cosmos/interchaintest/v10/testutil"
|
||||
"gopkg.in/yaml.v2"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/types/module/testutil"
|
||||
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||
genutiltypes "git.cw.tr/mukan-network/mukan-sdk/x/genutil/types"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
govv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||
govv1beta1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1beta1"
|
||||
|
||||
cmtjson "github.com/cometbft/cometbft/libs/json"
|
||||
cmtjson "git.cw.tr/mukan-network/mukan-consensus/libs/json"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/internal/directories"
|
||||
"github.com/cosmos/ibc-go/e2e/relayer"
|
||||
"github.com/cosmos/ibc-go/e2e/semverutil"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
wasmtypes "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/v10/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
ibctypes "github.com/cosmos/ibc-go/v10/modules/core/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
ibctypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -21,16 +21,16 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/internal/directories"
|
||||
"github.com/cosmos/ibc-go/e2e/relayer"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/diagnostics"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -15,21 +15,21 @@ import (
|
|||
errorsmod "cosmossdk.io/errors"
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"github.com/cosmos/cosmos-sdk/client/tx"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
|
||||
signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing"
|
||||
authtx "github.com/cosmos/cosmos-sdk/x/auth/tx"
|
||||
govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||
govtypesv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client/tx"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
txtypes "git.cw.tr/mukan-network/mukan-sdk/types/tx"
|
||||
signingtypes "git.cw.tr/mukan-network/mukan-sdk/types/tx/signing"
|
||||
authtx "git.cw.tr/mukan-network/mukan-sdk/x/auth/tx"
|
||||
govtypesv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||
govtypesv1beta1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1beta1"
|
||||
|
||||
abci "github.com/cometbft/cometbft/abci/types"
|
||||
abci "git.cw.tr/mukan-network/mukan-consensus/abci/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||
"github.com/cosmos/ibc-go/e2e/testsuite/sanitize"
|
||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
)
|
||||
|
||||
// BroadcastMessages broadcasts the provided messages to the given chain and signs them on behalf of the provided user.
|
||||
|
|
@ -301,7 +301,7 @@ func (s *E2ETestSuite) Transfer(ctx context.Context, chain ibc.Chain, user ibc.W
|
|||
}
|
||||
|
||||
// QueryTxsByEvents runs the QueryTxsByEvents command on the given chain.
|
||||
// https://github.com/cosmos/cosmos-sdk/blob/65ab2530cc654fd9e252b124ed24cbaa18023b2b/x/auth/client/cli/query.go#L33
|
||||
// https://git.cw.tr/mukan-network/mukan-sdk/blob/65ab2530cc654fd9e252b124ed24cbaa18023b2b/x/auth/client/cli/query.go#L33
|
||||
func (*E2ETestSuite) QueryTxsByEvents(
|
||||
ctx context.Context, chain ibc.Chain,
|
||||
page, limit int, queryReq, orderBy string,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/e2e/semverutil"
|
||||
)
|
||||
|
|
|
|||
6
go.mod
6
go.mod
|
|
@ -13,10 +13,10 @@ require (
|
|||
cosmossdk.io/store v1.1.2
|
||||
cosmossdk.io/x/tx v0.14.0
|
||||
cosmossdk.io/x/upgrade v0.2.0
|
||||
github.com/cometbft/cometbft v0.38.17
|
||||
git.cw.tr/mukan-network/mukan-consensus v0.38.17
|
||||
github.com/cosmos/cosmos-db v1.1.3
|
||||
github.com/cosmos/cosmos-proto v1.0.0-beta.5
|
||||
github.com/cosmos/cosmos-sdk v0.53.4
|
||||
git.cw.tr/mukan-network/mukan-sdk v0.53.4
|
||||
github.com/cosmos/gogoproto v1.7.0
|
||||
github.com/cosmos/ics23/go v0.11.0
|
||||
github.com/ethereum/go-ethereum v1.15.11
|
||||
|
|
@ -73,7 +73,7 @@ require (
|
|||
github.com/cockroachdb/pebble v1.1.5 // indirect
|
||||
github.com/cockroachdb/redact v1.1.6 // indirect
|
||||
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
|
||||
github.com/cometbft/cometbft-db v0.14.1 // indirect
|
||||
git.cw.tr/mukan-network/mukan-consensus-db v0.14.1 // indirect
|
||||
github.com/cosmos/btcutil v1.0.5 // indirect
|
||||
github.com/cosmos/go-bip39 v1.0.0 // indirect
|
||||
github.com/cosmos/gogogateway v1.2.0 // indirect
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package logging
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
)
|
||||
|
||||
// SdkEventsToLogArguments converts a given sdk.Events and returns a slice of strings that provide human
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
|
||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
||||
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||
)
|
||||
|
||||
// GRPCRequest validates that the portID and channelID of a gRPC Request are valid identifiers.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/internal/validate"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/internal/validate"
|
||||
)
|
||||
|
||||
func TestGRPCRequest(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ package cli
|
|||
import (
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
controllercli "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/client/cli"
|
||||
hostcli "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/client/cli"
|
||||
controllercli "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/client/cli"
|
||||
hostcli "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/client/cli"
|
||||
)
|
||||
|
||||
// GetQueryCmd returns the query commands for the interchain-accounts submodule
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package cli
|
|||
import (
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||
)
|
||||
|
||||
// GetQueryCmd returns the query commands for the ICA controller submodule
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@ import (
|
|||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"github.com/cosmos/cosmos-sdk/client/flags"
|
||||
"github.com/cosmos/cosmos-sdk/version"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client/flags"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/version"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
)
|
||||
|
||||
// GetCmdQueryInterchainAccount returns the command handler for the controller submodule parameter querying.
|
||||
|
|
|
|||
|
|
@ -8,15 +8,15 @@ import (
|
|||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"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/codec"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client/flags"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client/tx"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -5,16 +5,16 @@ import (
|
|||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -7,18 +7,18 @@ import (
|
|||
|
||||
testifysuite "github.com/stretchr/testify/suite"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller"
|
||||
controllerkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller"
|
||||
controllerkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
const invalidVersion = "invalid|version"
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@ package keeper
|
|||
import (
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/internal/logging"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/internal/logging"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
)
|
||||
|
||||
// RegisterInterchainAccount is the entry point to registering an interchain account:
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package keeper_test
|
||||
|
||||
import (
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestRegisterInterchainAccount() {
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@ package keeper
|
|||
import (
|
||||
"strconv"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
)
|
||||
|
||||
// EmitAcknowledgementEvent emits an event signalling a successful or failed acknowledgement and including the error
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ package keeper
|
|||
*/
|
||||
|
||||
import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
)
|
||||
|
||||
// GetAppMetadata is a wrapper around getAppMetadata to allow the function to be directly called in tests.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package keeper
|
||||
|
||||
import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
)
|
||||
|
||||
// InitGenesis initializes the interchain accounts controller application state from a provided genesis state
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
package keeper_test
|
||||
|
||||
import (
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestInitGenesis() {
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ import (
|
|||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
)
|
||||
|
||||
var _ types.QueryServer = (*Keeper)(nil)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package keeper_test
|
||||
|
||||
import (
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestQueryInterchainAccount() {
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ import (
|
|||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
)
|
||||
|
||||
// OnChanOpenInit performs basic validation of channel initialization.
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
package keeper_test
|
||||
|
||||
import (
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestOnChanOpenInit() {
|
||||
|
|
|
|||
|
|
@ -11,17 +11,17 @@ import (
|
|||
"cosmossdk.io/log"
|
||||
storetypes "cosmossdk.io/store/types"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
"github.com/cosmos/cosmos-sdk/runtime"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
)
|
||||
|
||||
// Keeper defines the IBC interchain accounts controller keeper
|
||||
|
|
|
|||
|
|
@ -5,17 +5,17 @@ import (
|
|||
|
||||
testifysuite "github.com/stretchr/testify/suite"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/runtime"
|
||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channelkeeper "github.com/cosmos/ibc-go/v10/modules/core/04-channel/keeper"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channelkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/keeper"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package keeper
|
||||
|
||||
import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
)
|
||||
|
||||
// Migrator is a struct for handling in-place store migrations.
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@ package keeper_test
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/runtime"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||
|
||||
icacontrollerkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
icacontrollertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icacontrollerkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
icacontrollertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestMigratorMigrateParams() {
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@ import (
|
|||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
)
|
||||
|
||||
var _ types.MsgServer = (*msgServer)(nil)
|
||||
|
|
|
|||
|
|
@ -5,16 +5,16 @@ import (
|
|||
|
||||
"github.com/cosmos/gogoproto/proto"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestRegisterInterchainAccount_MsgServer() {
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@ package keeper
|
|||
import (
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
)
|
||||
|
||||
// SendTx takes pre-built packet data containing messages to be executed on the host chain from an authentication module and attempts to send the packet.
|
||||
|
|
|
|||
|
|
@ -3,14 +3,14 @@ package keeper_test
|
|||
import (
|
||||
"github.com/cosmos/gogoproto/proto"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestSendTx() {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package types
|
||||
|
||||
import (
|
||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/types/msgservice"
|
||||
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/msgservice"
|
||||
)
|
||||
|
||||
// RegisterInterfaces registers the interchain accounts controller message types using the provided InterfaceRegistry
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
moduletestutil "git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||
|
||||
ica "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
ica "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
)
|
||||
|
||||
func TestCodecTypeRegistration(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ import (
|
|||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
)
|
||||
|
||||
const MaximumOwnerLength = 2048 // maximum length of the owner in bytes (value chosen arbitrarily)
|
||||
|
|
|
|||
|
|
@ -7,17 +7,17 @@ import (
|
|||
"github.com/cosmos/gogoproto/proto"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
moduletestutil "git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
|
||||
ica "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
ica "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func TestMsgRegisterInterchainAccountValidateBasic(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ package types
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
|
||||
paramtypes "git.cw.tr/mukan-network/mukan-sdk/x/params/types"
|
||||
)
|
||||
|
||||
// KeyControllerEnabled is the store key for ControllerEnabled Params
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ package types
|
|||
import (
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
|
||||
_ "git.cw.tr/mukan-network/mukan-sdk/types/msgservice"
|
||||
_ "github.com/cosmos/gogoproto/gogoproto"
|
||||
grpc1 "github.com/cosmos/gogoproto/grpc"
|
||||
proto "github.com/cosmos/gogoproto/proto"
|
||||
types1 "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
types "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
types1 "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
types "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
grpc "google.golang.org/grpc"
|
||||
codes "google.golang.org/grpc/codes"
|
||||
status "google.golang.org/grpc/status"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
package types
|
||||
|
||||
import (
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||
)
|
||||
|
||||
// DefaultGenesis creates and returns the interchain accounts GenesisState
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import (
|
|||
fmt "fmt"
|
||||
_ "github.com/cosmos/gogoproto/gogoproto"
|
||||
proto "github.com/cosmos/gogoproto/proto"
|
||||
types "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
types1 "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
types "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
types1 "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
io "io"
|
||||
math "math"
|
||||
math_bits "math/bits"
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@ import (
|
|||
|
||||
testifysuite "github.com/stretchr/testify/suite"
|
||||
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package cli
|
|||
import (
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||
)
|
||||
|
||||
// GetQueryCmd returns the query commands for the ICA host submodule
|
||||
|
|
|
|||
|
|
@ -7,18 +7,18 @@ import (
|
|||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"github.com/cosmos/cosmos-sdk/client/flags"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/version"
|
||||
"github.com/cosmos/cosmos-sdk/x/auth/tx"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client/flags"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/version"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/x/auth/tx"
|
||||
|
||||
abci "github.com/cometbft/cometbft/abci/types"
|
||||
abci "git.cw.tr/mukan-network/mukan-consensus/abci/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||
)
|
||||
|
||||
// GetCmdParams returns the command handler for the host submodule parameter querying.
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@ import (
|
|||
"github.com/cosmos/gogoproto/proto"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/version"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/version"
|
||||
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -6,13 +6,13 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
stakingtypes "git.cw.tr/mukan-network/mukan-sdk/x/staking/types"
|
||||
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
)
|
||||
|
||||
const msgDelegateMessage = `{
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@ import (
|
|||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -10,18 +10,18 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
|
||||
icahost "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "github.com/cosmos/ibc-go/v10/modules/core/02-client/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
icahost "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@ package keeper
|
|||
import (
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
)
|
||||
|
||||
// createInterchainAccount creates a new interchain account. An address is generated using the host connectionID, the controller portID,
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@ package keeper
|
|||
import (
|
||||
"strconv"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
)
|
||||
|
||||
// EmitAcknowledgementEvent emits an event signalling a successful or failed acknowledgement and including the error
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ package keeper
|
|||
*/
|
||||
|
||||
import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
)
|
||||
|
||||
// GetAppMetadata is a wrapper around getAppMetadata to allow the function to be directly called in tests.
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@ package keeper
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
)
|
||||
|
||||
// InitGenesis initializes the interchain accounts host application state from a provided genesis state
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
package keeper_test
|
||||
|
||||
import (
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestInitGenesis() {
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ package keeper
|
|||
import (
|
||||
"context"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
)
|
||||
|
||||
var _ types.QueryServer = (*Keeper)(nil)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package keeper_test
|
||||
|
||||
import (
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestQueryParams() {
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ import (
|
|||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
)
|
||||
|
||||
// OnChanOpenTry performs basic validation of the ICA channel
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@ package keeper_test
|
|||
import (
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
// open and close channel is a helper function for TestOnChanOpenTry for reopening accounts
|
||||
|
|
|
|||
|
|
@ -16,17 +16,17 @@ import (
|
|||
"cosmossdk.io/log"
|
||||
storetypes "cosmossdk.io/store/types"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
"github.com/cosmos/cosmos-sdk/runtime"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||
)
|
||||
|
||||
// Keeper defines the IBC interchain accounts host keeper
|
||||
|
|
|
|||
|
|
@ -6,17 +6,17 @@ import (
|
|||
|
||||
testifysuite "github.com/stretchr/testify/suite"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/runtime"
|
||||
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||
authkeeper "git.cw.tr/mukan-network/mukan-sdk/x/auth/keeper"
|
||||
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channelkeeper "github.com/cosmos/ibc-go/v10/modules/core/04-channel/keeper"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channelkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/keeper"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package keeper
|
||||
|
||||
import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
)
|
||||
|
||||
// Migrator is a struct for handling in-place state migrations.
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@ package keeper_test
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/runtime"
|
||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||
|
||||
icahostkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
||||
icahosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icahostkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||
icahosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestMigratorMigrateParams() {
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ import (
|
|||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
abci "github.com/cometbft/cometbft/abci/types"
|
||||
abci "git.cw.tr/mukan-network/mukan-consensus/abci/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
)
|
||||
|
||||
var _ types.MsgServer = (*msgServer)(nil)
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
package keeper_test
|
||||
|
||||
import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
stakingtypes "git.cw.tr/mukan-network/mukan-sdk/x/staking/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestModuleQuerySafe() {
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@ import (
|
|||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
)
|
||||
|
||||
// OnRecvPacket handles a given interchain accounts packet on a destination host chain.
|
||||
|
|
|
|||
|
|
@ -9,20 +9,20 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/testutil/testdata"
|
||||
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"
|
||||
disttypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
|
||||
govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/testutil/testdata"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||
disttypes "git.cw.tr/mukan-network/mukan-sdk/x/distribution/types"
|
||||
govtypesv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||
stakingtypes "git.cw.tr/mukan-network/mukan-sdk/x/staking/types"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func (suite *KeeperTestSuite) TestOnRecvPacket() {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package types
|
||||
|
||||
import (
|
||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/types/msgservice"
|
||||
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/msgservice"
|
||||
)
|
||||
|
||||
// RegisterInterfaces registers the interchain accounts host message types using the provided InterfaceRegistry
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
moduletestutil "git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||
|
||||
ica "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
ica "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
)
|
||||
|
||||
func TestCodecTypeRegistration(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -82,10 +82,10 @@ func (m *Params) GetAllowMessages() []string {
|
|||
// by an interchain account.
|
||||
type QueryRequest struct {
|
||||
// path defines the path of the query request as defined by ADR-021.
|
||||
// https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-021-protobuf-query-encoding.md#custom-query-registration-and-routing
|
||||
// https://git.cw.tr/mukan-network/mukan-sdk/blob/main/docs/architecture/adr-021-protobuf-query-encoding.md#custom-query-registration-and-routing
|
||||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||||
// data defines the payload of the query request as defined by ADR-021.
|
||||
// https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-021-protobuf-query-encoding.md#custom-query-registration-and-routing
|
||||
// https://git.cw.tr/mukan-network/mukan-sdk/blob/main/docs/architecture/adr-021-protobuf-query-encoding.md#custom-query-registration-and-routing
|
||||
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package types
|
|||
import (
|
||||
"slices"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ package types
|
|||
import (
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
moduletestutil "git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||
|
||||
ica "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
ica "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func TestMsgUpdateParamsValidateBasic(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
|
||||
paramtypes "git.cw.tr/mukan-network/mukan-sdk/x/params/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
)
|
||||
|
||||
func TestValidateParams(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ package types
|
|||
import (
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
|
||||
_ "git.cw.tr/mukan-network/mukan-sdk/types/msgservice"
|
||||
_ "github.com/cosmos/gogoproto/gogoproto"
|
||||
grpc1 "github.com/cosmos/gogoproto/grpc"
|
||||
proto "github.com/cosmos/gogoproto/proto"
|
||||
|
|
|
|||
|
|
@ -10,23 +10,23 @@ import (
|
|||
|
||||
"cosmossdk.io/core/appmodule"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"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/types/module"
|
||||
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/module"
|
||||
simtypes "git.cw.tr/mukan-network/mukan-sdk/types/simulation"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/client/cli"
|
||||
controllerkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host"
|
||||
hostkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/simulation"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/client/cli"
|
||||
controllerkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host"
|
||||
hostkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/simulation"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
|
||||
testifysuite "github.com/stretchr/testify/suite"
|
||||
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
type InterchainAccountsTestSuite struct {
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import (
|
|||
"bytes"
|
||||
"fmt"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/types/kv"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/kv"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
)
|
||||
|
||||
// NewDecodeStore returns a decoder function closure that unmarshals the KVPair's
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/types/kv"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/kv"
|
||||
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/simulation"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/simulation"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||
)
|
||||
|
||||
func TestDecodeStore(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@ import (
|
|||
"fmt"
|
||||
"math/rand"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/types/module"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/module"
|
||||
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
)
|
||||
|
||||
// RandomEnabled randomized controller or host enabled param with 75% prob of being true.
|
||||
|
|
|
|||
|
|
@ -9,15 +9,15 @@ import (
|
|||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
|
||||
"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/types/module"
|
||||
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||
cryptocodec "git.cw.tr/mukan-network/mukan-sdk/crypto/codec"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/module"
|
||||
simtypes "git.cw.tr/mukan-network/mukan-sdk/types/simulation"
|
||||
|
||||
genesistypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/genesis/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/simulation"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
||||
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/simulation"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||
)
|
||||
|
||||
// TestRandomizedGenState tests the normal scenario of applying RandomizedGenState.
|
||||
|
|
|
|||
|
|
@ -3,15 +3,15 @@ package simulation
|
|||
import (
|
||||
"math/rand"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/types/address"
|
||||
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
|
||||
"github.com/cosmos/cosmos-sdk/x/simulation"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/address"
|
||||
simtypes "git.cw.tr/mukan-network/mukan-sdk/types/simulation"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/x/simulation"
|
||||
|
||||
controllerkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
hostkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
controllerkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
hostkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
)
|
||||
|
||||
// Simulation operation weights constants
|
||||
|
|
|
|||
|
|
@ -6,17 +6,17 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/types/address"
|
||||
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
|
||||
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||
"git.cw.tr/mukan-network/mukan-sdk/types/address"
|
||||
simtypes "git.cw.tr/mukan-network/mukan-sdk/types/simulation"
|
||||
|
||||
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
|
||||
cmtproto "git.cw.tr/mukan-network/mukan-consensus/proto/tendermint/types"
|
||||
|
||||
controllerkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
controllertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
||||
hostkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/simulation"
|
||||
controllerkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||
hostkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/simulation"
|
||||
)
|
||||
|
||||
func TestProposalMsgs(t *testing.T) {
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue