go-ethereum/accounts/abi
Martin Holst Swende 2391fbc676
tests/fuzzers: move fuzzers into native packages (#28467)
This PR moves our fuzzers from tests/fuzzers into whatever their respective 'native' package is.

The historical reason why they were placed in an external location, is that when they were based on go-fuzz, they could not be "hidden" via the _test.go prefix. So in order to shove them away from the go-ethereum "production code", they were put aside.

But now we've rewritten them to be based on golang testing, and thus can be brought back. I've left (in tests/) the ones that are not production (bls128381), require non-standard imports (secp requires btcec, bn256 requires gnark/google/cloudflare deps).

This PR also adds a fuzzer for precompiled contracts, because why not.

This PR utilizes a newly rewritten replacement for go-118-fuzz-build, namely gofuzz-shim, which utilises the inputs from the fuzzing engine better.
2023-11-14 14:34:29 +01:00
..
bind api/bind: add CallOpts.BlockHash to allow calling contracts at a specific block hash (#28084) 2023-10-17 15:34:01 +03:00
abi_test.go account/abi: handle solidity panic revert (#27868) 2023-08-26 04:10:48 -04:00
abi.go account/abi: handle solidity panic revert (#27868) 2023-08-26 04:10:48 -04:00
abifuzzer_test.go tests/fuzzers: move fuzzers into native packages (#28467) 2023-11-14 14:34:29 +01:00
argument.go accounts/abi: return toGoType error immediately (#25565) 2022-09-29 10:47:12 +02:00
doc.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
error_handling.go accounts/abi: fix integer encoding/decoding (#26568) 2023-02-07 08:32:27 -05:00
error.go all: remove trailing whitespace (#27741) 2023-08-05 00:24:32 +02:00
event_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
event.go accounts/abi/bind: fix duplicate field names in the generated go struct (#24924) 2022-06-07 08:38:54 +02:00
method_test.go account/abi: convert if-else-if chain to tagged switch (#27869) 2023-08-23 09:53:38 -04:00
method.go account/abi: convert if-else-if chain to tagged switch (#27869) 2023-08-23 09:53:38 -04:00
pack_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2020-09-28 14:10:26 +02:00
pack.go accounts/abi: improve documentation and names (#21540) 2020-09-20 10:43:57 +02:00
packing_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2020-09-28 14:10:26 +02:00
reflect_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
reflect.go accounts: replace noarg fmt.Errorf with errors.New (#27331) 2023-05-25 08:25:58 -04:00
selector_parser_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
selector_parser.go accounts: replace noarg fmt.Errorf with errors.New (#27331) 2023-05-25 08:25:58 -04:00
topics_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
topics.go accounts/abi: improve documentation and names (#21540) 2020-09-20 10:43:57 +02:00
type_test.go accounts/abi: return error on fixed bytes with size larger than 32 bytes (#26075) 2022-11-01 14:28:40 +01:00
type.go accounts, cmd/evm: fix docstrings (#27703) 2023-07-12 06:01:55 -04:00
unpack_test.go accounts/abi: fix integer encoding/decoding (#26568) 2023-02-07 08:32:27 -05:00
unpack.go account/abi: convert if-else-if chain to tagged switch (#27869) 2023-08-23 09:53:38 -04:00
utils.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00