Skip to content

internal/ethapi/transaction_args_test.go

Type MOD
Upstream Lines 413
Changed +3 -0

Adapt transaction-args tests for the IsLondon→IsEIP1559 rename

diff --git a/internal/ethapi/transaction_args_test.go b/internal/ethapi/transaction_args_test.go
index 30791f32b..4e0dbf5ea 100644
--- a/internal/ethapi/transaction_args_test.go
+++ b/internal/ethapi/transaction_args_test.go
@@ -369,6 +369,9 @@ func (b *backendMock) Pending() (*types.Block, types.Receipts, *state.StateDB) {
 func (b *backendMock) GetReceipts(ctx context.Context, hash common.Hash) (types.Receipts, error) {
    return nil, nil
 }
+func (b *backendMock) GetTd(ctx context.Context, hash common.Hash) *big.Int {
+   return nil
+}
 func (b *backendMock) GetCanonicalReceipt(tx *types.Transaction, blockHash common.Hash, blockNumber, blockIndex uint64) (*types.Receipt, error) {
    return nil, nil
 }

← Back to RPC & API