Versions in this module Expand all Collapse all v12 v12.2.4 Mar 6, 2024 Changes in this version + var Contract1Storage evmtypes.CompiledContract + var Contract1StorageJson []byte + var Contract2WEvmos evmtypes.CompiledContract + var Contract2WEvmosJson []byte + var Contract3Nft721 evmtypes.CompiledContract + var Contract3Nft721Json []byte + var Contract4Nft1155 evmtypes.CompiledContract + var Contract4Nft1155Json []byte + var Contract5CreateBarContract evmtypes.CompiledContract + var Contract5CreateBarInteractionContract evmtypes.CompiledContract + var Contract5CreateBarInteractionJson []byte + var Contract5CreateBarJson []byte + var Contract5CreateFooContract evmtypes.CompiledContract + var Contract5CreateFooJson []byte + var IT_VAL_1_ADDR = "sx1cqetlv987ntelz7s6ntvv95ltrns9qt6yja5x2" + var IT_VAL_1_CONS_ADDR = "sxvalcons1vv3kjxtrh7jredjehk5xw66r62euenss3f4msm" + var IT_VAL_1_MNEMONIC = "camera foster skate whisper faith opera axis false van urban clean pet shove census surface injury phone alley cup school pet edge trial pony" + var IT_VAL_1_VAL_ADDR = "sxvaloper1cqetlv987ntelz7s6ntvv95ltrns9qt6rglj48" + var IT_VAL_2_ADDR = "sx19k6gu9tkr40uyhf86sjmlgy6hu4lpfx45n5v5r" + var IT_VAL_2_CONS_ADDR = "sxvalcons19fphsrnm2rx9jk4exfdeq46d6ptwlpy35vjze2" + var IT_VAL_2_MNEMONIC = "explain captain crucial fault symptom degree divorce beyond path security jewel alien beach finish bridge decide toast scene pelican sorry achieve off denial wall" + var IT_VAL_2_VAL_ADDR = "sxvaloper19k6gu9tkr40uyhf86sjmlgy6hu4lpfx4nfk28w" + var IT_VAL_3_ADDR = "sx1rxczyg2x94dqcn77t4pyhcndg3r889dw73jyz7" + var IT_VAL_3_CONS_ADDR = "sxvalcons1vxky3ld4llhaqk8nl6pw6xkxqy97rwdaeln6ry" + var IT_VAL_3_MNEMONIC = "worth talent fire announce file skull acquire ethics injury yard home list clap guard busy describe bag front grass noise index vacuum govern number" + var IT_VAL_3_VAL_ADDR = "sxvaloper1rxczyg2x94dqcn77t4pyhcndg3r889dwetsz3n" + var IT_VAL_4_ADDR = "sx1gmjvfd4pr0yd94t0x8xw4uwg2j0cn9g9vpwqyt" + var IT_VAL_4_CONS_ADDR = "sxvalcons1yl9a7v952ejxju9fec6hqeuuku4372pnz8x72v" + var IT_VAL_4_MNEMONIC = "question joke action slice mistake carbon virtual still culture push estate inhale true endless market flip hammer word lecture pen toddler lyrics creek regular" + var IT_VAL_4_VAL_ADDR = "sxvaloper1gmjvfd4pr0yd94t0x8xw4uwg2j0cn9g9tmvxhx" + var IT_VAL_5_ADDR = "sx1fpveqajjpt2emsfkr5xwp80074mkn38x9vlju7" + var IT_VAL_5_CONS_ADDR = "sxvalcons1p6n7qpnn5lqyyujzrp344drz228l3wx07jr3dj" + var IT_VAL_5_MNEMONIC = "tornado fuel drill critic indicate pool few wheat omit sight stage focus mountain amused neck surge post giant vague nut marine spoon fragile outdoor" + var IT_VAL_5_VAL_ADDR = "sxvaloper1fpveqajjpt2emsfkr5xwp80074mkn38xzka50n" + var IT_WAL_1_ADDR = "sx139mq752delxv78jvtmwxhasyrycufsvr0qhdhe" + var IT_WAL_1_ETH_ADDR = "0x89760f514DCfCCCf1E4c5eDC6Bf6041931c4c183" + var IT_WAL_1_MNEMONIC = "curtain hat remain song receive tower stereo hope frog cheap brown plate raccoon post reflect wool sail salmon game salon group glimpse adult shift" + var IT_WAL_2_ADDR = "sx1yxmxrj9zwrkc855zdt2fk83m0r63tcjuhk9wwg" + var IT_WAL_2_ETH_ADDR = "0x21b661c8A270ed83D2826aD49b1E3B78F515E25C" + var IT_WAL_2_MNEMONIC = "coral drink glow assist canyon ankle hole buffalo vendor foster void clip welcome slush cherry omit member legal account lunar often hen winter culture" + var IT_WAL_3_ADDR = "sx1v3uay5np5a93kpv80rfldxkhe32hxsdgukuvqs" + var IT_WAL_3_ETH_ADDR = "0x6479D25261A74B1b058778d3F69Ad7cC557341A8" + var IT_WAL_3_MNEMONIC = "depth skull anxiety weasel pulp interest seek junk trumpet orbit glance drink comfort much alarm during lady strong matrix enable write pledge alcohol buzz" + var IT_WAL_4_ADDR = "sx1zsdj9vsw44kk46fmnka7k76smsaxgh6pth7vl8" + var IT_WAL_4_ETH_ADDR = "0x141B22B20ead6d6AE93B9DBBeB7b50DC3A645F41" + var IT_WAL_4_MNEMONIC = "author humble raise whisper allow appear typical release fossil address spy jazz damage runway spy gossip add embark wrap frost toe advice matrix laundry" + var IT_WAL_5_ADDR = "sx1862crydur2cpjww66dhfzcc26yglvrcsv484rr" + var IT_WAL_5_ETH_ADDR = "0x3E958191BC1AB01939DAD36e91630Ad111F60f10" + var IT_WAL_5_MNEMONIC = "museum stumble kingdom impulse replace angle exercise trial spring sphere cube brief foil bridge dish earn practice surprise quantum hunt scale solve october scout" + var IntegrationTestChain1 = itutiltypes.ChainConfig + var IntegrationTestChain2 = itutiltypes.ChainConfig + func NewTestAccount(t *testing.T, nilAblePrivKey *ethsecp256k1.PrivKey) *itutiltypes.TestAccount + type ChainIntegrationTestSuite struct + ChainApp itutiltypes.ChainApp + ChainConstantsConfig itutiltypes.ChainConstantConfig + CurrentContext sdk.Context + DB *itutiltypes.MemDB + EncodingConfig params.EncodingConfig + EthSigner ethtypes.Signer + EvmTxIndexer *kvindexer.KVIndexer + ModuleAccounts map[string]authtypes.ModuleAccountI + QueryClients *itutiltypes.QueryClients + RpcBackend *rpcbackend.Backend + TendermintApp itutiltypes.TendermintApp + TestConfig itutiltypes.TestConfig + ValidatorAccounts itutiltypes.TestAccounts + ValidatorSet *tmtypes.ValidatorSet + WalletAccounts itutiltypes.TestAccounts + func CreateChainIntegrationTestSuite(t *testing.T, r *require.Assertions) *ChainIntegrationTestSuite + func CreateChainIntegrationTestSuiteFromChainConfig(t *testing.T, r *require.Assertions, chainCfg itutiltypes.ChainConfig, ...) *ChainIntegrationTestSuite + func (suite *ChainIntegrationTestSuite) BaseApp() *baseapp.BaseApp + func (suite *ChainIntegrationTestSuite) BroadcastTx(tx sdk.Tx) (responseDeliverTx abci.ResponseDeliverTx, err error) + func (suite *ChainIntegrationTestSuite) BroadcastTxAsync(tx sdk.Tx) (resultBroadcastTx *coretypes.ResultBroadcastTx, err error) + func (suite *ChainIntegrationTestSuite) Cleanup() + func (suite *ChainIntegrationTestSuite) Commit() + func (suite *ChainIntegrationTestSuite) ContextAt(height int64) sdk.Context + func (suite *ChainIntegrationTestSuite) CreateAllQueryClientsAndRpcBackend() + func (suite *ChainIntegrationTestSuite) DeliverEthTx(signer *itutiltypes.TestAccount, ethMsg *evmtypes.MsgEthereumTx) (*itutiltypes.ResponseDeliverEthTx, error) + func (suite *ChainIntegrationTestSuite) DeliverEthTxAsync(account *itutiltypes.TestAccount, ethMsg *evmtypes.MsgEthereumTx) error + func (suite *ChainIntegrationTestSuite) DeliverTx(ctx sdk.Context, signer *itutiltypes.TestAccount, gasPrice *sdkmath.Int, ...) (authsigning.Tx, abci.ResponseDeliverTx, error) + func (suite *ChainIntegrationTestSuite) DeliverTxAsync(ctx sdk.Context, signer *itutiltypes.TestAccount, gasPrice *sdkmath.Int, ...) (*coretypes.ResultBroadcastTx, error) + func (suite *ChainIntegrationTestSuite) EnsureTendermint() + func (suite *ChainIntegrationTestSuite) GetBlockStoreAndStateStore() (*store.BlockStore, tmstate.Store) + func (suite *ChainIntegrationTestSuite) GetIbcTimeoutHeight(offsetHeight int64) ibcclienttypes.Height + func (suite *ChainIntegrationTestSuite) GetLatestBlockHeight() int64 + func (suite *ChainIntegrationTestSuite) GetValidatorAddress(number int) sdk.ValAddress + func (suite *ChainIntegrationTestSuite) HasTendermint() bool + func (suite *ChainIntegrationTestSuite) MintCoin(receiver *itutiltypes.TestAccount, coin sdk.Coin) + func (suite *ChainIntegrationTestSuite) MintCoinToCosmosAddress(receiver sdk.AccAddress, coin sdk.Coin) + func (suite *ChainIntegrationTestSuite) MintCoinToModuleAccount(receiver authtypes.ModuleAccountI, coin sdk.Coin) + func (suite *ChainIntegrationTestSuite) NewBaseCoin(amount int64) sdk.Coin + func (suite *ChainIntegrationTestSuite) PrepareCosmosTx(ctx sdk.Context, account *itutiltypes.TestAccount, args CosmosTxArgs) (authsigning.Tx, error) + func (suite *ChainIntegrationTestSuite) PrepareEthTx(signer *itutiltypes.TestAccount, ethMsg *evmtypes.MsgEthereumTx) (authsigning.Tx, error) + func (suite *ChainIntegrationTestSuite) QueryBalance(height int64, cosmosAddress string) *sdk.Coin + func (suite *ChainIntegrationTestSuite) QueryBalanceByDenom(height int64, cosmosAddress, baseDenom string) *sdk.Coin + func (suite *ChainIntegrationTestSuite) QueryBalanceByDenomFromStore(height int64, address sdk.AccAddress, baseDenom string) *sdk.Coin + func (suite *ChainIntegrationTestSuite) QueryBalanceFromStore(height int64, address sdk.AccAddress) *sdk.Coin + func (suite *ChainIntegrationTestSuite) QueryClientsAt(height int64) *itutiltypes.QueryClients + func (suite *ChainIntegrationTestSuite) QueryDenomHash(port, channel, denom string) string + func (suite *ChainIntegrationTestSuite) QueryFirstErc20TokenPair(sourceErc20 bool) (erc20types.TokenPair, error) + func (suite *ChainIntegrationTestSuite) QueryGovProposalById(id uint64) *govv1types.Proposal + func (suite *ChainIntegrationTestSuite) QueryLatestGovProposal(proposer *itutiltypes.TestAccount) *govv1types.Proposal + func (suite *ChainIntegrationTestSuite) QueryTxResponse(tx authsigning.Tx) *cosmostxtypes.GetTxResponse + func (suite *ChainIntegrationTestSuite) Require() *require.Assertions + func (suite *ChainIntegrationTestSuite) RpcBackendAt(height int64) *rpcbackend.Backend + func (suite *ChainIntegrationTestSuite) T() *testing.T + func (suite *ChainIntegrationTestSuite) TxAllVote(proposalId uint64, option govv1types.VoteOption) + func (suite *ChainIntegrationTestSuite) TxDeploy1StorageContract(deployer *itutiltypes.TestAccount) (common.Address, *evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, ...) + func (suite *ChainIntegrationTestSuite) TxDeploy2WEvmosContract(deployer, rich *itutiltypes.TestAccount) (common.Address, *evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, ...) + func (suite *ChainIntegrationTestSuite) TxDeploy3Nft721Contract(deployer, rich *itutiltypes.TestAccount) (common.Address, *evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, ...) + func (suite *ChainIntegrationTestSuite) TxDeploy4Nft1155Contract(deployer, rich *itutiltypes.TestAccount) (common.Address, *evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, ...) + func (suite *ChainIntegrationTestSuite) TxDeploy5CreateBarContract(deployer *itutiltypes.TestAccount) (common.Address, *evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, ...) + func (suite *ChainIntegrationTestSuite) TxDeploy5CreateBarInteractionContract(deployer *itutiltypes.TestAccount, contractBarAddress common.Address) (common.Address, *evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, ...) + func (suite *ChainIntegrationTestSuite) TxDeploy5CreateFooContract(deployer *itutiltypes.TestAccount) (common.Address, *evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, ...) + func (suite *ChainIntegrationTestSuite) TxDeployContract(ctx sdk.Context, deployer *itutiltypes.TestAccount, ...) (common.Address, *evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, ...) + func (suite *ChainIntegrationTestSuite) TxDeployErc20Contract(deployer *itutiltypes.TestAccount, name, symbol string, decimals uint8) (common.Address, *evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, ...) + func (suite *ChainIntegrationTestSuite) TxFullGov(proposer *itutiltypes.TestAccount, newProposalContent govtypeslegacy.Content) uint64 + func (suite *ChainIntegrationTestSuite) TxFullRegisterCoin(proposer *itutiltypes.TestAccount, minDenom string) uint64 + func (suite *ChainIntegrationTestSuite) TxFullRegisterCoinByMetadata(proposer *itutiltypes.TestAccount, metadata banktypes.Metadata) uint64 + func (suite *ChainIntegrationTestSuite) TxFullRegisterCoinWithNewBankMetadata(proposer *itutiltypes.TestAccount, minDenom, display string, exponent uint32) uint64 + func (suite *ChainIntegrationTestSuite) TxFullRegisterIbcCoinFromErc20Contract(proposer *itutiltypes.TestAccount, erc20Address common.Address) uint64 + func (suite *ChainIntegrationTestSuite) TxMintErc20Token(contract common.Address, minter, mintTo *itutiltypes.TestAccount, ...) (*evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, error) + func (suite *ChainIntegrationTestSuite) TxPrepareContextWithdrawDelegatorAndValidatorReward(delegator *itutiltypes.TestAccount, delegate uint8, waitXBlocks uint8) (valAddr sdk.ValAddress) + func (suite *ChainIntegrationTestSuite) TxSend(from, to *itutiltypes.TestAccount, amount float64) error + func (suite *ChainIntegrationTestSuite) TxSendAsync(from, to *itutiltypes.TestAccount, amount float64) error + func (suite *ChainIntegrationTestSuite) TxSendEvmTx(ctx sdk.Context, sender *itutiltypes.TestAccount, to *common.Address, ...) (*evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, error) + func (suite *ChainIntegrationTestSuite) TxSendEvmTxAsync(ctx sdk.Context, sender *itutiltypes.TestAccount, to *common.Address, ...) (*evmtypes.MsgEthereumTx, error) + func (suite *ChainIntegrationTestSuite) TxSendViaEVM(from, to *itutiltypes.TestAccount, amount float64) (*evmtypes.MsgEthereumTx, error) + func (suite *ChainIntegrationTestSuite) TxSendViaEVMAsync(from, to *itutiltypes.TestAccount, amount float64) (*evmtypes.MsgEthereumTx, error) + func (suite *ChainIntegrationTestSuite) TxTransferErc20Token(contract common.Address, sender, receiver *itutiltypes.TestAccount, ...) (*evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, error) + func (suite *ChainIntegrationTestSuite) TxTransferErc20TokenAsync(contract common.Address, sender, receiver *itutiltypes.TestAccount, ...) (*evmtypes.MsgEthereumTx, error) + func (suite *ChainIntegrationTestSuite) TxTransferNft1155Token(contract common.Address, abi abi.ABI, ...) (*evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, error) + func (suite *ChainIntegrationTestSuite) TxTransferNft1155TokenAsync(contract common.Address, abi abi.ABI, ...) (*evmtypes.MsgEthereumTx, error) + func (suite *ChainIntegrationTestSuite) TxTransferNft721Token(contract common.Address, abi abi.ABI, ...) (*evmtypes.MsgEthereumTx, *itutiltypes.ResponseDeliverEthTx, error) + func (suite *ChainIntegrationTestSuite) TxTransferNft721TokenAsync(contract common.Address, abi abi.ABI, ...) (*evmtypes.MsgEthereumTx, error) + func (suite *ChainIntegrationTestSuite) TxVote(voter *itutiltypes.TestAccount, proposalId uint64, ...) error + func (suite *ChainIntegrationTestSuite) UseKeyring() + func (suite *ChainIntegrationTestSuite) WaitNextBlockOrCommit() int64 + type ChainsIbcIntegrationTestSuite struct + Chain1 *ChainIntegrationTestSuite + Chain2 *ChainIntegrationTestSuite + Coordinator *ibctesting.Coordinator + Path *ibctesting.Path + RelayerChain1 *itutiltypes.TestAccount + RelayerChain2 *itutiltypes.TestAccount + TestChain1 *ibctesting.TestChain + TestChain2 *ibctesting.TestChain + func CreateChainsIbcIntegrationTestSuite(chain1, chain2 *ChainIntegrationTestSuite, ...) *ChainsIbcIntegrationTestSuite + func (suite *ChainsIbcIntegrationTestSuite) Chain(number int) (chainSuite *ChainIntegrationTestSuite, testChain *ibctesting.TestChain, ...) + func (suite *ChainsIbcIntegrationTestSuite) Cleanup() + func (suite *ChainsIbcIntegrationTestSuite) CommitAllChains() + func (suite *ChainsIbcIntegrationTestSuite) TemporarySetBaseFeeZero() (releaser func()) + func (suite *ChainsIbcIntegrationTestSuite) TxMakeIbcTransfer(fromChain *ChainIntegrationTestSuite, fromTestChain *ibctesting.TestChain, ...) channeltypes.Packet + func (suite *ChainsIbcIntegrationTestSuite) TxMakeIbcTransferFromChain2ToChain1(receiver *itutiltypes.TestAccount, transferCoin sdk.Coin) channeltypes.Packet + type CosmosTxArgs struct + FeeGranter sdk.AccAddress + Fees sdk.Coins + Gas uint64 + GasPrice *sdkmath.Int + Msgs []sdk.Msg + type QueryServiceTestHelper struct + Ctx sdk.Context + func NewQueryServerTestHelper(ctx sdk.Context, interfaceRegistry types.InterfaceRegistry) *QueryServiceTestHelper + func (q *QueryServiceTestHelper) Invoke(_ gocontext.Context, method string, args, reply interface{}, ...) error + func (q *QueryServiceTestHelper) NewStream(gocontext.Context, *grpc.StreamDesc, string, ...grpc.CallOption) (grpc.ClientStream, error)