celestiaorg / celestiaorg/celestia-node

Add a fuzzing test harness and fuzz some important components

Open
#2,965 0 comments 0 reactions 1 assignee Claimed by @ramin View on GitHub
kind:testing stale
Dominant language
Go
Stars
996
Forks
1.1k
Avg merge
1d 6h
Merged PRs (30d)
34

Description

We'd like to expand our testing to support some fuzzing of important components such as befp.

Tasks

- set up fuzzing in the project
- set up a CI fuzzer that can run during ci_release and independently for a given `fuzztime`
- ensure we can create and store corpus data with the fuzzers
- ensure "found" errors from fuzzing runs can be retrieved on a failure and saved to the corpus
- allow fallback to unit test when run in normal test mode

Then write some more complex fuzz data generators for areas such as:

- Share eds test / Rand
- BadEncodingFraudProof Validate Function (bad_encodings.go)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.