Skip to content

Commit ac7ad81

Browse files
authored
internal/ethapi: fix build regression (#25555)
1 parent 0865880 commit ac7ad81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/ethapi/transaction_args_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,9 @@ func (b *backendMock) PendingBlockAndReceipts() (*types.Block, types.Receipts) {
298298
func (b *backendMock) GetReceipts(ctx context.Context, hash common.Hash) (types.Receipts, error) {
299299
return nil, nil
300300
}
301+
func (b *backendMock) GetLogs(ctx context.Context, blockHash common.Hash, number uint64) ([][]*types.Log, error) {
302+
return nil, nil
303+
}
301304
func (b *backendMock) GetTd(ctx context.Context, hash common.Hash) *big.Int { return nil }
302305
func (b *backendMock) GetEVM(ctx context.Context, msg core.Message, state *state.StateDB, header *types.Header, vmConfig *vm.Config) (*vm.EVM, func() error, error) {
303306
return nil, nil, nil
@@ -325,11 +328,8 @@ func (b *backendMock) TxPoolContent() (map[common.Address]types.Transactions, ma
325328
func (b *backendMock) TxPoolContentFrom(addr common.Address) (types.Transactions, types.Transactions) {
326329
return nil, nil
327330
}
328-
func (b *backendMock) SubscribeNewTxsEvent(chan<- core.NewTxsEvent) event.Subscription { return nil }
329-
func (b *backendMock) BloomStatus() (uint64, uint64) { return 0, 0 }
330-
func (b *backendMock) GetLogs(ctx context.Context, blockHash common.Hash) ([][]*types.Log, error) {
331-
return nil, nil
332-
}
331+
func (b *backendMock) SubscribeNewTxsEvent(chan<- core.NewTxsEvent) event.Subscription { return nil }
332+
func (b *backendMock) BloomStatus() (uint64, uint64) { return 0, 0 }
333333
func (b *backendMock) ServiceFilter(ctx context.Context, session *bloombits.MatcherSession) {}
334334
func (b *backendMock) SubscribeLogsEvent(ch chan<- []*types.Log) event.Subscription { return nil }
335335
func (b *backendMock) SubscribePendingLogsEvent(ch chan<- []*types.Log) event.Subscription {

0 commit comments

Comments
 (0)