plugeth/core/vm
Felix Lange be12392fba 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
2017-11-28 21:05:49 +02:00
..
runtime
analysis_test.go core/vm: copyright header on test-file 2017-11-13 22:04:53 +01:00
analysis.go core/vm: improve bitvec comments 2017-09-10 21:04:36 +02:00
common.go core/vm: optimize copy-less data retrievals 2017-08-14 17:08:49 +03:00
contract.go
contracts_test.go consensus, core, params: rebrand Metro to Byzantium 2017-09-14 10:10:46 +03:00
contracts.go consensus, core, params: rebrand Metro to Byzantium 2017-09-14 10:10:46 +03:00
doc.go
errors.go core, tests: implement Metropolis EIP 684 2017-08-25 13:00:27 +03:00
evm.go core/vm: track 63/64 call gas off stack (#15563) 2017-11-28 21:05:49 +02:00
gas_table_test.go
gas_table.go core/vm: track 63/64 call gas off stack (#15563) 2017-11-28 21:05:49 +02:00
gas.go
gen_structlog.go
instructions_test.go
instructions.go core/vm: track 63/64 call gas off stack (#15563) 2017-11-28 21:05:49 +02:00
int_pool_verifier_empty.go
int_pool_verifier.go
interface.go
interpreter.go core/vm: track 63/64 call gas off stack (#15563) 2017-11-28 21:05:49 +02:00
intpool.go
jump_table.go core/vm: fix typos in jump_table.go 2017-11-14 17:57:37 +08:00
logger_test.go core/vm, internal/ethapi: tracer no full storage, nicer json output (#15499) 2017-11-16 18:53:18 +02:00
logger.go core/vm, internal/ethapi: tracer no full storage, nicer json output (#15499) 2017-11-16 18:53:18 +02:00
memory_table.go core/vm: rework reversion to work on a higher level 2017-08-17 16:50:35 +03:00
memory.go core/vm: polish RETURNDATA, add missing returns to CALL* 2017-08-16 13:43:14 +03:00
noop.go
opcodes.go core/vm: implement REVERT metropolis opcode 2017-08-16 15:32:59 +03:00
stack_table.go
stack.go
vm_jit_fake.go
vm_jit.go