Skip to content

Commit 0c06e1c

Browse files
committed
fix
1 parent 4f808c8 commit 0c06e1c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

block/internal/executing/executor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
441442
func (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),

0 commit comments

Comments
 (0)