File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ func (e *Executor) initializeState() error {
204204 }
205205
206206 e .setLastState (state )
207+ e .sequencer .SetDAHeight (state .DAHeight )
207208
208209 // Initialize store height using batch for atomicity
209210 batch , err := e .store .NewBatch (e .ctx )
@@ -439,10 +440,9 @@ func (e *Executor) produceBlock() error {
439440
440441// retrieveBatch gets the next batch of transactions from the sequencer
441442func (e * Executor ) retrieveBatch (ctx context.Context ) (* BatchData , error ) {
442- currentState := e .getLastState ()
443443
444444 // Update sequencer's DA height for forced inclusion tracking
445- e .sequencer .SetDAHeight (currentState .DAHeight )
445+ // e.sequencer.SetDAHeight(currentState.DAHeight)
446446
447447 req := coresequencer.GetNextBatchRequest {
448448 Id : []byte (e .genesis .ChainID ),
You can’t perform that action at this time.
0 commit comments