diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-08-23 19:39:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-23 19:39:37 +0800 |
commit | 3c48a25762dfab9382791c33a2f5832466077ac3 (patch) | |
tree | 648c275563b46ba45e289774a40a0a761d16fc66 /internal | |
parent | 286ec5df40d3707a7a2c98d49c8d324372ed29c2 (diff) | |
parent | 4ee92f2d193225e70c190194d005a6ce80e70236 (diff) | |
download | go-tangerine-3c48a25762dfab9382791c33a2f5832466077ac3.tar.gz go-tangerine-3c48a25762dfab9382791c33a2f5832466077ac3.tar.zst go-tangerine-3c48a25762dfab9382791c33a2f5832466077ac3.zip |
Merge pull request #15014 from rjl493456442/metropolis-eip658
core: add status as a consensus field in receipt
Diffstat (limited to 'internal')
-rw-r--r-- | internal/ethapi/api.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index c3924b93a..30710aaab 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -635,7 +635,8 @@ func (s *PublicBlockChainAPI) doCall(ctx context.Context, args CallArgs, blockNr // Setup the gas pool (also for unmetered requests) // and apply the message. gp := new(core.GasPool).AddGas(math.MaxBig256) - res, gas, err := core.ApplyMessage(evm, msg, gp) + // TODO utilize failed flag to help gas estimation + res, gas, _, err := core.ApplyMessage(evm, msg, gp) if err := vmError(); err != nil { return nil, common.Big0, err } |