mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 12:51:22 +00:00
state.ApplyBlock takes evpool and calls MarkEvidenceAsCommitted
This commit is contained in:
@ -93,7 +93,10 @@ func TestApplyBlock(t *testing.T) {
|
||||
|
||||
block := makeBlock(state, 1)
|
||||
|
||||
err = state.ApplyBlock(types.NopEventBus{}, proxyApp.Consensus(), block, block.MakePartSet(testPartSize).Header(), types.MockMempool{})
|
||||
err = state.ApplyBlock(types.NopEventBus{}, proxyApp.Consensus(),
|
||||
block, block.MakePartSet(testPartSize).Header(),
|
||||
types.MockMempool{}, types.MockEvidencePool{})
|
||||
|
||||
require.Nil(t, err)
|
||||
|
||||
// TODO check state and mempool
|
||||
|
Reference in New Issue
Block a user