@@ -310,7 +310,7 @@ func Test_publishBlock_EmptyBatch(t *testing.T) {
310310
311311 // We should also expect ExecuteTxs to be called with an empty transaction list
312312 newAppHash := []byte ("newAppHash" )
313- mockExec .On ("ExecuteTxs" , ctx , mock .Anything , currentHeight + 1 , mock .AnythingOfType ("time.Time" ), m .lastState .AppHash ).Return (newAppHash , uint64 (100 ), nil ).Once ()
313+ mockExec .On ("ExecuteTxs" , mock . Anything , mock .Anything , currentHeight + 1 , mock .AnythingOfType ("time.Time" ), m .lastState .AppHash ).Return (newAppHash , uint64 (100 ), nil ).Once ()
314314
315315 // SetHeight should be called
316316 mockStore .On ("SetHeight" , ctx , currentHeight + 1 ).Return (nil ).Once ()
@@ -380,7 +380,7 @@ func Test_publishBlock_Success(t *testing.T) {
380380 sampleTxs := [][]byte {[]byte ("tx1" ), []byte ("tx2" )}
381381 // No longer mocking GetTxs since it's handled by reaper.go
382382 newAppHash := []byte ("newAppHash" )
383- mockExec .On ("ExecuteTxs" , t . Context () , mock .Anything , newHeight , mock .AnythingOfType ("time.Time" ), manager .lastState .AppHash ).Return (newAppHash , uint64 (100 ), nil ).Once ()
383+ mockExec .On ("ExecuteTxs" , mock . Anything , mock .Anything , newHeight , mock .AnythingOfType ("time.Time" ), manager .lastState .AppHash ).Return (newAppHash , uint64 (100 ), nil ).Once ()
384384
385385 // No longer mocking SubmitBatchTxs since it's handled by reaper.go
386386 batchTimestamp := lastHeader .Time ().Add (1 * time .Second )
0 commit comments