@@ -32,7 +32,7 @@ type MockFullDAClient struct {
3232// It implements proper size filtering based on maxBytes parameter.
3333func createDefaultMockExecutor (t * testing.T ) * mocks.MockExecutor {
3434 mockExec := mocks .NewMockExecutor (t )
35- mockExec .On ("GetExecutionInfo" , mock .Anything , mock . Anything ).Return (execution.ExecutionInfo {MaxGas : 1000000 }, nil ).Maybe ()
35+ mockExec .On ("GetExecutionInfo" , mock .Anything ).Return (execution.ExecutionInfo {MaxGas : 1000000 }, nil ).Maybe ()
3636 mockExec .On ("FilterTxs" , mock .Anything , mock .Anything , mock .Anything , mock .Anything , mock .Anything ).Return (
3737 func (ctx context.Context , txs [][]byte , maxBytes , maxGas uint64 , hasForceIncludedTransaction bool ) []execution.FilterStatus {
3838 result := make ([]execution.FilterStatus , len (txs ))
@@ -545,7 +545,7 @@ func TestBasedSequencer_CrashRecoveryMidEpoch(t *testing.T) {
545545 // Create mock executor that postpones tx2 on first call
546546 filterCallCount := 0
547547 mockExec := mocks .NewMockExecutor (t )
548- mockExec .On ("GetExecutionInfo" , mock .Anything , mock . Anything ).Return (execution.ExecutionInfo {MaxGas : 1000000 }, nil ).Maybe ()
548+ mockExec .On ("GetExecutionInfo" , mock .Anything ).Return (execution.ExecutionInfo {MaxGas : 1000000 }, nil ).Maybe ()
549549 mockExec .On ("FilterTxs" , mock .Anything , mock .Anything , mock .Anything , mock .Anything , mock .Anything ).Return (
550550 func (ctx context.Context , txs [][]byte , maxBytes , maxGas uint64 , hasForceIncludedTransaction bool ) []execution.FilterStatus {
551551 filterCallCount ++
@@ -881,7 +881,7 @@ func TestBasedSequencer_GetNextBatch_GasFilteringPreservesUnprocessedTxs(t *test
881881 // - tx2: valid but doesn't fit due to gas limit (returned as remaining)
882882 gasFilterCallCount := 0
883883 mockExec := mocks .NewMockExecutor (t )
884- mockExec .On ("GetExecutionInfo" , mock .Anything , mock . Anything ).Return (execution.ExecutionInfo {MaxGas : 1000000 }, nil ).Maybe ()
884+ mockExec .On ("GetExecutionInfo" , mock .Anything ).Return (execution.ExecutionInfo {MaxGas : 1000000 }, nil ).Maybe ()
885885 mockExec .On ("FilterTxs" , mock .Anything , mock .Anything , mock .Anything , mock .Anything , mock .Anything ).Return (
886886 func (ctx context.Context , txs [][]byte , maxBytes , maxGas uint64 , hasForceIncludedTransaction bool ) []execution.FilterStatus {
887887 gasFilterCallCount ++
0 commit comments