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"
|
upgradetypes "cosmossdk.io/x/upgrade/types"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/client/grpc/cmtservice"
|
"git.cw.tr/mukan-network/mukan-sdk/client/grpc/cmtservice"
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||||
paramsproposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
paramsproposaltypes "git.cw.tr/mukan-network/mukan-sdk/x/params/types/proposal"
|
||||||
|
|
||||||
"github.com/cometbft/cometbft/crypto/tmhash"
|
"git.cw.tr/mukan-network/mukan-consensus/crypto/tmhash"
|
||||||
cmtjson "github.com/cometbft/cometbft/libs/json"
|
cmtjson "git.cw.tr/mukan-network/mukan-consensus/libs/json"
|
||||||
"github.com/cometbft/cometbft/privval"
|
"git.cw.tr/mukan-network/mukan-consensus/privval"
|
||||||
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
|
cmtproto "git.cw.tr/mukan-network/mukan-consensus/proto/tendermint/types"
|
||||||
cmtprotoversion "github.com/cometbft/cometbft/proto/tendermint/version"
|
cmtprotoversion "git.cw.tr/mukan-network/mukan-consensus/proto/tendermint/version"
|
||||||
cmttypes "github.com/cometbft/cometbft/types"
|
cmttypes "git.cw.tr/mukan-network/mukan-consensus/types"
|
||||||
cmtversion "github.com/cometbft/cometbft/version"
|
cmtversion "git.cw.tr/mukan-network/mukan-consensus/version"
|
||||||
|
|
||||||
"github.com/cosmos/ibc-go/e2e/dockerutil"
|
"github.com/cosmos/ibc-go/e2e/dockerutil"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||||
wasmtypes "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/v10/types"
|
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"
|
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
ibctm "github.com/cosmos/ibc-go/v10/modules/light-clients/07-tendermint"
|
ibctm "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/07-tendermint"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -14,15 +14,15 @@ import (
|
||||||
test "github.com/cosmos/interchaintest/v10/testutil"
|
test "github.com/cosmos/interchaintest/v10/testutil"
|
||||||
testifysuite "github.com/stretchr/testify/suite"
|
testifysuite "github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||||
paramsproposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// compatibility:from_version: v7.10.0
|
// compatibility:from_version: v7.10.0
|
||||||
|
|
|
||||||
|
|
@ -15,18 +15,18 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||||
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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// orderMapping is a mapping from channel ordering to the string representation of the ordering.
|
// orderMapping is a mapping from channel ordering to the string representation of the ordering.
|
||||||
|
|
|
||||||
|
|
@ -15,17 +15,17 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||||
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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// compatibility:from_version: v7.10.0
|
// compatibility:from_version: v7.10.0
|
||||||
|
|
|
||||||
|
|
@ -15,17 +15,17 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||||
grouptypes "github.com/cosmos/cosmos-sdk/x/group"
|
grouptypes "git.cw.tr/mukan-network/mukan-sdk/x/group"
|
||||||
|
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||||
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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -15,19 +15,19 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||||
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"
|
||||||
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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
localhost "github.com/cosmos/ibc-go/v10/modules/light-clients/09-localhost"
|
localhost "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/09-localhost"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInterchainAccountsLocalhostTestSuite(t *testing.T) {
|
func TestInterchainAccountsLocalhostTestSuite(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -15,20 +15,20 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||||
paramsproposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||||
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"
|
||||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
coretypes "github.com/cosmos/ibc-go/v10/modules/core/types"
|
coretypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// compatibility:from_version: v7.10.0
|
// compatibility:from_version: v7.10.0
|
||||||
|
|
|
||||||
|
|
@ -13,17 +13,17 @@ import (
|
||||||
"github.com/cosmos/interchaintest/v10/testutil"
|
"github.com/cosmos/interchaintest/v10/testutil"
|
||||||
testifysuite "github.com/stretchr/testify/suite"
|
testifysuite "github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||||
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"
|
||||||
icahosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
icahosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// compatibility:from_version: v7.10.0
|
// compatibility:from_version: v7.10.0
|
||||||
|
|
|
||||||
|
|
@ -12,16 +12,16 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
|
sdkerrors "git.cw.tr/mukan-network/mukan-sdk/types/errors"
|
||||||
"github.com/cosmos/cosmos-sdk/x/authz"
|
"git.cw.tr/mukan-network/mukan-sdk/x/authz"
|
||||||
|
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"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"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// compatibility:from_version: v7.10.0
|
// compatibility:from_version: v7.10.0
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,12 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"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
|
// 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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
localhost "github.com/cosmos/ibc-go/v10/modules/light-clients/09-localhost"
|
localhost "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/09-localhost"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// compatibility:from_version: v7.10.0
|
// compatibility:from_version: v7.10.0
|
||||||
|
|
|
||||||
|
|
@ -9,14 +9,14 @@ import (
|
||||||
test "github.com/cosmos/interchaintest/v10/testutil"
|
test "github.com/cosmos/interchaintest/v10/testutil"
|
||||||
testifysuite "github.com/stretchr/testify/suite"
|
testifysuite "github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||||
paramsproposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"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"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// compatibility:from_version: v7.10.0
|
// compatibility:from_version: v7.10.0
|
||||||
|
|
|
||||||
|
|
@ -9,14 +9,14 @@ import (
|
||||||
test "github.com/cosmos/interchaintest/v10/testutil"
|
test "github.com/cosmos/interchaintest/v10/testutil"
|
||||||
testifysuite "github.com/stretchr/testify/suite"
|
testifysuite "github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||||
paramsproposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"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"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// compatibility:from_version: v7.10.0
|
// compatibility:from_version: v7.10.0
|
||||||
|
|
|
||||||
|
|
@ -17,16 +17,16 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/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"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||||
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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// compatibility:from_version: v8.7.0
|
// compatibility:from_version: v8.7.0
|
||||||
|
|
|
||||||
|
|
@ -18,23 +18,23 @@ import (
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
upgradetypes "cosmossdk.io/x/upgrade/types"
|
upgradetypes "cosmossdk.io/x/upgrade/types"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||||
|
|
||||||
e2erelayer "github.com/cosmos/ibc-go/e2e/relayer"
|
e2erelayer "github.com/cosmos/ibc-go/e2e/relayer"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite"
|
"github.com/cosmos/ibc-go/e2e/testsuite"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"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"
|
||||||
v7migrations "github.com/cosmos/ibc-go/v10/modules/core/02-client/migrations/v7"
|
v7migrations "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/migrations/v7"
|
||||||
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"
|
||||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
solomachine "github.com/cosmos/ibc-go/v10/modules/light-clients/06-solomachine"
|
solomachine "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/06-solomachine"
|
||||||
localhost "github.com/cosmos/ibc-go/v10/modules/light-clients/09-localhost"
|
localhost "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/09-localhost"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -9,32 +9,32 @@ import (
|
||||||
|
|
||||||
upgradetypes "cosmossdk.io/x/upgrade/types"
|
upgradetypes "cosmossdk.io/x/upgrade/types"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||||
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
|
cryptocodec "git.cw.tr/mukan-network/mukan-sdk/crypto/codec"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
"github.com/cosmos/cosmos-sdk/types/module/testutil"
|
"git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||||
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
|
txtypes "git.cw.tr/mukan-network/mukan-sdk/types/tx"
|
||||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||||
"github.com/cosmos/cosmos-sdk/x/authz"
|
"git.cw.tr/mukan-network/mukan-sdk/x/authz"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
govv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||||
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
|
govv1beta1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1beta1"
|
||||||
grouptypes "github.com/cosmos/cosmos-sdk/x/group"
|
grouptypes "git.cw.tr/mukan-network/mukan-sdk/x/group"
|
||||||
proposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
|
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"
|
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"
|
icacontrollertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||||
icahosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
icahosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||||
v7migrations "github.com/cosmos/ibc-go/v10/modules/core/02-client/migrations/v7"
|
v7migrations "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/migrations/v7"
|
||||||
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"
|
||||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
channeltypesv2 "github.com/cosmos/ibc-go/v10/modules/core/04-channel/v2/types"
|
channeltypesv2 "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/v2/types"
|
||||||
solomachine "github.com/cosmos/ibc-go/v10/modules/light-clients/06-solomachine"
|
solomachine "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/06-solomachine"
|
||||||
ibctmtypes "github.com/cosmos/ibc-go/v10/modules/light-clients/07-tendermint"
|
ibctmtypes "git.cw.tr/mukan-network/mukan-ibc/modules/light-clients/07-tendermint"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Codec returns the global E2E protobuf codec.
|
// Codec returns the global E2E protobuf codec.
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package testsuite
|
package testsuite
|
||||||
|
|
||||||
import (
|
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.
|
// ABCIToSDKEvents converts a list of ABCI events to Cosmos SDK events.
|
||||||
|
|
|
||||||
|
|
@ -9,16 +9,16 @@ import (
|
||||||
|
|
||||||
"cosmossdk.io/math"
|
"cosmossdk.io/math"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/client/grpc/cmtservice"
|
"git.cw.tr/mukan-network/mukan-sdk/client/grpc/cmtservice"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/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"
|
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
)
|
)
|
||||||
|
|
||||||
const queryPathTransferDenoms = "/ibc.applications.transfer.v1.Query/Denoms"
|
const queryPathTransferDenoms = "/ibc.applications.transfer.v1.Query/Denoms"
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
package sanitize
|
package sanitize
|
||||||
|
|
||||||
import (
|
import (
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
govtypesv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||||
grouptypes "github.com/cosmos/cosmos-sdk/x/group"
|
grouptypes "git.cw.tr/mukan-network/mukan-sdk/x/group"
|
||||||
|
|
||||||
"github.com/cosmos/ibc-go/e2e/semverutil"
|
"github.com/cosmos/ibc-go/e2e/semverutil"
|
||||||
icacontrollertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
icacontrollertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -15,24 +15,24 @@ import (
|
||||||
interchaintestutil "github.com/cosmos/interchaintest/v10/testutil"
|
interchaintestutil "github.com/cosmos/interchaintest/v10/testutil"
|
||||||
"gopkg.in/yaml.v2"
|
"gopkg.in/yaml.v2"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
"github.com/cosmos/cosmos-sdk/types/module/testutil"
|
"git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||||
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
|
genutiltypes "git.cw.tr/mukan-network/mukan-sdk/x/genutil/types"
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
govtypes "git.cw.tr/mukan-network/mukan-sdk/x/gov/types"
|
||||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
govv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||||
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
|
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/internal/directories"
|
||||||
"github.com/cosmos/ibc-go/e2e/relayer"
|
"github.com/cosmos/ibc-go/e2e/relayer"
|
||||||
"github.com/cosmos/ibc-go/e2e/semverutil"
|
"github.com/cosmos/ibc-go/e2e/semverutil"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"github.com/cosmos/ibc-go/e2e/testvalues"
|
||||||
wasmtypes "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/v10/types"
|
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"
|
clienttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/02-client/types"
|
||||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
ibctypes "github.com/cosmos/ibc-go/v10/modules/core/types"
|
ibctypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -21,16 +21,16 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/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/internal/directories"
|
||||||
"github.com/cosmos/ibc-go/e2e/relayer"
|
"github.com/cosmos/ibc-go/e2e/relayer"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/diagnostics"
|
"github.com/cosmos/ibc-go/e2e/testsuite/diagnostics"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
"github.com/cosmos/ibc-go/e2e/testsuite/query"
|
||||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -15,21 +15,21 @@ import (
|
||||||
errorsmod "cosmossdk.io/errors"
|
errorsmod "cosmossdk.io/errors"
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||||
"github.com/cosmos/cosmos-sdk/client/tx"
|
"git.cw.tr/mukan-network/mukan-sdk/client/tx"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
|
txtypes "git.cw.tr/mukan-network/mukan-sdk/types/tx"
|
||||||
signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing"
|
signingtypes "git.cw.tr/mukan-network/mukan-sdk/types/tx/signing"
|
||||||
authtx "github.com/cosmos/cosmos-sdk/x/auth/tx"
|
authtx "git.cw.tr/mukan-network/mukan-sdk/x/auth/tx"
|
||||||
govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
govtypesv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||||
govtypesv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
|
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/query"
|
||||||
"github.com/cosmos/ibc-go/e2e/testsuite/sanitize"
|
"github.com/cosmos/ibc-go/e2e/testsuite/sanitize"
|
||||||
"github.com/cosmos/ibc-go/e2e/testvalues"
|
"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.
|
// 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.
|
// 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(
|
func (*E2ETestSuite) QueryTxsByEvents(
|
||||||
ctx context.Context, chain ibc.Chain,
|
ctx context.Context, chain ibc.Chain,
|
||||||
page, limit int, queryReq, orderBy string,
|
page, limit int, queryReq, orderBy string,
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
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"
|
"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/store v1.1.2
|
||||||
cosmossdk.io/x/tx v0.14.0
|
cosmossdk.io/x/tx v0.14.0
|
||||||
cosmossdk.io/x/upgrade v0.2.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-db v1.1.3
|
||||||
github.com/cosmos/cosmos-proto v1.0.0-beta.5
|
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/gogoproto v1.7.0
|
||||||
github.com/cosmos/ics23/go v0.11.0
|
github.com/cosmos/ics23/go v0.11.0
|
||||||
github.com/ethereum/go-ethereum v1.15.11
|
github.com/ethereum/go-ethereum v1.15.11
|
||||||
|
|
@ -73,7 +73,7 @@ require (
|
||||||
github.com/cockroachdb/pebble v1.1.5 // indirect
|
github.com/cockroachdb/pebble v1.1.5 // indirect
|
||||||
github.com/cockroachdb/redact v1.1.6 // indirect
|
github.com/cockroachdb/redact v1.1.6 // indirect
|
||||||
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // 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/btcutil v1.0.5 // indirect
|
||||||
github.com/cosmos/go-bip39 v1.0.0 // indirect
|
github.com/cosmos/go-bip39 v1.0.0 // indirect
|
||||||
github.com/cosmos/gogogateway v1.2.0 // indirect
|
github.com/cosmos/gogogateway v1.2.0 // indirect
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package logging
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"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
|
// 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/codes"
|
||||||
"google.golang.org/grpc/status"
|
"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.
|
// 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/codes"
|
||||||
"google.golang.org/grpc/status"
|
"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) {
|
func TestGRPCRequest(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ package cli
|
||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
controllercli "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/client/cli"
|
controllercli "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/client/cli"
|
||||||
hostcli "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/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
|
// GetQueryCmd returns the query commands for the interchain-accounts submodule
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package cli
|
||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"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
|
// GetQueryCmd returns the query commands for the ICA controller submodule
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@ import (
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||||
"github.com/cosmos/cosmos-sdk/client/flags"
|
"git.cw.tr/mukan-network/mukan-sdk/client/flags"
|
||||||
"github.com/cosmos/cosmos-sdk/version"
|
"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.
|
// GetCmdQueryInterchainAccount returns the command handler for the controller submodule parameter querying.
|
||||||
|
|
|
||||||
|
|
@ -8,15 +8,15 @@ import (
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||||
"github.com/cosmos/cosmos-sdk/client/flags"
|
"git.cw.tr/mukan-network/mukan-sdk/client/flags"
|
||||||
"github.com/cosmos/cosmos-sdk/client/tx"
|
"git.cw.tr/mukan-network/mukan-sdk/client/tx"
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||||
|
|
||||||
"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"
|
||||||
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"
|
||||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -5,16 +5,16 @@ import (
|
||||||
|
|
||||||
errorsmod "cosmossdk.io/errors"
|
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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||||
"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"
|
||||||
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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -7,18 +7,18 @@ import (
|
||||||
|
|
||||||
testifysuite "github.com/stretchr/testify/suite"
|
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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller"
|
||||||
controllerkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
controllerkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||||
"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"
|
||||||
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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
const invalidVersion = "invalid|version"
|
const invalidVersion = "invalid|version"
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,13 @@ package keeper
|
||||||
import (
|
import (
|
||||||
errorsmod "cosmossdk.io/errors"
|
errorsmod "cosmossdk.io/errors"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||||
|
|
||||||
"github.com/cosmos/ibc-go/v10/internal/logging"
|
"git.cw.tr/mukan-network/mukan-ibc/internal/logging"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// RegisterInterchainAccount is the entry point to registering an interchain account:
|
// RegisterInterchainAccount is the entry point to registering an interchain account:
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package keeper_test
|
package keeper_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestRegisterInterchainAccount() {
|
func (suite *KeeperTestSuite) TestRegisterInterchainAccount() {
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@ package keeper
|
||||||
import (
|
import (
|
||||||
"strconv"
|
"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"
|
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
)
|
)
|
||||||
|
|
||||||
// EmitAcknowledgementEvent emits an event signalling a successful or failed acknowledgement and including the error
|
// EmitAcknowledgementEvent emits an event signalling a successful or failed acknowledgement and including the error
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ package keeper
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import (
|
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.
|
// GetAppMetadata is a wrapper around getAppMetadata to allow the function to be directly called in tests.
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package keeper
|
package keeper
|
||||||
|
|
||||||
import (
|
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
|
// InitGenesis initializes the interchain accounts controller application state from a provided genesis state
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
package keeper_test
|
package keeper_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||||
"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"
|
||||||
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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestInitGenesis() {
|
func (suite *KeeperTestSuite) TestInitGenesis() {
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@ import (
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
"google.golang.org/grpc/status"
|
"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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/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"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ types.QueryServer = (*Keeper)(nil)
|
var _ types.QueryServer = (*Keeper)(nil)
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package keeper_test
|
package keeper_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestQueryInterchainAccount() {
|
func (suite *KeeperTestSuite) TestQueryInterchainAccount() {
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ import (
|
||||||
|
|
||||||
errorsmod "cosmossdk.io/errors"
|
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"
|
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// OnChanOpenInit performs basic validation of channel initialization.
|
// OnChanOpenInit performs basic validation of channel initialization.
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
package keeper_test
|
package keeper_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
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"
|
||||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestOnChanOpenInit() {
|
func (suite *KeeperTestSuite) TestOnChanOpenInit() {
|
||||||
|
|
|
||||||
|
|
@ -11,17 +11,17 @@ import (
|
||||||
"cosmossdk.io/log"
|
"cosmossdk.io/log"
|
||||||
storetypes "cosmossdk.io/store/types"
|
storetypes "cosmossdk.io/store/types"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||||
"github.com/cosmos/cosmos-sdk/runtime"
|
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||||
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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Keeper defines the IBC interchain accounts controller keeper
|
// Keeper defines the IBC interchain accounts controller keeper
|
||||||
|
|
|
||||||
|
|
@ -5,17 +5,17 @@ import (
|
||||||
|
|
||||||
testifysuite "github.com/stretchr/testify/suite"
|
testifysuite "github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/runtime"
|
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||||
"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"
|
||||||
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"
|
||||||
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"
|
||||||
channelkeeper "github.com/cosmos/ibc-go/v10/modules/core/04-channel/keeper"
|
channelkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/keeper"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package keeper
|
package keeper
|
||||||
|
|
||||||
import (
|
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.
|
// Migrator is a struct for handling in-place store migrations.
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package keeper_test
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"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"
|
icacontrollerkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||||
icacontrollertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
icacontrollertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestMigratorMigrateParams() {
|
func (suite *KeeperTestSuite) TestMigratorMigrateParams() {
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@ import (
|
||||||
|
|
||||||
errorsmod "cosmossdk.io/errors"
|
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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ types.MsgServer = (*msgServer)(nil)
|
var _ types.MsgServer = (*msgServer)(nil)
|
||||||
|
|
|
||||||
|
|
@ -5,16 +5,16 @@ import (
|
||||||
|
|
||||||
"github.com/cosmos/gogoproto/proto"
|
"github.com/cosmos/gogoproto/proto"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||||
"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"
|
||||||
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"
|
||||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestRegisterInterchainAccount_MsgServer() {
|
func (suite *KeeperTestSuite) TestRegisterInterchainAccount_MsgServer() {
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,12 @@ package keeper
|
||||||
import (
|
import (
|
||||||
errorsmod "cosmossdk.io/errors"
|
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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/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.
|
// 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 (
|
import (
|
||||||
"github.com/cosmos/gogoproto/proto"
|
"github.com/cosmos/gogoproto/proto"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestSendTx() {
|
func (suite *KeeperTestSuite) TestSendTx() {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package types
|
package types
|
||||||
|
|
||||||
import (
|
import (
|
||||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
"github.com/cosmos/cosmos-sdk/types/msgservice"
|
"git.cw.tr/mukan-network/mukan-sdk/types/msgservice"
|
||||||
)
|
)
|
||||||
|
|
||||||
// RegisterInterfaces registers the interchain accounts controller message types using the provided InterfaceRegistry
|
// RegisterInterfaces registers the interchain accounts controller message types using the provided InterfaceRegistry
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,11 @@ import (
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
|
moduletestutil "git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||||
|
|
||||||
ica "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts"
|
ica "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts"
|
||||||
"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"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestCodecTypeRegistration(t *testing.T) {
|
func TestCodecTypeRegistration(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,12 @@ import (
|
||||||
|
|
||||||
errorsmod "cosmossdk.io/errors"
|
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"
|
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
const MaximumOwnerLength = 2048 // maximum length of the owner in bytes (value chosen arbitrarily)
|
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/cosmos/gogoproto/proto"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
|
moduletestutil "git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||||
|
|
||||||
ica "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts"
|
ica "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts"
|
||||||
"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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMsgRegisterInterchainAccountValidateBasic(t *testing.T) {
|
func TestMsgRegisterInterchainAccountValidateBasic(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ package types
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"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
|
// KeyControllerEnabled is the store key for ControllerEnabled Params
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,12 @@ package types
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
|
_ "git.cw.tr/mukan-network/mukan-sdk/types/msgservice"
|
||||||
_ "github.com/cosmos/gogoproto/gogoproto"
|
_ "github.com/cosmos/gogoproto/gogoproto"
|
||||||
grpc1 "github.com/cosmos/gogoproto/grpc"
|
grpc1 "github.com/cosmos/gogoproto/grpc"
|
||||||
proto "github.com/cosmos/gogoproto/proto"
|
proto "github.com/cosmos/gogoproto/proto"
|
||||||
types1 "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
|
types1 "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||||
types "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
types "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
package types
|
package types
|
||||||
|
|
||||||
import (
|
import (
|
||||||
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"
|
||||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/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"
|
||||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||||
)
|
)
|
||||||
|
|
||||||
// DefaultGenesis creates and returns the interchain accounts GenesisState
|
// DefaultGenesis creates and returns the interchain accounts GenesisState
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ import (
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
_ "github.com/cosmos/gogoproto/gogoproto"
|
_ "github.com/cosmos/gogoproto/gogoproto"
|
||||||
proto "github.com/cosmos/gogoproto/proto"
|
proto "github.com/cosmos/gogoproto/proto"
|
||||||
types "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
|
types "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/types"
|
||||||
types1 "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
types1 "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||||
io "io"
|
io "io"
|
||||||
math "math"
|
math "math"
|
||||||
math_bits "math/bits"
|
math_bits "math/bits"
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@ import (
|
||||||
|
|
||||||
testifysuite "github.com/stretchr/testify/suite"
|
testifysuite "github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
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"
|
||||||
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"
|
||||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/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"
|
||||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package cli
|
||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"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
|
// GetQueryCmd returns the query commands for the ICA host submodule
|
||||||
|
|
|
||||||
|
|
@ -7,18 +7,18 @@ import (
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||||
"github.com/cosmos/cosmos-sdk/client/flags"
|
"git.cw.tr/mukan-network/mukan-sdk/client/flags"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
"github.com/cosmos/cosmos-sdk/version"
|
"git.cw.tr/mukan-network/mukan-sdk/version"
|
||||||
"github.com/cosmos/cosmos-sdk/x/auth/tx"
|
"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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||||
)
|
)
|
||||||
|
|
||||||
// GetCmdParams returns the command handler for the host submodule parameter querying.
|
// GetCmdParams returns the command handler for the host submodule parameter querying.
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,12 @@ import (
|
||||||
"github.com/cosmos/gogoproto/proto"
|
"github.com/cosmos/gogoproto/proto"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
"github.com/cosmos/cosmos-sdk/version"
|
"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 (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,13 @@ import (
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/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 = `{
|
const msgDelegateMessage = `{
|
||||||
|
|
|
||||||
|
|
@ -5,15 +5,15 @@ import (
|
||||||
|
|
||||||
errorsmod "cosmossdk.io/errors"
|
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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||||
"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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
|
ibcexported "git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -10,18 +10,18 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/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"
|
icahost "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host"
|
||||||
"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"
|
||||||
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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
host "github.com/cosmos/ibc-go/v10/modules/core/24-host"
|
host "git.cw.tr/mukan-network/mukan-ibc/modules/core/24-host"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package keeper
|
||||||
import (
|
import (
|
||||||
errorsmod "cosmossdk.io/errors"
|
errorsmod "cosmossdk.io/errors"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/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,
|
// createInterchainAccount creates a new interchain account. An address is generated using the host connectionID, the controller portID,
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,12 @@ package keeper
|
||||||
import (
|
import (
|
||||||
"strconv"
|
"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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
)
|
)
|
||||||
|
|
||||||
// EmitAcknowledgementEvent emits an event signalling a successful or failed acknowledgement and including the error
|
// EmitAcknowledgementEvent emits an event signalling a successful or failed acknowledgement and including the error
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ package keeper
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import (
|
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.
|
// GetAppMetadata is a wrapper around getAppMetadata to allow the function to be directly called in tests.
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package keeper
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"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"
|
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/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"
|
||||||
)
|
)
|
||||||
|
|
||||||
// InitGenesis initializes the interchain accounts host application state from a provided genesis state
|
// InitGenesis initializes the interchain accounts host application state from a provided genesis state
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
package keeper_test
|
package keeper_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
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"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||||
"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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestInitGenesis() {
|
func (suite *KeeperTestSuite) TestInitGenesis() {
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package keeper
|
||||||
import (
|
import (
|
||||||
"context"
|
"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)
|
var _ types.QueryServer = (*Keeper)(nil)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package keeper_test
|
package keeper_test
|
||||||
|
|
||||||
import (
|
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() {
|
func (suite *KeeperTestSuite) TestQueryParams() {
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import (
|
||||||
|
|
||||||
errorsmod "cosmossdk.io/errors"
|
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"
|
icatypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// OnChanOpenTry performs basic validation of the ICA channel
|
// OnChanOpenTry performs basic validation of the ICA channel
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,13 @@ package keeper_test
|
||||||
import (
|
import (
|
||||||
sdkmath "cosmossdk.io/math"
|
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"
|
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/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"
|
||||||
connectiontypes "github.com/cosmos/ibc-go/v10/modules/core/03-connection/types"
|
connectiontypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/03-connection/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// open and close channel is a helper function for TestOnChanOpenTry for reopening accounts
|
// open and close channel is a helper function for TestOnChanOpenTry for reopening accounts
|
||||||
|
|
|
||||||
|
|
@ -16,17 +16,17 @@ import (
|
||||||
"cosmossdk.io/log"
|
"cosmossdk.io/log"
|
||||||
storetypes "cosmossdk.io/store/types"
|
storetypes "cosmossdk.io/store/types"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||||
"github.com/cosmos/cosmos-sdk/runtime"
|
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||||
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"
|
||||||
"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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/core/exported"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/core/exported"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Keeper defines the IBC interchain accounts host keeper
|
// Keeper defines the IBC interchain accounts host keeper
|
||||||
|
|
|
||||||
|
|
@ -6,17 +6,17 @@ import (
|
||||||
|
|
||||||
testifysuite "github.com/stretchr/testify/suite"
|
testifysuite "github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/runtime"
|
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||||
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
|
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"
|
genesistypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/genesis/types"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||||
"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"
|
||||||
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"
|
||||||
channelkeeper "github.com/cosmos/ibc-go/v10/modules/core/04-channel/keeper"
|
channelkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/keeper"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package keeper
|
package keeper
|
||||||
|
|
||||||
import (
|
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.
|
// Migrator is a struct for handling in-place state migrations.
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,12 @@ package keeper_test
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/runtime"
|
"git.cw.tr/mukan-network/mukan-sdk/runtime"
|
||||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/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"
|
icahostkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||||
icahosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
icahosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestMigratorMigrateParams() {
|
func (suite *KeeperTestSuite) TestMigratorMigrateParams() {
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,12 @@ import (
|
||||||
|
|
||||||
errorsmod "cosmossdk.io/errors"
|
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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ types.MsgServer = (*msgServer)(nil)
|
var _ types.MsgServer = (*msgServer)(nil)
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
package keeper_test
|
package keeper_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||||
"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"
|
||||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestModuleQuerySafe() {
|
func (suite *KeeperTestSuite) TestModuleQuerySafe() {
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,13 @@ import (
|
||||||
|
|
||||||
errorsmod "cosmossdk.io/errors"
|
errorsmod "cosmossdk.io/errors"
|
||||||
|
|
||||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||||
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"
|
||||||
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"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// OnRecvPacket handles a given interchain accounts packet on a destination host chain.
|
// OnRecvPacket handles a given interchain accounts packet on a destination host chain.
|
||||||
|
|
|
||||||
|
|
@ -9,20 +9,20 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/testutil/testdata"
|
"git.cw.tr/mukan-network/mukan-sdk/testutil/testdata"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
authtypes "git.cw.tr/mukan-network/mukan-sdk/x/auth/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "git.cw.tr/mukan-network/mukan-sdk/x/bank/types"
|
||||||
disttypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
|
disttypes "git.cw.tr/mukan-network/mukan-sdk/x/distribution/types"
|
||||||
govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
govtypesv1 "git.cw.tr/mukan-network/mukan-sdk/x/gov/types/v1"
|
||||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
stakingtypes "git.cw.tr/mukan-network/mukan-sdk/x/staking/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"
|
||||||
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"
|
||||||
transfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
|
transfertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/transfer/types"
|
||||||
channeltypes "github.com/cosmos/ibc-go/v10/modules/core/04-channel/types"
|
channeltypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/04-channel/types"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *KeeperTestSuite) TestOnRecvPacket() {
|
func (suite *KeeperTestSuite) TestOnRecvPacket() {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package types
|
package types
|
||||||
|
|
||||||
import (
|
import (
|
||||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
"github.com/cosmos/cosmos-sdk/types/msgservice"
|
"git.cw.tr/mukan-network/mukan-sdk/types/msgservice"
|
||||||
)
|
)
|
||||||
|
|
||||||
// RegisterInterfaces registers the interchain accounts host message types using the provided InterfaceRegistry
|
// RegisterInterfaces registers the interchain accounts host message types using the provided InterfaceRegistry
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@ import (
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
|
moduletestutil "git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||||
|
|
||||||
ica "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts"
|
ica "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts"
|
||||||
"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 TestCodecTypeRegistration(t *testing.T) {
|
func TestCodecTypeRegistration(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -82,10 +82,10 @@ func (m *Params) GetAllowMessages() []string {
|
||||||
// by an interchain account.
|
// by an interchain account.
|
||||||
type QueryRequest struct {
|
type QueryRequest struct {
|
||||||
// path defines the path of the query request as defined by ADR-021.
|
// 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"`
|
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.
|
// 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"`
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package types
|
||||||
import (
|
import (
|
||||||
"slices"
|
"slices"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package types
|
||||||
import (
|
import (
|
||||||
errorsmod "cosmossdk.io/errors"
|
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 (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,13 @@ import (
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
|
moduletestutil "git.cw.tr/mukan-network/mukan-sdk/types/module/testutil"
|
||||||
|
|
||||||
ica "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts"
|
ica "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts"
|
||||||
"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"
|
||||||
ibcerrors "github.com/cosmos/ibc-go/v10/modules/core/errors"
|
ibcerrors "git.cw.tr/mukan-network/mukan-ibc/modules/core/errors"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMsgUpdateParamsValidateBasic(t *testing.T) {
|
func TestMsgUpdateParamsValidateBasic(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
|
paramtypes "git.cw.tr/mukan-network/mukan-sdk/x/params/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"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) {
|
func TestValidateParams(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ package types
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
|
_ "git.cw.tr/mukan-network/mukan-sdk/types/msgservice"
|
||||||
_ "github.com/cosmos/gogoproto/gogoproto"
|
_ "github.com/cosmos/gogoproto/gogoproto"
|
||||||
grpc1 "github.com/cosmos/gogoproto/grpc"
|
grpc1 "github.com/cosmos/gogoproto/grpc"
|
||||||
proto "github.com/cosmos/gogoproto/proto"
|
proto "github.com/cosmos/gogoproto/proto"
|
||||||
|
|
|
||||||
|
|
@ -10,23 +10,23 @@ import (
|
||||||
|
|
||||||
"cosmossdk.io/core/appmodule"
|
"cosmossdk.io/core/appmodule"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
"git.cw.tr/mukan-network/mukan-sdk/client"
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
"github.com/cosmos/cosmos-sdk/types/module"
|
"git.cw.tr/mukan-network/mukan-sdk/types/module"
|
||||||
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
|
simtypes "git.cw.tr/mukan-network/mukan-sdk/types/simulation"
|
||||||
|
|
||||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/client/cli"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/client/cli"
|
||||||
controllerkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
controllerkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||||
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"
|
||||||
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"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host"
|
||||||
hostkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
hostkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/simulation"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/simulation"
|
||||||
"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"
|
||||||
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
|
porttypes "git.cw.tr/mukan-network/mukan-ibc/modules/core/05-port/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
testifysuite "github.com/stretchr/testify/suite"
|
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 {
|
type InterchainAccountsTestSuite struct {
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"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
|
// NewDecodeStore returns a decoder function closure that unmarshals the KVPair's
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ import (
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"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"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/simulation"
|
||||||
"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"
|
||||||
ibctesting "github.com/cosmos/ibc-go/v10/testing"
|
ibctesting "git.cw.tr/mukan-network/mukan-ibc/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDecodeStore(t *testing.T) {
|
func TestDecodeStore(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"math/rand"
|
"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"
|
controllertypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/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"
|
||||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||||
"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"
|
||||||
)
|
)
|
||||||
|
|
||||||
// RandomEnabled randomized controller or host enabled param with 75% prob of being true.
|
// RandomEnabled randomized controller or host enabled param with 75% prob of being true.
|
||||||
|
|
|
||||||
|
|
@ -9,15 +9,15 @@ import (
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"git.cw.tr/mukan-network/mukan-sdk/codec"
|
||||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
codectypes "git.cw.tr/mukan-network/mukan-sdk/codec/types"
|
||||||
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
|
cryptocodec "git.cw.tr/mukan-network/mukan-sdk/crypto/codec"
|
||||||
"github.com/cosmos/cosmos-sdk/types/module"
|
"git.cw.tr/mukan-network/mukan-sdk/types/module"
|
||||||
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
|
simtypes "git.cw.tr/mukan-network/mukan-sdk/types/simulation"
|
||||||
|
|
||||||
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"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/simulation"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/simulation"
|
||||||
"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"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestRandomizedGenState tests the normal scenario of applying RandomizedGenState.
|
// TestRandomizedGenState tests the normal scenario of applying RandomizedGenState.
|
||||||
|
|
|
||||||
|
|
@ -3,15 +3,15 @@ package simulation
|
||||||
import (
|
import (
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
"github.com/cosmos/cosmos-sdk/types/address"
|
"git.cw.tr/mukan-network/mukan-sdk/types/address"
|
||||||
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
|
simtypes "git.cw.tr/mukan-network/mukan-sdk/types/simulation"
|
||||||
"github.com/cosmos/cosmos-sdk/x/simulation"
|
"git.cw.tr/mukan-network/mukan-sdk/x/simulation"
|
||||||
|
|
||||||
controllerkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
|
controllerkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||||
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"
|
||||||
hostkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
hostkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||||
"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"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Simulation operation weights constants
|
// Simulation operation weights constants
|
||||||
|
|
|
||||||
|
|
@ -6,17 +6,17 @@ import (
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "git.cw.tr/mukan-network/mukan-sdk/types"
|
||||||
"github.com/cosmos/cosmos-sdk/types/address"
|
"git.cw.tr/mukan-network/mukan-sdk/types/address"
|
||||||
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
|
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"
|
controllerkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/controller/keeper"
|
||||||
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"
|
||||||
hostkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
|
hostkeeper "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/keeper"
|
||||||
hosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
|
hosttypes "git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/host/types"
|
||||||
"github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/simulation"
|
"git.cw.tr/mukan-network/mukan-ibc/modules/apps/27-interchain-accounts/simulation"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestProposalMsgs(t *testing.T) {
|
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