etrog

package
v0.6.6-RC1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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,
	sync syncProcessSequenceBatchesInterface,
	timeProvider syncCommon.TimeProvider,
	halter syncinterfaces.CriticalErrorHandler) *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

func (*ProcessorL1SequenceBatchesEtrog) ProcessSequenceBatches added in v0.6.0

func (p *ProcessorL1SequenceBatchesEtrog) ProcessSequenceBatches(ctx context.Context, sequencedBatches []etherman.SequencedBatch, blockNumber uint64, l1BlockTimestamp time.Time, dbTx pgx.Tx) error

ProcessSequenceBatches process sequence of batches

type ProcessorL1UpdateEtrogSequence

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

ProcessorL1UpdateEtrogSequence implements L1EventProcessor

func NewProcessorL1UpdateEtrogSequence

func NewProcessorL1UpdateEtrogSequence(state stateProcessUpdateEtrogSequence,
	sync syncProcessUpdateEtrogSequenceInterface,
	timeProvider syncCommon.TimeProvider) *ProcessorL1UpdateEtrogSequence

NewProcessorL1UpdateEtrogSequence returns instance of a processor for UpdateEtrogSequenceOrder

func (*ProcessorL1UpdateEtrogSequence) Process

func (g *ProcessorL1UpdateEtrogSequence) 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