mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
Update api_test.go
This commit is contained in:
parent
243407a3aa
commit
fc5a89b941
1 changed files with 2 additions and 2 deletions
|
|
@ -785,7 +785,7 @@ func TestEstimateGas(t *testing.T) {
|
|||
blockNumber: rpc.LatestBlockNumber,
|
||||
call: TransactionArgs{},
|
||||
overrides: override.StateOverride{
|
||||
randomAccounts[0].addr: override.OverrideAccount{Balance: newRPCBalance(new(big.Int).Mul(big.NewInt(1), big.NewInt(params.Ether)))},
|
||||
randomAccounts[0].addr: override.OverrideAccount{Balance: newRPCBalance(big.NewInt(params.Ether))},
|
||||
},
|
||||
expectErr: nil,
|
||||
want: 53000,
|
||||
|
|
@ -1091,7 +1091,7 @@ func TestCall(t *testing.T) {
|
|||
Value: (*hexutil.Big)(big.NewInt(1000)),
|
||||
},
|
||||
overrides: override.StateOverride{
|
||||
randomAccounts[0].addr: override.OverrideAccount{Balance: newRPCBalance(new(big.Int).Mul(big.NewInt(1), big.NewInt(params.Ether)))},
|
||||
randomAccounts[0].addr: override.OverrideAccount{Balance: newRPCBalance(big.NewInt(params.Ether))},
|
||||
},
|
||||
want: "0x",
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue