go-ethereum/core/vm
Martin Holst Swende b5fe81f093 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.
2024-11-01 11:36:52 +08:00
..
privacy Merge pull request #689 from gzliudan/fix-st1005 2024-10-25 15:28:07 +08:00
runtime core/vm: remove empty lines 2024-10-17 11:23:04 +08:00
testdata core/vm, protocol_params: implement eip-2565 modexp repricing (#21607) 2024-10-17 10:36:53 +08:00
access_list_tracer.go support for golang tracers + add golang callTracer (#558) 2024-08-06 00:14:04 -07:00
analysis.go core/vm: optimize jumpdest analysis (#23500) 2024-10-17 11:23:04 +08:00
analysis_test.go core/vm: reverse bit order in bytes of code bitmap (#24120) 2024-03-01 14:13:24 +08:00
common.go core/vm: use uint256 in EVM implementation (#20787) 2024-03-01 14:13:23 +08:00
contract.go core/vm: avoid map lookups for accessing jumpdest analysis (#21411) 2024-09-21 22:01:56 +08:00
contracts.go all: fix staticcheck warning ST1005: incorrectly formatted error string 2024-10-24 09:48:20 +08:00
contracts_test.go core/vm: update benchmark to use Errorf instead of Sprintf (#24845) 2024-10-17 11:23:04 +08:00
doc.go core/vm: remove JIT VM codes (#16362) 2018-03-26 13:48:04 +03:00
eips.go core/vm: surface some internal methods (#20958) 2024-08-30 12:50:04 +08:00
errors.go core/vm: implement EIP 3541 (#22809) 2024-08-26 11:59:28 +08:00
evm.go core/vm, protocol_params: implement eip-2565 modexp repricing (#21607) 2024-10-17 10:36:53 +08:00
gas.go core/vm: use uint256 in EVM implementation (#20787) 2024-03-01 14:13:23 +08:00
gas_table.go core/vm: remove redundant conversions (#21903) 2024-09-22 18:42:11 +08:00
gas_table_test.go all: split vm.Context into BlockContext and TxContext (#21672) 2024-09-21 22:18:10 +08:00
gen_structlog.go core/vm: marshall returnData as hexstring in trace logs (#21715) 2024-09-21 22:14:47 +08:00
instructions.go core/vm: minor trivial clean up (#25880) 2024-10-17 11:23:04 +08:00
instructions_test.go core/vm: remove empty lines 2024-10-17 11:23:04 +08:00
interface.go core/vm: fix docstrings 2024-10-17 11:23:04 +08:00
interpreter.go core/vm: deepcopy jumptable when enabling extra eips (#26137) 2024-10-17 11:23:04 +08:00
jump_table.go core/vm: deepcopy jumptable when enabling extra eips (#26137) 2024-10-17 11:23:04 +08:00
jump_table_test.go core/vm: deepcopy jumptable when enabling extra eips (#26137) 2024-10-17 11:23:04 +08:00
logger.go all: change format 0x%x to %#x (#25221) 2024-09-27 15:24:31 +08:00
logger_json.go support for golang tracers + add golang callTracer (#558) 2024-08-06 00:14:04 -07:00
logger_test.go all: split vm.Context into BlockContext and TxContext (#21672) 2024-09-21 22:18:10 +08:00
memory.go core/vm: optimize Memory.Set32 (#24847) 2024-03-01 14:13:24 +08:00
memory_table.go core/vm: rename SHA3 instruction to KECCAK256 (#23976) 2024-03-01 14:13:24 +08:00
opcodes.go eth/tracers/js: fix isPush for push0 (#28520) 2024-03-07 22:31:19 +08:00
operations_acl.go core/vm: make gas cost reporting to tracers correct (#22702) 2024-11-01 11:36:52 +08:00
stack.go core/vm: less allocations for various call variants (#21222) 2024-09-22 18:42:11 +08:00
stack_table.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
XDCx_price.go new EVM Upgrade 2021-09-21 16:53:46 +05:30