Documentation ¶
Index ¶
- Variables
- func WaitForProposalExecuted(client TestClient, bridge common.Address) error
- type IntegrationTestSuite
- func (s *IntegrationTestSuite) SetupSuite()
- func (s *IntegrationTestSuite) SetupTest()
- func (s *IntegrationTestSuite) TearDownSuite()
- func (s *IntegrationTestSuite) TearDownTest()
- func (s *IntegrationTestSuite) TestErc20Deposit()
- func (s *IntegrationTestSuite) TestErc721Deposit()
- func (s *IntegrationTestSuite) TestGenericDeposit()
- type TestClient
Constants ¶
This section is empty.
Variables ¶
View Source
var TestTimeout = time.Second * 600
Functions ¶
func WaitForProposalExecuted ¶
func WaitForProposalExecuted(client TestClient, bridge common.Address) error
Types ¶
type IntegrationTestSuite ¶
func SetupEVM2EVMTestSuite ¶
func SetupEVM2EVMTestSuite(fabric1, fabric2 calls.TxFabric, client1, client2 TestClient, relayerAddresses1, relayerAddresses2 []common.Address) *IntegrationTestSuite
func (*IntegrationTestSuite) SetupSuite ¶
func (s *IntegrationTestSuite) SetupSuite()
func (*IntegrationTestSuite) SetupTest ¶
func (s *IntegrationTestSuite) SetupTest()
func (*IntegrationTestSuite) TearDownSuite ¶
func (s *IntegrationTestSuite) TearDownSuite()
func (*IntegrationTestSuite) TearDownTest ¶
func (s *IntegrationTestSuite) TearDownTest()
func (*IntegrationTestSuite) TestErc20Deposit ¶
func (s *IntegrationTestSuite) TestErc20Deposit()
func (*IntegrationTestSuite) TestErc721Deposit ¶
func (s *IntegrationTestSuite) TestErc721Deposit()
func (*IntegrationTestSuite) TestGenericDeposit ¶
func (s *IntegrationTestSuite) TestGenericDeposit()
type TestClient ¶
type TestClient interface { local.E2EClient LatestBlock() (*big.Int, error) FetchEventLogs(ctx context.Context, contractAddress common.Address, event string, startBlock *big.Int, endBlock *big.Int) ([]types.Log, error) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error) }
Click to show internal directories.
Click to hide internal directories.