Versions in this module Expand all Collapse all v1 v1.1.2 Jun 2, 2021 Changes in this version + const EthAEndpoint + const EthBEndpoint + var AliceKp = keystore.TestKeyRing.EthereumKeys[keystore.AliceKey] + var CharlieKp = keystore.TestKeyRing.EthereumKeys[keystore.BobKey] + var DaveKp = keystore.TestKeyRing.EthereumKeys[keystore.DaveKey] + var EveKp = keystore.TestKeyRing.EthereumKeys[keystore.EveKey] + var TestTimeout = time.Second * 30 + func CreateConfig(key string, chain msg.ChainId, contracts *utils.DeployedContracts, ...) *core.ChainConfig + func CreateErc20Deposit(t *testing.T, client *utils.Client, destId msg.ChainId, recipient []byte, ...) + func CreateErc721Deposit(t *testing.T, client *utils.Client, destId msg.ChainId, recipient []byte, ...) + func CreateEthClient(t *testing.T, endpoint string, kp *secp256k1.Keypair) (*ethclient.Client, *bind.TransactOpts) + func CreateGenericDeposit(t *testing.T, client *utils.Client, destId msg.ChainId, metadata []byte, ...) + func DeployTestContracts(t *testing.T, client *utils.Client, endpoint string, id msg.ChainId, ...) *utils.DeployedContracts + func WaitForProposalActive(t *testing.T, client *utils.Client, bridge common.Address, nonce uint64) + func WaitForProposalExecutedEvent(t *testing.T, client *utils.Client, bridge common.Address, nonce uint64) + type TestContext struct + BaseContracts *utils.DeployedContracts + Client *utils.Client + TestContracts TestContracts + type TestContracts struct + AssetStoreEth common.Address + AssetStoreSub common.Address + Erc20Eth common.Address + Erc20Sub common.Address + Erc721Eth common.Address + Erc721Sub common.Address