Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin HS
2bf4a8ff73
cmd/evm: refactor handling output-files for `t8n` ( #30854 )
...
As part of trying to make the inputs and outputs of the evm subcommands
more streamlined and aligned, this PR modifies how `evm t8n` manages
output-files.
Previously, we do a kind of wonky thing where between each transaction,
we invoke a `getTracer` closure. In that closure, we create a new
output-file, a tracer, and then make the tracer stream output to the
file. We also fiddle a bit to ensure that the file becomes properly
closed.
It is a kind of hacky solution we have in place. This PR changes it, so
that from the execution-pipeline point of view, we have just a regular
tracer. No fiddling with re-setting it or closing files.
That particular tracer, however, is a bit special: it takes care of
creating new files per transaction (in the tx-start-hook) and closing
(on tx-end-hook). Also instantiating the right type of underlying
tracer, which can be a json-logger or a custom tracer.
---------
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2 weeks ago
..
program
all: fix some typos in comments and names ( #31023 )
3 weeks ago
runtime
all: implement eip-7702 set code tx ( #30078 )
2 months ago
testdata
core/vm: more benchmarks for bls g1/g2-multiexp precompiles ( #30459 )
5 months ago
analysis_eof.go
core/vm, cmd/evm: implement eof validation ( #30418 )
4 months ago
analysis_legacy.go
core/vm, cmd/evm: implement eof validation ( #30418 )
4 months ago
analysis_legacy_test.go
core/vm, cmd/evm: implement eof validation ( #30418 )
4 months ago
common.go
all: get rid of custom MaxUint64 and MaxUint64 ( #30636 )
4 months ago
contract.go
cmd, core, params, trie: add verkle access witness gas charging ( #29338 )
9 months ago
contracts.go
common: drop BigMin and BigMax, they pollute our dep graph ( #30645 )
4 months ago
contracts_fuzz_test.go
eth/tracers: live chain tracing with hooks ( #29189 )
11 months ago
contracts_test.go
core/vm: add KZG benchmark ( #29583 )
10 months ago
doc.go
core/vm: remove JIT VM codes ( #16362 )
7 years ago
eips.go
all: implement eip-7702 set code tx ( #30078 )
2 months ago
eof.go
all: typos in comments ( #30779 )
3 months ago
eof_control_flow.go
core/vm, cmd/evm: implement eof validation ( #30418 )
4 months ago
eof_immediates.go
core/vm, cmd/evm: implement eof validation ( #30418 )
4 months ago
eof_instructions.go
core/vm, cmd/evm: implement eof validation ( #30418 )
4 months ago
eof_test.go
core/vm: remove debug printout in eof test ( #30665 )
4 months ago
eof_validation.go
all: fix some typos in comments and names ( #31023 )
3 weeks ago
eof_validation_test.go
all: implement eip-7702 set code tx ( #30078 )
2 months ago
errors.go
build: update to golangci-lint 1.61.0 ( #30587 )
4 months ago
evm.go
cmd/evm: refactor handling output-files for `t8n` ( #30854 )
2 weeks ago
gas.go
core/vm, cmd/evm: implement eof validation ( #30418 )
4 months ago
gas_table.go
core/vm, cmd/evm: implement eof validation ( #30418 )
4 months ago
gas_table_test.go
core, eth, internal, cmd: rework EVM constructor ( #30745 )
3 months ago
instructions.go
core/vm: remove unnecessary comment ( #30887 )
2 months ago
instructions_test.go
core, eth, internal, cmd: rework EVM constructor ( #30745 )
3 months ago
interface.go
all: implement eip-7702 set code tx ( #30078 )
2 months ago
interpreter.go
all: implement eip-7702 set code tx ( #30078 )
2 months ago
interpreter_test.go
core, eth, internal, cmd: rework EVM constructor ( #30745 )
3 months ago
jump_table.go
all: implement eip-7702 set code tx ( #30078 )
2 months ago
jump_table_export.go
core: fix typos ( #28255 )
1 year ago
jump_table_test.go
all: fix typos in comments ( #28881 )
1 year ago
memory.go
core/vm, go.mod: update uint256 and use faster method to write to memory ( #30868 )
2 months ago
memory_table.go
core/vm, cmd/evm: implement eof validation ( #30418 )
4 months ago
memory_test.go
core/vm: implement EIP-5656, mcopy instruction ( #26181 )
2 years ago
opcodes.go
core/vm: make all opcodes proper type ( #30925 )
2 months ago
operations_acl.go
all: implement eip-7702 set code tx ( #30078 )
2 months ago
operations_verkle.go
all: get rid of custom MaxUint64 and MaxUint64 ( #30636 )
4 months ago
stack.go
core/vm: improved stack swap performance ( #30249 )
6 months ago
stack_table.go
core/vm: 64 bit memory and gas calculations ( #19210 )
6 years ago