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
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
Click to show internal directories.
Click to hide internal directories.