environment

package
v0.0.3-RC26 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IntBase is the base for the conversion of strings to integers
	IntBase = 10
	// PrivateKey is the private key of the sequencer
	PrivateKey = testutils.GetEnv("PRIVATE_KEY", operations.DefaultSequencerPrivateKey)
	// L2ChainId is the chain id of the L2 network
	L2ChainId = testutils.GetEnv("CHAIN_ID", strconv.FormatUint(operations.DefaultL2ChainID, IntBase))
	//Erc20TokenAddress is the address of the ERC20 token
	Erc20TokenAddress = testutils.GetEnv("ERC20_TOKEN_ADDRESS", "0x729fc461b26f69cf75a31182788eaf722b08c240")
)

Functions

func Init

Init sets up the environment for the benchmark

Types

This section is empty.

Jump to

Keyboard shortcuts

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