plugeth/core/vm
Martin Holst Swende 65a1c2d829
core/vm: make gas cost reporting to tracers correct (#22702)
Previously, the makeCallVariantGasCallEIP2929 charged the cold account access cost directly, leading to an incorrect gas cost passed to the tracer from the main execution loop.
This change still temporarily charges the cost (to allow for an accurate calculation of the available gas for the call), but then afterwards refunds it and instead returns the correct total gas cost to be then properly charged in the main loop.
2021-04-27 13:21:41 +02:00
..
runtime core/vm: make gas cost reporting to tracers correct (#22702) 2021-04-27 13:21:41 +02:00
testdata core/vm, protocol_params: implement eip-2565 modexp repricing (#21607) 2020-11-13 13:39:59 +01:00
access_list_tracer.go core, eth, internal/ethapi: create access list RPC API (#22550) 2021-04-07 17:54:31 +03:00
analysis_test.go core/vm: faster create/create2 (#17806) 2018-10-04 18:15:37 +03:00
analysis.go core/vm: faster create/create2 (#17806) 2018-10-04 18:15:37 +03:00
common.go core/vm: use uint256 in EVM implementation (#20787) 2020-06-08 15:24:40 +03:00
contract.go core, eth: unship EIP 2315 2021-03-02 23:40:57 +02:00
contracts_test.go core/vm, protocol_params: implement eip-2565 modexp repricing (#21607) 2020-11-13 13:39:59 +01:00
contracts.go core, eth, internal/ethapi: create access list RPC API (#22550) 2021-04-07 17:54:31 +03:00
doc.go core/vm: remove JIT VM codes (#16362) 2018-03-26 13:48:04 +03:00
eips.go eth/tracers, core: use scopecontext in tracers, provide statedb in capturestart (#22333) 2021-03-25 10:13:14 +01:00
errors.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-02 13:30:16 +03:00
evm.go core, eth, internal/ethapi: create access list RPC API (#22550) 2021-04-07 17:54:31 +03:00
gas_table_test.go core, all: split vm.Context into BlockContext and TxContext (#21672) 2020-11-13 13:42:19 +01:00
gas_table.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
gas.go core/vm: use uint256 in EVM implementation (#20787) 2020-06-08 15:24:40 +03:00
gen_structlog.go core, eth: unship EIP 2315 2021-03-02 23:40:57 +02:00
instructions_test.go eth/tracers, core: use scopecontext in tracers, provide statedb in capturestart (#22333) 2021-03-25 10:13:14 +01:00
instructions.go eth/tracers, core: use scopecontext in tracers, provide statedb in capturestart (#22333) 2021-03-25 10:13:14 +01:00
interface.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
interpreter.go eth/tracers, core: use scopecontext in tracers, provide statedb in capturestart (#22333) 2021-03-25 10:13:14 +01:00
jump_table.go eth/tracers, core: use scopecontext in tracers, provide statedb in capturestart (#22333) 2021-03-25 10:13:14 +01:00
logger_json.go eth/tracers, core: use scopecontext in tracers, provide statedb in capturestart (#22333) 2021-03-25 10:13:14 +01:00
logger_test.go eth/tracers, core: use scopecontext in tracers, provide statedb in capturestart (#22333) 2021-03-25 10:13:14 +01:00
logger.go eth/tracers, core: use scopecontext in tracers, provide statedb in capturestart (#22333) 2021-03-25 10:13:14 +01:00
memory_table.go core/vm: 64 bit memory and gas calculations (#19210) 2019-03-12 11:40:05 +02:00
memory.go core/vm: use uint256 in EVM implementation (#20787) 2020-06-08 15:24:40 +03:00
opcodes.go core, eth: unship EIP 2315 2021-03-02 23:40:57 +02:00
operations_acl.go core/vm: make gas cost reporting to tracers correct (#22702) 2021-04-27 13:21:41 +02:00
stack_table.go core/vm: 64 bit memory and gas calculations (#19210) 2019-03-12 11:40:05 +02:00
stack.go core, eth: unship EIP 2315 2021-03-02 23:40:57 +02:00