utils

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, MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestBlockBuilder

type TestBlockBuilder struct {
	// contains filtered or unexported fields
}

func (*TestBlockBuilder) BuildBlock

func (s *TestBlockBuilder) BuildBlock(ctx context.Context, parentHash *common.Hash)

type TestBlockBuilderConfig

type TestBlockBuilderConfig struct {
	GethRPC string

	EngineRPC string
	JWTSecret string
	// contains filtered or unexported fields
}

type TestPOS

type TestPOS struct {
	// contains filtered or unexported fields
}

func NewTestPOS

func NewTestPOS(t devtest.CommonT, rpcURL string, blockBuilder *TestBlockBuilder) *TestPOS

func (*TestPOS) Start

func (p *TestPOS) Start() error

Starts a background process to build blocks

func (*TestPOS) Stop

func (p *TestPOS) Stop()

Stops the background process

type TestReorgManager

type TestReorgManager struct {
	// contains filtered or unexported fields
}

func NewTestReorgManager

func NewTestReorgManager(t devtest.CommonT) *TestReorgManager

func (*TestReorgManager) GetBlockBuilder

func (m *TestReorgManager) GetBlockBuilder() *TestBlockBuilder

func (*TestReorgManager) GetPOS

func (m *TestReorgManager) GetPOS() *TestPOS

func (*TestReorgManager) StopL1CL

func (m *TestReorgManager) StopL1CL()

Jump to

Keyboard shortcuts

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