aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-08-23 19:39:37 +0800
committerGitHub <noreply@github.com>2017-08-23 19:39:37 +0800
commit3c48a25762dfab9382791c33a2f5832466077ac3 (patch)
tree648c275563b46ba45e289774a40a0a761d16fc66 /internal
parent286ec5df40d3707a7a2c98d49c8d324372ed29c2 (diff)
parent4ee92f2d193225e70c190194d005a6ce80e70236 (diff)
downloadgo-tangerine-3c48a25762dfab9382791c33a2f5832466077ac3.tar
go-tangerine-3c48a25762dfab9382791c33a2f5832466077ac3.tar.gz
go-tangerine-3c48a25762dfab9382791c33a2f5832466077ac3.tar.bz2
go-tangerine-3c48a25762dfab9382791c33a2f5832466077ac3.tar.lz
go-tangerine-3c48a25762dfab9382791c33a2f5832466077ac3.tar.xz
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.go3
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
}