go-ethereum/tests
Martin Holst Swende a907d7e81a
all: more linters (#24783)
This enables the following linters

- typecheck
- unused
- staticcheck
- bidichk
- durationcheck
- exportloopref
- gosec

WIth a few exceptions.

- We use a deprecated protobuf in trezor. I didn't want to mess with that, since I cannot meaningfully test any changes there.
- The deprecated TypeMux is used in a few places still, so the warning for it is silenced for now.
- Using string type in context.WithValue is apparently wrong, one should use a custom type, to prevent collisions between different places in the hierarchy of callers. That should be fixed at some point, but may require some attention.
- The warnings for using weak random generator are squashed, since we use a lot of random without need for cryptographic guarantees.
2022-06-13 16:24:45 +02:00
..
evm-benchmarks@849b3e239a tests: external evm benchmarks (#24050) 2022-01-28 08:47:19 +01:00
fuzzers all: more linters (#24783) 2022-06-13 16:24:45 +02:00
solidity all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
testdata@a380655e5f core, eth, internal, rpc: implement final block (#24282) 2022-05-18 17:30:42 +03:00
block_test_util.go build: add imports for go generate tools (#24682) 2022-04-12 20:24:02 +02:00
block_test.go tests: update for London (#22976) 2021-06-07 14:37:56 +02:00
difficulty_test_util.go build: add imports for go generate tools (#24682) 2022-04-12 20:24:02 +02:00
difficulty_test.go cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) (#23810) 2021-10-28 22:18:14 +02:00
gen_btheader.go tests: update tests/testdata to v9.0.4 (london) (#23279) 2021-07-29 14:05:22 +02:00
gen_difficultytest.go all: simplify timestamps to uint64 (#19372) 2019-04-02 23:28:48 +03:00
gen_stenv.go build: add imports for go generate tools (#24682) 2022-04-12 20:24:02 +02:00
gen_sttransaction.go tests: update for London (#22976) 2021-06-07 14:37:56 +02:00
init_test.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
init.go eth, les, params: log chain config a bit saner (#24904) 2022-06-07 12:49:07 +02:00
rlp_test_util.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
rlp_test.go tests: get test name from testing.T (#22941) 2021-05-25 22:47:14 +02:00
state_test_util.go tests: update reference tests (#24899) 2022-05-19 11:00:45 +03:00
state_test.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
transaction_test_util.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
transaction_test.go tests: get test name from testing.T (#22941) 2021-05-25 22:47:14 +02:00