erigon-pulse/core/vm
Greg Colvin 57e88afcd4 core/vm: EIP-2315, JUMPSUB for the EVM (#20619)
* core/vm: implement EIP 2315, subroutines for the EVM

* core/vm: eip 2315 - lintfix + check jump dest validity + check ret stack size constraints

  logger: markdown-friendly traces, validate jumpdest, more testcase, correct opcodes

* core/vm: update subroutines acc to eip: disallow walk-into

* core/vm/eips: gas cost changes for subroutines

* core/vm: update opcodes for EIP-2315

* core/vm: define RETURNSUB as a 'jumping' operation + review concerns

Co-authored-by: Martin Holst Swende <martin@swende.se>
# Conflicts:
#	core/vm/contract.go
#	core/vm/instructions_test.go
#	core/vm/interpreter.go
#	core/vm/logger.go
#	core/vm/logger_json.go
#	core/vm/logger_test.go
#	core/vm/runtime/runtime_test.go
#	eth/tracers/tracer.go
2020-06-15 19:38:13 +03:00
..
runtime core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
stack core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
testdata core/vm: instruction tests (#16327) 2019-04-04 11:19:38 +02:00
analysis_test.go optimize codeBitmap (#626) 2020-06-06 21:49:06 +01:00
analysis.go optimize codeBitmap (#626) 2020-06-06 21:49:06 +01:00
common.go Use uint256 in EVM implementation (kudos to Pawel Bylica) (#551) 2020-05-18 08:10:59 +01:00
contract.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
contracts_test.go optimize codeBitmap (#626) 2020-06-06 21:49:06 +01:00
contracts.go all: fix typos in comments (#21118) 2020-06-15 19:38:13 +03:00
doc.go core/vm: remove JIT VM codes (#16362) 2018-03-26 13:48:04 +03:00
eips.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
errors.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
evm.go optimize codeBitmap (#626) 2020-06-06 21:49:06 +01:00
evmc.go Use uint256 for account balance (#580) 2020-05-26 17:53:50 +01:00
gas_table_test.go optimize codeBitmap (#626) 2020-06-06 21:49:06 +01:00
gas_table.go stack pool (#627) 2020-06-05 17:45:56 +03:00
gas.go all: fix typos in comments (#21118) 2020-06-15 19:38:13 +03:00
gen_structlog.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
instructions_test.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
instructions.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
interface.go Use uint256 for account balance (#580) 2020-05-26 17:53:50 +01:00
interpreter.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
jump_table.go stack pool (#627) 2020-06-05 17:45:56 +03:00
logger_json.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
logger_test.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
logger.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
memory_table.go stack pool (#627) 2020-06-05 17:45:56 +03:00
memory.go Use uint256 in EVM implementation (kudos to Pawel Bylica) (#551) 2020-05-18 08:10:59 +01:00
opcodes.go core/vm: EIP-2315, JUMPSUB for the EVM (#20619) 2020-06-15 19:38:13 +03:00
stack_table.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00