aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi
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 /accounts/abi
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 'accounts/abi')
-rw-r--r--accounts/abi/bind/backends/simulated.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go
index e0ee06a0a..88fb3331e 100644
--- a/accounts/abi/bind/backends/simulated.go
+++ b/accounts/abi/bind/backends/simulated.go
@@ -253,7 +253,8 @@ func (b *SimulatedBackend) callContract(ctx context.Context, call ethereum.CallM
// about the transaction and calling mechanisms.
vmenv := vm.NewEVM(evmContext, statedb, b.config, vm.Config{})
gaspool := new(core.GasPool).AddGas(math.MaxBig256)
- ret, gasUsed, _, err := core.NewStateTransition(vmenv, msg, gaspool).TransitionDb()
+ // TODO utilize returned failed flag to help gas estimation.
+ ret, gasUsed, _, _, err := core.NewStateTransition(vmenv, msg, gaspool).TransitionDb()
return ret, gasUsed, err
}