configure

package
v1.99.13 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package configure provides e2e tests for blockchain configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertBlockchainConfigIsSet

func AssertBlockchainConfigIsSet(
	nodesInfo map[string]utils.NodeInfo,
	blockchainID string,
	expectedRPCTxFeeCap int,
	nodesRPCTxFeeCap map[string]int,
)

checks that the nodes given by [nodesInfo] have the [expectedRPCTxFeeCap] value set for the chain evm L1 with ID [blockchainID] if [nodesRPCTxFeeCap] is given, it uses [npdesRPCTxFeeCap[nodeID]] instead of [expectedRPCTxFeeCap], to allow checking of different configs at different nodes bases the check on evm log files (blockchainID.log) also checks that no other test-related rpcTxFeeCap value is present in the logs

func AssertChainConfigIsSet added in v1.13.7

func AssertChainConfigIsSet(
	nodesInfo map[string]utils.NodeInfo,
	expectedNodeID string,
)

checks that the nodes given by [nodesInfo] have the [expectedNodeID] value set for allowedNodes on the chain configuration bases the check on luxd log files (main.log) also checks that no other test-related nodeID value is present in the logs for allowedNodes

func AssertNodeConfigIsSet

func AssertNodeConfigIsSet(
	nodesInfo map[string]utils.NodeInfo,
	expectedACPSupport int,
)

checks that the nodes given by [nodesInfo] have the [expectedACPSupport] value set bases the check on luxd log files (main.log) also checks that no other test-related acpSupport value is present in the log

Types

This section is empty.

Jump to

Keyboard shortcuts

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