We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92e139c commit d430e29Copy full SHA for d430e29
beacon-chain/blockchain/mock_test.go
@@ -3,6 +3,7 @@ package blockchain
3
import (
4
"testing"
5
6
+ mock "github.com/prysmaticlabs/prysm/v5/beacon-chain/blockchain/testing"
7
testDB "github.com/prysmaticlabs/prysm/v5/beacon-chain/db/testing"
8
doublylinkedtree "github.com/prysmaticlabs/prysm/v5/beacon-chain/forkchoice/doubly-linked-tree"
9
"github.com/prysmaticlabs/prysm/v5/beacon-chain/startup"
@@ -18,6 +19,7 @@ func testServiceOptsWithDB(t *testing.T) []Option {
18
19
WithStateGen(stategen.New(beaconDB, fcs)),
20
WithForkChoiceStore(fcs),
21
WithClockSynchronizer(cs),
22
+ WithStateNotifier(&mock.MockStateNotifier{RecordEvents: true}),
23
}
24
25
0 commit comments