go-ethereum/core/vm
maskpp 7745fd5840
Extract execution trace from EVM execution and provide subscription API (#19)
* Create go.yml

* Merge from zkrollup and fix conflict

* go mod tidy

* fix worker_test test case

* fix worker_test test case

* Delete go.yml

* add log content, enable memory trace

* add tracer pool handler

* Add comments and format code

* add evmTrace subscribe api

* Move the evmTrace struct.

* Fix miner bug.

* upgrade evmTrace api

* fix bug about evmTracesByHash api

* Fix the bug about block.timestamp and remove unnecessary copy.

* Update eth/filters/api.go

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>

* Upgrade comments.

* Delete useless code in test file

* Update miner/worker.go

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>

* Change the return result to BlockResult.

* Change return type.

* Change blockResult to blockResults.

* Add ReturnValue.

* Update core/rawdb/l2trace.go

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>

* Update core/rawdb/l2trace.go

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>

* Update core/types/l2trace.go

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>

* Add indent to the comment and rm json encoding flag.

* Rm json encoding flag.

* Update core/rawdb/l2trace.go

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>

* Rm json encoding flag.

* Update ethclient/ethclient.go

Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>

* Update eth/filters/api.go

Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>

* Use  as the blockResult prefix flag.

* Update eth/filters/filter_system.go

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>

* Update eth/filters/filter_system.go

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>

* Update ethclient/ethclient.go

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>

* Update eth/filters/api.go

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2022-01-23 20:41:15 +08:00
..
runtime Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
testdata core/vm, protocol_params: implement eip-2565 modexp repricing (#21607) 2020-11-13 13:39:59 +01:00
access_list_tracer.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
analysis.go core/vm: faster code analysis (#23381) 2021-08-24 10:00:10 +03:00
analysis_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
common.go Fix import fmt and run tests for given architecture (#18) 2022-01-12 19:45:06 -08:00
contract.go Fix import fmt and run tests for given architecture (#18) 2022-01-12 19:45:06 -08:00
contracts.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
contracts_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
doc.go core/vm: remove JIT VM codes (#16362) 2018-03-26 13:48:04 +03:00
eips.go Fix import fmt and run tests for given architecture (#18) 2022-01-12 19:45:06 -08:00
errors.go core/vm: implement EIP-2681: Limit account nonce to 2^64-1 (#23853) 2021-11-11 15:00:58 +01:00
evm.go Fix import fmt and run tests for given architecture (#18) 2022-01-12 19:45:06 -08:00
gas.go core/vm: use uint256 in EVM implementation (#20787) 2020-06-08 15:24:40 +03:00
gas_table.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
gas_table_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
gen_structlog.go Fix import fmt and run tests for given architecture (#18) 2022-01-12 19:45:06 -08:00
instructions.go Fix import fmt and run tests for given architecture (#18) 2022-01-12 19:45:06 -08:00
instructions_test.go Fix import fmt and run tests for given architecture (#18) 2022-01-12 19:45:06 -08:00
interface.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
interpreter.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
jump_table.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
logger.go Extract execution trace from EVM execution and provide subscription API (#19) 2022-01-23 20:41:15 +08:00
logger_json.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
logger_test.go Fix import fmt and run tests for given architecture (#18) 2022-01-12 19:45:06 -08:00
memory.go core/vm: use uint256 in EVM implementation (#20787) 2020-06-08 15:24:40 +03:00
memory_table.go core/vm: 64 bit memory and gas calculations (#19210) 2019-03-12 11:40:05 +02:00
opcodes.go core/vm: don't use iota for opcode definitions 2021-11-18 09:50:52 +01:00
operations_acl.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
stack.go core,eth: call frame tracing (#23087) 2021-09-17 09:31:22 +02:00
stack_table.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00