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>
1 week ago
..
asm
core/vm, cmd/evm: implement eof validation ( #30418 )
4 months ago
bloombits
all: fix typos in comments ( #29873 )
8 months ago
forkid
all: remove TerminalTotalDifficultyPassed ( #30609 )
3 months ago
rawdb
core/rawdb: fix panic in freezer ( #30973 )
4 weeks ago
state
all: implement state history v2 ( #30107 )
2 weeks ago
stateless
beacon, core, eth, miner: integrate witnesses into production Geth ( #30069 )
4 months ago
tracing
core/tracing: document `OnCodeChange` now being called from SelfDestruct ( #31007 )
2 weeks ago
txpool
core/txpool: terminate subpool reset goroutine if pool was closed ( #31030 )
1 week ago
types
core/types: initialize ChainID in SetCodeTx copy method ( #31054 )
2 weeks ago
vm
cmd/evm: refactor handling output-files for `t8n` ( #30854 )
1 week ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
all: implement eip-7702 set code tx ( #30078 )
2 months ago
block_validator.go
core: switch EVM tx context in ApplyMessage ( #30809 )
2 months ago
block_validator_test.go
all: remove TerminalTotalDifficultyPassed ( #30609 )
3 months ago
blockchain.go
all: implement state history v2 ( #30107 )
2 weeks ago
blockchain_insert.go
all: remove forkchoicer and reorgNeeded ( #29179 )
5 months ago
blockchain_reader.go
core/state: introduce code reader interface ( #30816 )
2 months ago
blockchain_repair_test.go
core, eth, node: break rawdb -> {leveldb, pebble} dependency ( #30689 )
3 months ago
blockchain_sethead_test.go
core, eth, node: break rawdb -> {leveldb, pebble} dependency ( #30689 )
3 months ago
blockchain_snapshot_test.go
core, eth, node: break rawdb -> {leveldb, pebble} dependency ( #30689 )
3 months ago
blockchain_test.go
all: implement state history v2 ( #30107 )
2 weeks ago
bloom_indexer.go
core: preallocate batch size in bloomIndexer ( #25289 )
3 years ago
chain_indexer.go
core, eth, ethstats: simplify chain head events ( #30601 )
4 months ago
chain_indexer_test.go
all: improve some error strings ( #29842 )
8 months ago
chain_makers.go
all: implement state history v2 ( #30107 )
2 weeks ago
chain_makers_test.go
all: remove TerminalTotalDifficultyPassed ( #30609 )
3 months ago
dao_test.go
all: remove forkchoicer and reorgNeeded ( #29179 )
5 months ago
error.go
all: implement eip-7702 set code tx ( #30078 )
2 months ago
events.go
core, eth, ethstats: simplify chain head events ( #30601 )
4 months ago
evm.go
all: use big.Sign to compare with zero ( #29490 )
10 months ago
gaspool.go
core, miner: revert block gas counter in case of invalid transaction ( #26799 )
2 years ago
gen_genesis.go
core: go fmt ( #29544 )
10 months ago
genesis.go
all: implement state history v2 ( #30107 )
2 weeks ago
genesis_alloc.go
all: clean up goerli flag and config ( #30289 )
5 months ago
genesis_test.go
cmd, core, miner: rework genesis setup ( #30907 )
2 weeks ago
headerchain.go
all: remove forkchoicer and reorgNeeded ( #29179 )
5 months ago
headerchain_test.go
all: remove forkchoicer and reorgNeeded ( #29179 )
5 months ago
mkalloc.go
accounts, cmd/geth, core: close opened files ( #29598 )
9 months ago
rlp_test.go
core: move genesis alloc types to core/types ( #29003 )
12 months ago
sender_cacher.go
core: use sync.Once for SenderCacher initialization ( #31029 )
2 weeks ago
state_prefetcher.go
core: switch EVM tx context in ApplyMessage ( #30809 )
2 months ago
state_processor.go
core/tracing: extends tracing.Hooks with OnSystemCallStartV2 ( #30786 )
2 months ago
state_processor_test.go
core/types: updates for EIP-7702 API functions ( #30933 )
1 month ago
state_transition.go
core/types: change SetCodeTx.ChainID to uint256 ( #30982 )
2 weeks ago
stateless.go
cmd/evm: improve block/state test runner ( #30633 )
2 months ago
txindexer.go
core, eth, ethstats: simplify chain head events ( #30601 )
4 months ago
txindexer_test.go
core: use in-memory freezer for tests ( #29720 )
9 months ago
types.go
all: implement flat deposit requests encoding ( #30425 )
4 months ago
verkle_witness_test.go
cmd, core, miner: rework genesis setup ( #30907 )
2 weeks ago