environment

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 13 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))
	// L2NetworkRPCURL is the RPC URL of the L2 network
	L2NetworkRPCURL = testutils.GetEnv("RPC_URL", operations.DefaultL2NetworkURL)
)

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