faultproofs

package
v1.16.7 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InteropL1ChainID = new(big.Int).SetUint64(900100)

Functions

func RunTestAcrossVmTypes added in v1.13.3

func RunTestAcrossVmTypes(t *testing.T, test VMTest, opts ...VMTestOption[any])

RunTestAcrossVmTypes Runs a single test case across multiple vm types

func RunTestsAcrossVmTypes added in v1.13.3

func RunTestsAcrossVmTypes[T any](t *testing.T, testCases []T, test VMTestCase[T], opts ...VMTestOption[T])

RunTestsAcrossVmTypes Runs a set of testCases, each testCase is run across multiple vm types

func SendKZGPointEvaluationTx

func SendKZGPointEvaluationTx(t *testing.T, sys *e2esys.System, l2Node string, privateKey *ecdsa.PrivateKey) *types.Receipt

func StartFaultDisputeSystem

func StartFaultDisputeSystem(t *testing.T, opts ...faultDisputeConfigOpts) (*e2esys.System, *ethclient.Client)

func StartInteropFaultDisputeSystem added in v1.12.0

func StartInteropFaultDisputeSystem(t *testing.T, opts ...faultDisputeConfigOpts) (interop.SuperSystem, *disputegame.FactoryHelper, *ethclient.Client)

func WithAllocType added in v1.9.4

func WithAllocType(allocType config.AllocType) faultDisputeConfigOpts

func WithBatcherStopped

func WithBatcherStopped() faultDisputeConfigOpts

func WithBlobBatches

func WithBlobBatches() faultDisputeConfigOpts

func WithEcotone

func WithEcotone() faultDisputeConfigOpts

func WithLatestFork added in v1.11.1

func WithLatestFork() faultDisputeConfigOpts

func WithSequencerWindowSize

func WithSequencerWindowSize(size uint64) faultDisputeConfigOpts

Types

type VMTest added in v1.13.3

type VMTest func(t *testing.T, allocType config.AllocType)

type VMTestCase added in v1.13.3

type VMTestCase[T any] func(t *testing.T, allocType config.AllocType, testcase T)

type VMTestOption added in v1.13.3

type VMTestOption[T any] func(*vmTestOptions[T])

func WithNextVMOnly added in v1.13.3

func WithNextVMOnly[T any]() VMTestOption[T]

func WithTestName added in v1.13.3

func WithTestName[T any](testName func(vmName string, _ T) string) VMTestOption[T]

func WithTestNamePrefix added in v1.13.3

func WithTestNamePrefix[T any](prefix string) VMTestOption[T]

Jump to

Keyboard shortcuts

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