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
..
catalyst
eth/catalyst: only apply block if we actually have the state ( #24598 )
3 years ago
downloader
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
ethconfig
cmd/geth: rename --whitelist to --eth.requiredblocks ( #24505 )
3 years ago
fetcher
eth/fetcher: if peers never respond, drop them
3 years ago
filters
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
gasprice
graphql: fee history fields ( #24452 )
3 years ago
protocols
Merge pull request #24529 from holiman/fix_inf
3 years ago
tracers
eth/tracers: refactor traceTx to separate out struct logging ( #24326 )
3 years ago
api.go
eth: fix typo in comment ( #23941 )
3 years ago
api_backend.go
eth: clarify the error string on getlogs failure ( #24617 )
3 years ago
api_test.go
cmd/geth, eth, core: snapshot dump + unify with trie dump ( #22795 )
4 years ago
backend.go
cmd/geth: rename --whitelist to --eth.requiredblocks ( #24505 )
3 years ago
bloombits.go
eth: move eth.Config to a common package ( #22205 )
4 years ago
discovery.go
cmd/utils: use eth DNS tree for snap discovery ( #22808 )
4 years ago
handler.go
eth: change snapshot extension registration failure to warning instead of error ( #24475 )
3 years ago
handler_eth.go
core, eth, les, trie: remove the sync bloom, used by fast sync
3 years ago
handler_eth_test.go
core/types: faster RLP encoding of Header, StateAcccount, ReceiptForStorage ( #24420 )
3 years ago
handler_snap.go
eth: check snap satelliteness, delegate drop to eth ( #22235 )
4 years ago
handler_test.go
eth: request id dispatcher and direct req/reply APIs ( #23576 )
3 years ago
peer.go
eth: request id dispatcher and direct req/reply APIs ( #23576 )
3 years ago
peerset.go
eth/downloader: implement beacon sync ( #23982 )
3 years ago
state_accessor.go
all: core rework for the merge transition ( #23761 )
3 years ago
sync.go
core: eth: implement Kiln-v2 spec ( #24506 )
3 years ago
sync_test.go
eth: request id dispatcher and direct req/reply APIs ( #23576 )
3 years ago