params

package
v0.5.0-RC12 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultDeadline is the default deadline for the sequencer
	DefaultDeadline = 6000 * time.Second
	// MaxCumulativeGasUsed is the maximum cumulative gas used
	MaxCumulativeGasUsed = 80000000000
	// PrometheusPort is the port where prometheus is running
	PrometheusPort = 9092
	// NumberOfOperations is the number of transactions to send
	NumberOfOperations = 300
)

Variables

View Source
var (
	// Ctx is the context
	Ctx = context.Background()
	// PoolDbConfig is the pool db config
	PoolDbConfig = dbutils.NewPoolConfigFromEnv()
	// SequencerPrivateKey is the private key of the sequencer
	SequencerPrivateKey = operations.DefaultSequencerPrivateKey
	// ChainID is the chain id
	ChainID = operations.DefaultL2ChainID
	// OpsCfg is the operations config
	OpsCfg = operations.GetDefaultOperationsConfig()
	// ToAddress is the address to send the txs
	ToAddress = "0x4d5Cf5032B2a844602278b01199ED191A86c93ff"
	// To is the address to send the txs
	To = common.HexToAddress(ToAddress)
	// PrivateKey is the private key of the sender
	PrivateKey, _ = crypto.HexToECDSA(strings.TrimPrefix(SequencerPrivateKey, "0x"))
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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