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.
Eng Zer Jun
8d066f1f42
all: use T.TempDir to create temporary test directories ( #24633 )
...
This commit replaces ioutil.TempDir with t.TempDir in tests. The
directory created by t.TempDir is automatically removed when the test
and all its subtests complete.
Prior to this commit, temporary directory created using ioutil.TempDir
had to be removed manually by calling os.RemoveAll, which is omitted in
some tests. The error handling boilerplate e.g.
defer func() {
if err := os.RemoveAll(dir); err != nil {
t.Fatal(err)
}
}
is also tedious, but t.TempDir handles this for us nicely.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
..
asm
core/asm: change order of items in stringtokenTypes ( #24153 )
3 years ago
beacon
core: eth: implement Kiln-v2 spec ( #24506 )
3 years ago
bloombits
all: fix some go-critic linter warnings ( #23709 )
3 years ago
forkid
eth/catalyst: implement kintsugi-spec v3 ( #24067 )
3 years ago
rawdb
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
state
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
types
trie, les, tests, core: implement trie tracer ( #24403 )
3 years ago
vm
core,eth: implement tx-level hooks for tracers ( #24510 )
3 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
block_validator.go
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
3 years ago
block_validator_test.go
all: core rework for the merge transition ( #23761 )
3 years ago
blockchain.go
eth/downloader: ignore zero size header batch for importing ( #24569 )
3 years ago
blockchain_insert.go
eth/downloader: implement beacon sync ( #23982 )
3 years ago
blockchain_reader.go
core, eth: improve delivery speed on header requests ( #23105 )
3 years ago
blockchain_repair_test.go
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
blockchain_sethead_test.go
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
blockchain_snapshot_test.go
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
blockchain_test.go
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
blocks.go
core: typos and comments improve
8 years ago
bloom_indexer.go
eth: move eth.Config to a common package ( #22205 )
4 years ago
chain_indexer.go
all: make logs a bit easier on the eye to digest ( #22665 )
4 years ago
chain_indexer_test.go
core: fix potential race in chainIndexerTest ( #22346 )
4 years ago
chain_makers.go
eth: request id dispatcher and direct req/reply APIs ( #23576 )
3 years ago
chain_makers_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
dao_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
3 years ago
error.go
core/vm: implement EIP-2681: Limit account nonce to 2^64-1 ( #23853 )
3 years ago
events.go
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
evm.go
core/evm: RANDOM opcode (EIP-4399) ( #24141 )
3 years ago
forkchoice.go
all: core rework for the merge transition ( #23761 )
3 years ago
gaspool.go
miner: avoid unnecessary work ( #15883 )
7 years ago
gen_genesis.go
core: change baseFee into baseFeePerGas in genesis json
3 years ago
gen_genesis_account.go
tests: update for London ( #22976 )
4 years ago
genesis.go
core: verify genesis extradata for clique ( #24470 )
3 years ago
genesis_alloc.go
core, params: add kiln flag ( #24548 )
3 years ago
genesis_test.go
core: store genesis allocation and recommit them if necessary ( #24460 )
3 years ago
headerchain.go
core, eth: improve delivery speed on header requests ( #23105 )
3 years ago
headerchain_test.go
all: core rework for the merge transition ( #23761 )
3 years ago
mkalloc.go
all: add go:build lines ( #23468 )
3 years ago
rlp_test.go
core: fix benchmark tests ( #23803 )
3 years ago
state_prefetcher.go
all: removed blockhash from statedb ( #23126 )
3 years ago
state_processor.go
all: removed blockhash from statedb ( #23126 )
3 years ago
state_processor_test.go
core/vm: implement EIP-2681: Limit account nonce to 2^64-1 ( #23853 )
3 years ago
state_transition.go
core,eth: implement tx-level hooks for tracers ( #24510 )
3 years ago
tx_cacher.go
Comment error ( #18303 )
6 years ago
tx_journal.go
core: transaction journal should not be executable ( #23090 )
3 years ago
tx_list.go
core: fixed stale comment in txlist ( #23825 )
3 years ago
tx_list_test.go
core: fix benchmark tests ( #23803 )
3 years ago
tx_noncer.go
core: more efficient nonce-update in txpool ( #22231 )
3 years ago
tx_pool.go
core: ignore basefee when comparing with pool gasprice in txpool ( #24080 )
3 years ago
tx_pool_test.go
core: more efficient nonce-update in txpool ( #22231 )
3 years ago
types.go
core: prefetch next block state concurrently
6 years ago