Documentation
¶
Index ¶
- Variables
- func RunTestAcrossVmTypes(t *testing.T, test VMTest, opts ...VMTestOption[any])
- func RunTestsAcrossVmTypes[T any](t *testing.T, testCases []T, test VMTestCase[T], opts ...VMTestOption[T])
- func SendKZGPointEvaluationTx(t *testing.T, sys *e2esys.System, l2Node string, privateKey *ecdsa.PrivateKey) *types.Receipt
- func StartFaultDisputeSystem(t *testing.T, opts ...faultDisputeConfigOpts) (*e2esys.System, *ethclient.Client)
- func StartInteropFaultDisputeSystem(t *testing.T, opts ...faultDisputeConfigOpts) (interop.SuperSystem, *disputegame.FactoryHelper, *ethclient.Client)
- func WithAllocType(allocType config.AllocType) faultDisputeConfigOpts
- func WithBatcherStopped() faultDisputeConfigOpts
- func WithBlobBatches() faultDisputeConfigOpts
- func WithEcotone() faultDisputeConfigOpts
- func WithLatestFork() faultDisputeConfigOpts
- func WithSequencerWindowSize(size uint64) faultDisputeConfigOpts
- type VMTest
- type VMTestCase
- type VMTestOption
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 StartFaultDisputeSystem ¶
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 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 VMTestCase ¶ added in v1.13.3
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]
Click to show internal directories.
Click to hide internal directories.