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 RandomPrivateKey() *ecdsa.PrivateKey
- 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 ¶
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 ¶
RandomBatch - block is needed in order to pass the smart contract check when submitting cross chain messages.
func RandomBytes ¶
func RandomPrivateKey ¶ added in v0.24.0
func RandomPrivateKey() *ecdsa.PrivateKey
func RandomRollup ¶
RandomRollup - block is needed in order to pass the smart contract check when submitting cross chain messages.
func RandomUInt64 ¶
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.