diff options
author | rjl493456442 <garyrong0905@gmail.com> | 2017-08-21 08:47:15 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-08-22 23:35:17 +0800 |
commit | 28aea46ac08579f3ecd1c35620915b8e1bfcc8b0 (patch) | |
tree | a2d00f77c624c5c255af1d05873eb3c5b0f17591 /internal | |
parent | 2fd5ba6bd41380cf0e21d3ec0ca4bbc4aa7b6c34 (diff) | |
download | go-tangerine-28aea46ac08579f3ecd1c35620915b8e1bfcc8b0.tar go-tangerine-28aea46ac08579f3ecd1c35620915b8e1bfcc8b0.tar.gz go-tangerine-28aea46ac08579f3ecd1c35620915b8e1bfcc8b0.tar.bz2 go-tangerine-28aea46ac08579f3ecd1c35620915b8e1bfcc8b0.tar.lz go-tangerine-28aea46ac08579f3ecd1c35620915b8e1bfcc8b0.tar.xz go-tangerine-28aea46ac08579f3ecd1c35620915b8e1bfcc8b0.tar.zst go-tangerine-28aea46ac08579f3ecd1c35620915b8e1bfcc8b0.zip |
core: implement Metropolis EIP 658, receipt status byte
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 } |