Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncTrustedBatchesAction ¶
type SyncTrustedBatchesAction struct { TrustedState TrustedState // contains filtered or unexported fields }
SyncTrustedBatchesAction is the action that synchronizes the trusted state
func NewSyncTrustedStateExecutor ¶
func NewSyncTrustedStateExecutor(zkEVMClient zkEVMClientInterface, state syncTrustedBatchesStateInterface, sync syncTrustedBatchesSynchronizerInterface) *SyncTrustedBatchesAction
NewSyncTrustedStateExecutor creates a new syncTrustedBatchesAction for incaberry
func (*SyncTrustedBatchesAction) CleanTrustedState ¶
func (s *SyncTrustedBatchesAction) CleanTrustedState()
CleanTrustedState Clean cache of TrustedBatches and StateRoot
func (*SyncTrustedBatchesAction) SyncTrustedState ¶
func (s *SyncTrustedBatchesAction) SyncTrustedState(ctx context.Context, latestSyncedBatch uint64) error
SyncTrustedState synchronizes information from the trusted sequencer related to the trusted state when the node has all the information from l1 synchronized
Click to show internal directories.
Click to hide internal directories.