diff options
author | Felix Lange <fjl@users.noreply.github.com> | 2017-11-29 03:05:49 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-11-29 03:05:49 +0800 |
commit | be12392fbad9f4a861130a347e6bcf07a5c34974 (patch) | |
tree | 266aa5788b2dd154509a5de7eecdf24db0c95fc6 /cmd | |
parent | 8f35e3086cbea24839c5435b1cebe85a438b42d3 (diff) | |
download | dexon-be12392fbad9f4a861130a347e6bcf07a5c34974.tar.gz dexon-be12392fbad9f4a861130a347e6bcf07a5c34974.tar.zst dexon-be12392fbad9f4a861130a347e6bcf07a5c34974.zip |
core/vm: track 63/64 call gas off stack (#15563)
* core/vm: track 63/64 call gas off stack
Gas calculations in gasCall* relayed the available gas for calls by
replacing it on the stack. This lead to inconsistent traces, which we
papered over by copying the pre-execution stack in trace mode.
This change relays available gas using a temporary variable, off the
stack, and allows removing the weird copy.
* core/vm: remove stackCopy
* core/vm: pop call gas into pool
* core/vm: to -> addr
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions