Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunWithdrawalsTest ¶
func RunWithdrawalsTest(t *testing.T, sys CommonSystem)
TestWithdrawals checks that a deposit and then withdrawal execution succeeds. It verifies the balance changes on L1 and L2 and has to include gas fees in the balance checks. It does not check that the withdrawal can be executed prior to the end of the finality period.
Types ¶
type CommonSystem ¶
type CommonSystem interface { NodeClient(role string) *ethclient.Client RollupClient(role string) *sources.RollupClient Config() e2esys.SystemConfig TestAccount(int) *ecdsa.PrivateKey }
Click to show internal directories.
Click to hide internal directories.