File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2813,7 +2813,7 @@ func TestShardBootstrap_SyncBlockV3(t *testing.T) {
28132813 require .True (t , ok )
28142814 poolsStub .TransactionsCalled = func () dataRetriever.ShardedDataCacherNotifier {
28152815 return & testscommon.ShardedDataStub {
2816- OnExecutedBlockCalled : func (blockHeader data.HeaderHandler ) error {
2816+ OnExecutedBlockCalled : func (blockHeader data.HeaderHandler , rootHash [] byte ) error {
28172817 return errExpected
28182818 },
28192819 }
@@ -2901,7 +2901,7 @@ func TestShardBootstrap_SyncBlockV3(t *testing.T) {
29012901 require .True (t , ok )
29022902 poolsStub .TransactionsCalled = func () dataRetriever.ShardedDataCacherNotifier {
29032903 return & testscommon.ShardedDataStub {
2904- OnExecutedBlockCalled : func (blockHeader data.HeaderHandler ) error {
2904+ OnExecutedBlockCalled : func (blockHeader data.HeaderHandler , rootHash [] byte ) error {
29052905 return errExpected
29062906 },
29072907 }
Original file line number Diff line number Diff line change @@ -570,8 +570,7 @@ func Test_CompleteFlowShouldWork(t *testing.T) {
570570 err = cache .OnExecutedBlock (& block.Header {
571571 Nonce : uint64 (0 ),
572572 PrevHash : []byte ("hash0" ),
573- RootHash : []byte ("rootHash0" ),
574- })
573+ }, []byte ("rootHash0" ))
575574 require .Nil (t , err )
576575
577576 for _ , txHash := range proposedBlock1 {
You can’t perform that action at this time.
0 commit comments