Add a fuzzer for the erasure coding (#2021)

* Commit a fuzzer for the erase coding

* Replace tabs with spaces for the erase coding fuzzer

* Apply suggestions from code review

Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
Vincent Ulitzsch
2020-11-26 18:51:52 +01:00
committed by GitHub
parent e761c99852
commit 7d8eb5b2ac
4 changed files with 2701 additions and 0 deletions
@@ -0,0 +1,20 @@
[package]
name = "erasure_coding_fuzzer"
version = "0.1.0"
authors = ["Vincent Ulitzsch <vincent@srlabs.de>"]
edition = "2018"
[dependencies]
polkadot-erasure-coding = { path = ".." }
honggfuzz = "0.5"
primitives = { package = "polkadot-primitives", path = "../../primitives/" }
[[bin]]
name = "reconstruct_fuzzer"
path = "src/reconstruct.rs"
[[bin]]
name = "round_trip"
path = "src/round_trip.rs"
[workspace]