test

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MIT, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomL2Block

func RandomL2Block(rng *rand.Rand, txCount int) (*types.Block, []*types.Receipt)

RandomL2Block returns a random block whose first transaction is a random pre-Ecotone upgrade L1 Info Deposit transaction.

func RandomL2BlockWithChainId added in v1.2.0

func RandomL2BlockWithChainId(rng *rand.Rand, txCount int, chainId *big.Int) *types.Block

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL