diff --git a/eth/tracers/api_test.go b/eth/tracers/api_test.go index b3e731c70c..cedfe98683 100644 --- a/eth/tracers/api_test.go +++ b/eth/tracers/api_test.go @@ -431,7 +431,7 @@ func TestTracingWithOverrides(t *testing.T) { // Transfer from account[0] to account[1] // value: 1000 wei // fee: 0 wei - tx, _ := types.SignTx(types.NewTransaction(uint64(i), accounts[1].addr, big.NewInt(1000), params.TxGas, b.BaseFee(), nil), signer, accounts[0].key) + tx, _ := types.SignTx(types.NewTransaction(uint64(i), accounts[1].addr, big.NewInt(1000), params.TxGas, big.NewInt(0), nil), signer, accounts[0].key) b.AddTx(tx) })) randomAccounts := newAccounts(3) @@ -442,7 +442,7 @@ func TestTracingWithOverrides(t *testing.T) { } var testSuite = []struct { blockNumber rpc.BlockNumber - call ethapi.TransactionArgs + call ethapi.CallArgs config *TraceCallConfig expectErr error want string @@ -450,7 +450,7 @@ func TestTracingWithOverrides(t *testing.T) { // Call which can only succeed if state is state overridden { blockNumber: rpc.PendingBlockNumber, - call: ethapi.TransactionArgs{ + call: ethapi.CallArgs{ From: &randomAccounts[0].addr, To: &randomAccounts[1].addr, Value: (*hexutil.Big)(big.NewInt(1000)), @@ -465,7 +465,7 @@ func TestTracingWithOverrides(t *testing.T) { // Invalid call without state overriding { blockNumber: rpc.PendingBlockNumber, - call: ethapi.TransactionArgs{ + call: ethapi.CallArgs{ From: &randomAccounts[0].addr, To: &randomAccounts[1].addr, Value: (*hexutil.Big)(big.NewInt(1000)), @@ -491,7 +491,7 @@ func TestTracingWithOverrides(t *testing.T) { // } { blockNumber: rpc.PendingBlockNumber, - call: ethapi.TransactionArgs{ + call: ethapi.CallArgs{ From: &randomAccounts[0].addr, To: &randomAccounts[2].addr, Data: newRPCBytes(common.Hex2Bytes("8381f58a")), // call number()