Skip to content

Commit

Permalink
feat: add blockstore in block executor initialisations (#1408)
Browse files Browse the repository at this point in the history
## Description

Adds block store in block executor initialisations
  • Loading branch information
ninabarbakadze committed Jul 2, 2024
1 parent 64090a0 commit 9e790ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ func (h *Handshaker) replayBlock(state sm.State, height int64, proxyApp proxy.Ap

// Use stubs for both mempool and evidence pool since no transactions nor
// evidence are needed here - block already exists.
blockExec := sm.NewBlockExecutor(h.stateStore, h.logger, proxyApp, emptyMempool{}, sm.EmptyEvidencePool{})
blockExec := sm.NewBlockExecutor(h.stateStore, h.logger, proxyApp, emptyMempool{}, sm.EmptyEvidencePool{}, sm.WithBlockStore(h.store))
blockExec.SetEventBus(h.eventBus)

var err error
Expand Down

0 comments on commit 9e790ec

Please sign in to comment.