# Functions
ApplyL2Txs sends the given L2 txs, waits for them to be consolidated and checks the final state.
CollectDockerLogs retrieves the logs from Docker containers and writes them into the logger.
GetAuth configures and returns an auth object.
NodeUpCondition check if the container is up and running.
Poll retries the given condition with the given interval until it succeeds or the given deadline expires.
No description provided by the author
RevertReason returns the revert reason for a tx that has a receipt with failed status.
RunMakeTarget runs a Makefile target.
Setup creates all the required components and initializes them according to the manager config.
No description provided by the author
StartComponent starts a docker-compose component.
StartNetwork starts the L1 network container.
StartNode starts the node container.
StopComponent stops a docker-compose component.
Teardown stops all the components.
WaitL2BlockToBeConsolidated waits until a L2 Block has been consolidated or the given timeout expires.
WaitL2BlockToBeVirtualized waits until a L2 Block has been virtualized or the given timeout expires.
WaitTxToBeMined waits until a tx has been mined or the given timeout expires.
# Constants
DefaultDeadline is a time interval.
DefaultInterval is a time interval.
DefaultL1CDKValidiumSmartContract is the l1 CDK validium contract address.
DefaultL1ChainID is the l1 chain id.
DefaultL1DataCommitteeContract is the l1 data committee contract address.
DefaultL1NetworkURL is the L1 node URL.
DefaultL2ChainID is the l2 chain id.
DefaultL2NetworkURL is the L2 node URL.
DefaultSequencerPrivateKey is the sequencer private key.
DefaultTimeoutTxToBeMined is the timeout for blocks to be mined.
PoolConfirmationLevel indicates that transaction is added into the pool.
TrustedConfirmationLevel indicates that transaction is added into the trusted state.
VerifiedConfirmationLevel indicates that transaction is added into the verified state.
VirtualConfirmationLevel indicates that transaction is added into the virtual state.
# Variables
ErrTimeoutReached is thrown when the timeout is reached and because the condition is not matched.
# Type aliases
ConditionFunc is a generic function.
ConfirmationLevel type used to describe the confirmation level of a transaction.