plugeth/core/vm
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
..
runtime tests/fuzzers: move fuzzers into native packages (#28467) 2023-11-14 14:34:29 +01:00
testdata crypto/kzg4844: use the new trusted setup file and format (#28383) 2023-10-22 16:05:04 +02:00
analysis_test.go
analysis.go
common.go
contract.go core: fix typos (#28255) 2023-10-10 10:22:03 +02:00
contracts_fuzz_test.go tests/fuzzers: move fuzzers into native packages (#28467) 2023-11-14 14:34:29 +01:00
contracts_test.go core/vm: update 4844 - point evaluation precompile address (#27874) 2023-08-08 15:54:19 +03:00
contracts.go core/vm: update 4844 - point evaluation precompile address (#27874) 2023-08-08 15:54:19 +03:00
doc.go
eips.go core: implement BLOBBASEFEE opcode (0x4a) (#28098) 2023-10-02 05:49:29 -04:00
errors.go
evm.go core/vm: set basefee to 0 internally on eth_call (#28470) 2023-11-08 11:22:08 +02:00
gas_table_test.go all: new empty trie with types.EmptyRootHash instead of null (#27230) 2023-05-11 10:19:42 +03:00
gas_table.go core: fix typos (#28255) 2023-10-10 10:22:03 +02:00
gas.go
instructions_test.go core/vm: use types.EmptyCodeHash (#27729) 2023-07-15 17:45:57 +02:00
instructions.go core/vm: minor code formatting (#28199) 2023-09-26 11:58:01 +03:00
interface.go core/state, core/vm: implement EIP 6780 (#27189) 2023-07-17 13:02:18 -04:00
interpreter_test.go all: new empty trie with types.EmptyRootHash instead of null (#27230) 2023-05-11 10:19:42 +03:00
interpreter.go core: fix typos (#28255) 2023-10-10 10:22:03 +02:00
jump_table_export.go core: fix typos (#28255) 2023-10-10 10:22:03 +02:00
jump_table_test.go
jump_table.go core: implement BLOBBASEFEE opcode (0x4a) (#28098) 2023-10-02 05:49:29 -04:00
logger.go
memory_table.go core/vm: implement EIP-5656, mcopy instruction (#26181) 2023-07-11 03:55:34 -04:00
memory_test.go core/vm: implement EIP-5656, mcopy instruction (#26181) 2023-07-11 03:55:34 -04:00
memory.go core/vm: implement EIP-5656, mcopy instruction (#26181) 2023-07-11 03:55:34 -04:00
opcodes.go eth/tracers/js: fix isPush for push0 (#28520) 2023-11-14 13:14:38 +01:00
operations_acl.go core: replace instances of 'suicide' with 'selfdestruct' to improve code consistency. (#27716) 2023-07-15 10:35:30 -04:00
stack_table.go
stack.go