Daniel Liu
e77ac510d0
all: replace Div/Mul with Rsh/Lsh if possible #29911 ( #1966 )
2026-01-29 11:31:58 +05:30
Daniel Liu
0fd51f13a1
tests/fuzzers: added bn marshaling fuzzers #32053 ( #1228 )
...
Adds marshaling fuzzing for G1 and G2 to oss-fuzz.
Also aligns the behavior of the google library to that of gnark and
cloudflare, which only ever read the first 64 / 128 bytes of the input,
regardless of how long the input is
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2025-07-26 17:36:58 +08:00
Daniel Liu
f07824db20
core, ethdb, tests, trie: implement NewBatchWithSize API for batcher #24392 ( #1085 )
2025-06-17 13:26:50 +08:00
Daniel Liu
5081ad72f5
accounts: move fuzzers into native packages ( #28467 )
2025-01-24 16:54:12 +08:00
Daniel Liu
b0063d39b9
accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface ( #21091 )
...
* accounts/abi: refactored abi.Unpack
* accounts/abi/bind: fixed error
* accounts/abi/bind: modified template
* accounts/abi/bind: added ToStruct for conversion
* accounts/abi: reenabled tests
* accounts/abi: fixed tests
* accounts/abi: fixed tests for packing/unpacking
* accounts/abi: fixed tests
* accounts/abi: added more logic to ToStruct
* accounts/abi/bind: fixed template
* accounts/abi/bind: fixed ToStruct conversion
* accounts/abi/: removed unused code
* accounts/abi: updated template
* accounts/abi: refactored unused code
* contracts/checkpointoracle: updated contracts to sol ^0.6.0
* accounts/abi: refactored reflection logic
* accounts/abi: less code duplication in Unpack*
* accounts/abi: fixed rebasing bug
* fix a few typos in comments
* rebase on master
Co-authored-by: Guillaume Ballet <gballet@gmail.com>
2025-01-24 16:18:30 +08:00
Daniel Liu
7c3c703559
tests/fuzzers/abi: add fuzzer for fuzzing package accounts/abi ( #21217 )
...
* tests/fuzzers/abi: added abi fuzzer
* accounts/abi: fixed issues found by fuzzing
* tests/fuzzers/abi: update fuzzers, added repro test
* tests/fuzzers/abi: renamed abi_fuzzer to abifuzzer
* tests/fuzzers/abi: updated abi fuzzer
* tests/fuzzers/abi: updated abi fuzzer
* accounts/abi: minor style fix
* go.mod: added go-fuzz dependency
* tests/fuzzers/abi: updated abi fuzzer
* tests/fuzzers/abi: make linter happy
* tests/fuzzers/abi: make linter happy
* tests/fuzzers/abi: comment out false positives
2025-01-24 16:18:29 +08:00
kevaundray
e581093ce1
crypto, tests/fuzzers: add gnark bn254 precompile methods for fuzzing ( #30585 )
...
Makes the gnark precompile methods more amenable to fuzzing
2025-01-04 11:00:57 +08:00
Daniel Liu
15be5ba464
crypto: use decred secp256k1 directly ( #30595 )
2025-01-04 11:00:57 +08:00
Daniel Liu
4cc2b2ea5f
tests/fuzzers: move fuzzers into native packages ( #28467 )
2024-12-28 09:06:31 +08:00
Daniel Liu
f7b6ad67a7
crypto, tests: update fuzzers to native go fuzzing ( #28352 )
2024-12-09 17:49:00 +08:00
Daniel Liu
17c048092e
tests/fuzzers/bn256: add PairingCheck fuzzer ( #27252 )
...
* tests/fuzzers/bn256: scale gnark result by constant
* tests/fuzzers/bn256: scale gnark result by constant
2024-12-09 17:49:00 +08:00
Daniel Liu
cb3edac2c7
crypto: use btcec/v2 for no-cgo ( #24533 )
2024-12-09 17:49:00 +08:00
Daniel Liu
5ee26e04ed
crypto/secp256k1: fix undefined behavior in BitCurve.Add ( #22621 )
2024-12-09 17:49:00 +08:00
Daniel Liu
7711f4b76d
tests/fuzzers: crypto/bn256 tests against gnark-crypto ( #22755 )
2024-12-09 17:49:00 +08:00
Daniel Liu
ae95ceac41
bn256: added consensys/gurvy bn256 implementation ( #21812 )
2024-12-09 17:49:00 +08:00
Daniel Liu
ddc5e618a7
crypto/bn256: fix bn256Mul fuzzer to not hang on large input ( #21872 )
...
* crypto/bn256: fix bn256Mul fuzzer to not hang on large input
* Update crypto/bn256/bn256_fuzz.go
Co-authored-by: ligi <ligi@ligi.de>
Co-authored-by: ligi <ligi@ligi.de>
2024-12-09 17:49:00 +08:00
Daniel Liu
4f9501f12c
common, crypto: move fuzzers out of core ( #22029 )
2024-09-22 19:25:37 +08:00
wanwiset25
cb792ef34f
Revert EIP-2464
2024-08-24 02:31:27 +07:00
Péter Szilágyi
93b2a23216
core, eth: announce based transaction propagation ( #20234 )
2024-06-28 11:33:04 +04:00