fix les fuzz test and upgrade to go native fuzzing#276
fix les fuzz test and upgrade to go native fuzzing#276b3hollis wants to merge 1 commit intomorph-l2:mainfrom
Conversation
📝 WalkthroughWalkthroughGo native fuzzing entry points are added across 12 test packages (bitutil, bn256, difficulty, keystore, les, rangeproof, rlp, runtime, stacktrie, trie, txfetcher, vflux) using the testing.F API. Legacy gofuzz build constraints are removed from bn256_fuzz.go, and a gas price parameter in les-fuzzer.go is updated from 0 to params.GWei. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (14)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-11-10T06:56:24.937ZApplied to files:
🧬 Code graph analysis (10)tests/fuzzers/les/les_test.go (1)
tests/fuzzers/difficulty/difficulty_test.go (1)
tests/fuzzers/bitutil/bitutil_test.go (1)
tests/fuzzers/txfetcher/txfetcher_test.go (1)
tests/fuzzers/runtime/runtime_test.go (1)
tests/fuzzers/stacktrie/stacktrie_test.go (1)
tests/fuzzers/bn256/bn256_test.go (1)
tests/fuzzers/vflux/vflux_test.go (1)
tests/fuzzers/keystore/keystore_test.go (1)
tests/fuzzers/les/les-fuzzer.go (2)
🔇 Additional comments (13)
✏️ Tip: You can disable this entire section by setting Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.5.0)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
_test.gowrapper files for 12 fuzzersChanges
//go:build gofuzztag frombn256/bn256_fuzz.goSummary by CodeRabbit
Release Notes
Tests
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.