Documentation ¶
Index ¶
- func CreateCallMsg() *ethereum.CallMsg
- func CreateL2Tx() *common.L2Tx
- func CreateL2TxData() *types.LegacyTx
- func RandomAddress() gethcommon.Address
- func RandomBatch(block *types.Block) common.ExtBatch
- func RandomBytes(length int) []byte
- func RandomRollup(_ *types.Block) common.ExtRollup
- func RandomUInt64() uint64
- func RandomWallet(chainID int64) wallet.Wallet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCallMsg ¶ added in v0.4.0
func CreateCallMsg() *ethereum.CallMsg
CreateCallMsg Creates a dummy ethereum.CallMsg for testing
func CreateL2TxData ¶
CreateL2TxData Creates a dummy types.LegacyTx for testing
func RandomAddress ¶
func RandomAddress() gethcommon.Address
func RandomBatch ¶ added in v0.8.0
RandomBatch - block is needed in order to pass the smart contract check when submitting cross chain messages.
func RandomBytes ¶
func RandomRollup ¶
RandomRollup - block is needed in order to pass the smart contract check when submitting cross chain messages.
func RandomUInt64 ¶ added in v0.8.0
func RandomUInt64() uint64
func RandomWallet ¶
RandomWallet returns a wallet with a random private key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.