go-ethereum/core/vm
Arran Schlosberg 710c3f32ac
vm: simplify error handling in vm.EVM.create() (#30292)
To allow all error paths in `vm.EVM.create()` to consume the necessary
gas, there is currently a pattern of gating code on `if err == nil`
instead of returning as soon as the error occurs. The same behaviour can
be achieved by abstracting the gated code into a method that returns
immediately on error, improving readability and thus making it easier to
understand and maintain.
2024-08-16 08:41:44 -06:00
..
runtime core/vm: improved stack swap performance (#30249) 2024-08-06 14:38:47 +02:00
testdata core/vm: update gascosts for BLS12-381 + use gnark instead of kilic (#29441) 2024-04-16 10:53:43 +02:00
analysis_test.go all: use min/max/clear from go1.21 (#29307) 2024-03-21 13:50:13 +01:00
analysis.go core/vm: clarify comment (#27045) 2023-04-04 02:59:40 -04:00
common.go cmd, core, params, trie: add verkle access witness gas charging (#29338) 2024-05-10 20:13:11 +02:00
contract.go cmd, core, params, trie: add verkle access witness gas charging (#29338) 2024-05-10 20:13:11 +02:00
contracts_fuzz_test.go eth/tracers: live chain tracing with hooks (#29189) 2024-03-22 18:53:53 +01:00
contracts_test.go core/vm: add KZG benchmark (#29583) 2024-04-19 13:46:43 +02:00
contracts.go all: replace division with right shift if possible (#29911) 2024-06-28 18:08:31 +02:00
doc.go core/vm: remove JIT VM codes (#16362) 2018-03-26 13:48:04 +03:00
eips.go cmd, core, params, trie: add verkle access witness gas charging (#29338) 2024-05-10 20:13:11 +02:00
errors.go core/vm: better error-info for vm errors (#29354) 2024-04-06 12:22:55 +02:00
evm.go vm: simplify error handling in vm.EVM.create() (#30292) 2024-08-16 08:41:44 -06:00
gas_table_test.go core/vm: better error-info for vm errors (#29354) 2024-04-06 12:22:55 +02:00
gas_table.go cmd, core, params, trie: add verkle access witness gas charging (#29338) 2024-05-10 20:13:11 +02:00
gas.go core/vm: use uint256 in EVM implementation (#20787) 2020-06-08 15:24:40 +03:00
instructions_test.go core, beacon, ethdb: fix typos (#29748) 2024-05-10 19:48:14 +02:00
instructions.go core/vm: use uint64 in memory for indices everywhere (#30252) 2024-08-08 11:27:38 +03:00
interface.go all: stateless witness builder and (self-)cross validator (#29719) 2024-06-25 14:48:08 +03:00
interpreter_test.go all: use uint256 in state (#28598) 2024-01-23 14:51:58 +01:00
interpreter.go cmd, core: prefetch reads too from tries if requested (#29807) 2024-06-11 11:10:07 +03:00
jump_table_export.go core: fix typos (#28255) 2023-10-10 10:22:03 +02:00
jump_table_test.go all: fix typos in comments (#28881) 2024-02-05 22:16:32 +01:00
jump_table.go core/vm: improved stack swap performance (#30249) 2024-08-06 14:38:47 +02:00
memory_table.go core/vm: implement EIP-5656, mcopy instruction (#26181) 2023-07-11 03:55:34 -04:00
memory_test.go core/vm: implement EIP-5656, mcopy instruction (#26181) 2023-07-11 03:55:34 -04:00
memory.go core/vm: use uint64 in memory for indices everywhere (#30252) 2024-08-08 11:27:38 +03:00
opcodes.go eth/tracers/js: fix isPush for push0 (#28520) 2023-11-14 13:14:38 +01:00
operations_acl.go eth/tracers: live chain tracing with hooks (#29189) 2024-03-22 18:53:53 +01:00
operations_verkle.go cmd, core, params, trie: add verkle access witness gas charging (#29338) 2024-05-10 20:13:11 +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/vm: improved stack swap performance (#30249) 2024-08-06 14:38:47 +02:00