erigon-pulse/core/vm
sudeep e13a318e0b
evm t8n to use ExecuteBlockEphemerally api (#4642)
* evm t8n tool to use ExecuteBlockEphemerally api (#4512)

* fix to set V, R, S in legacy transaction

* fix to dump post-execution alloc for evm t8n

* close tx in evm t8n

* populate current difficulty and gas used in output result

- update the ExecutionResult to include corresponding info (like
  Difficulty/GasUsed)

* initial attempt at migrating 'evm t8n' to use ExecuteBlockEphemerally

* using ExecutionResult in ExecuteBlockEphemerally

* bypass validations and integrate with EphemeralExecResult

* fixing output of 'evm t8n'

- remaining bits are "stateRoot" in results.txt and "balance" field for one account in
  alloc.txt (for testdata=1)

* get ExecuteBlockEphemerally to accept getTracer lambda

* fix build failure

* test cases for evm t8n

* more test cases for evm t8n

* fix stateRoot computation in evm t8n

* remove reward argument, as EBE itself takes care of it

* final cleanups for migration to using ExecuteBlockEphemerally

* change EBEforBSC to match EBE

* fix linter issues

* manually revert an unwanted diff

* avoid calculating ReceiptHash twice

* linter check

* minor correction

* remove unnecessary logic in EBEforBsc

* fix integration tests

* fix build
2022-07-07 12:47:00 +01:00
..
lightclient Remove dependency on leveldb (#4213) 2022-05-20 11:24:28 +07:00
runtime Gray Glacier bomb delay (#4443) 2022-06-14 10:48:40 +01:00
stack geth 1.9.18 post-rebase fixups 2020-08-08 17:33:35 +02:00
testdata core/vm, protocol_params: implement eip-2565 modexp repricing (#21607) 2021-03-08 11:44:39 +01:00
absint_cfg_proof_check.go up version of uint256 lib (#2082) 2021-06-04 17:25:28 +01:00
absint_cfg_proof_gen.go remove one more logger (#3360) 2022-01-27 13:31:53 +07:00
absint_cfg.go Replace ioutil with io and os (#3946) 2022-04-23 15:43:00 +01:00
access_list_tracer.go change: port js tracer changes (#3128) 2021-12-15 13:19:58 +00:00
analysis_test.go Tevm stage 1 (#1845) 2021-05-27 14:54:55 +01:00
analysis.go Snapshot sync headers stage (#1836) 2021-05-08 09:45:40 +01:00
common.go rename (#1978) 2021-05-20 19:25:53 +01:00
contract.go Tevm stage 1 (#1845) 2021-05-27 14:54:55 +01:00
contracts_lightclient_test.go Full BSC support with validator mode (#3233) 2022-01-14 19:06:35 +00:00
contracts_lightclient.go Full BSC support with validator mode (#3233) 2022-01-14 19:06:35 +00:00
contracts_test.go up linter version (#4108) 2022-05-10 10:14:09 +07:00
contracts.go Add rules to AsMessage to vet transaction types (#4276) 2022-05-26 18:20:34 +02:00
cvm_adapter.go Add rules to AsMessage to vet transaction types (#4276) 2022-05-26 18:20:34 +02:00
cvm_test.go Starknet getcode (#3038) 2021-12-06 14:58:53 +00:00
cvm.go fix starknet tx hashing to work with txpool v2 (#3283) 2022-01-18 11:20:35 +01:00
doc.go core/vm: remove JIT VM codes (#16362) 2018-03-26 13:48:04 +03:00
eips.go No need for ApplyBinanceSmartChainEIPs (#3282) 2022-01-18 13:43:21 +00:00
errors.go Update consensus tests to 10.2. EIP-2681 (#3103) 2021-12-07 18:24:59 +01:00
evm_test.go Keep readonly value while changing interpreters back and forth (#2508) 2021-08-10 09:48:56 +07:00
evm.go Add rules to AsMessage to vet transaction types (#4276) 2022-05-26 18:20:34 +02:00
gas_table_test.go Starknet getcode (#3038) 2021-12-06 14:58:53 +00:00
gas_table.go TangerineWhistle instead of EIP150 & SpuriousDragon instead of EIP155/158 (#4273) 2022-05-26 12:08:59 +02:00
gas.go all: fix typos in comments (#21118) 2020-06-15 19:38:13 +03:00
gen_structlog.go rename (#1978) 2021-05-20 19:25:53 +01:00
instructions_test.go Replace ioutil with io and os (#3946) 2022-04-23 15:43:00 +01:00
instructions.go Fix operation order during tracing suicide op code (#4409) 2022-06-08 21:56:20 +01:00
interface.go Add rules to AsMessage to vet transaction types (#4276) 2022-05-26 18:20:34 +02:00
interpreter.go TangerineWhistle instead of EIP150 & SpuriousDragon instead of EIP155/158 (#4273) 2022-05-26 12:08:59 +02:00
jump_table.go TangerineWhistle instead of EIP150 & SpuriousDragon instead of EIP155/158 (#4273) 2022-05-26 12:08:59 +02:00
logger_json.go change: port js tracer changes (#3128) 2021-12-15 13:19:58 +00:00
logger_test.go change: port js tracer changes (#3128) 2021-12-15 13:19:58 +00:00
logger.go evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
memory_table.go rename (#1978) 2021-05-20 19:25:53 +01:00
memory.go Adding support for vmTrace into trace_ routines (#2497) 2021-08-08 13:28:03 +01:00
mock_vm.go Keep readonly value while changing interpreters back and forth (#2508) 2021-08-10 09:48:56 +07:00
opcodes.go Aleut support (Eip1559) (#1704) 2021-04-22 18:11:37 +01:00
operations_acl.go Starknet getcode (#3038) 2021-12-06 14:58:53 +00:00
stack_table.go rename (#1978) 2021-05-20 19:25:53 +01:00
tevm_interpreter.go Keep readonly value while changing interpreters back and forth (#2508) 2021-08-10 09:48:56 +07:00