etrog

package
v0.5.0-RC1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: AGPL-3.0, AGPL-3.0-or-later Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ForkIDEtrog is the forkId for etrog
	ForkIDEtrog = actions.ForkIdType(7) //nolint:gomnd
	// ForksIdOnlyEtrog support only etrog forkId
	ForksIdOnlyEtrog = []actions.ForkIdType{ForkIDEtrog}
)

Functions

This section is empty.

Types

type ProcessorL1InfoTreeUpdate

type ProcessorL1InfoTreeUpdate struct {
	actions.ProcessorBase[ProcessorL1InfoTreeUpdate]
	// contains filtered or unexported fields
}

ProcessorL1InfoTreeUpdate implements L1EventProcessor for GlobalExitRootsOrder

func NewProcessorL1InfoTreeUpdate

func NewProcessorL1InfoTreeUpdate(state stateProcessorL1InfoTreeInterface) *ProcessorL1InfoTreeUpdate

NewProcessorL1InfoTreeUpdate new processor for GlobalExitRootsOrder

func (*ProcessorL1InfoTreeUpdate) Process

func (p *ProcessorL1InfoTreeUpdate) Process(ctx context.Context, order etherman.Order, l1Block *etherman.Block, dbTx pgx.Tx) error

Process process event

type ProcessorL1SequenceBatchesEtrog

type ProcessorL1SequenceBatchesEtrog struct {
	actions.ProcessorBase[ProcessorL1SequenceBatchesEtrog]
	// contains filtered or unexported fields
}

ProcessorL1SequenceBatchesEtrog implements L1EventProcessor

func NewProcessorL1SequenceBatches

func NewProcessorL1SequenceBatches(state stateProcessSequenceBatches,
	etherMan ethermanProcessSequenceBatches,
	pool poolProcessSequenceBatchesInterface,
	eventLog syncinterfaces.EventLogInterface,
	sync syncProcessSequenceBatchesInterface,
	timeProvider syncCommon.TimeProvider) *ProcessorL1SequenceBatchesEtrog

NewProcessorL1SequenceBatches returns instance of a processor for SequenceBatchesOrder

func (*ProcessorL1SequenceBatchesEtrog) Process

func (g *ProcessorL1SequenceBatchesEtrog) Process(ctx context.Context, order etherman.Order, l1Block *etherman.Block, dbTx pgx.Tx) error

Process process event

Jump to

Keyboard shortcuts

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