Add fuzzer for the compact custom codec implementation from PR #6720 (#7091)

* Add fuzzer for the compact custom codec implementation introduced in PR #6720.

This commit adds a fuzzing harness for the custom compact encoding/decoding
introduced in PR #6720.

* Update primitives/npos-elections/fuzzer/src/compact.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Update Cargo.lock: Add changes in elections-fuzzer

* Change indentation from spaces to tabs

Co-authored-by: Vincent Ulitzsch <vincent@srlabs.de>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Vincent Ulitzsch
2020-09-13 18:28:10 +02:00
committed by GitHub
parent 9a69be0587
commit 2348f03f0f
3 changed files with 40 additions and 0 deletions
+1
View File
@@ -8250,6 +8250,7 @@ name = "sp-npos-elections-fuzzer"
version = "2.0.0-alpha.5"
dependencies = [
"honggfuzz",
"parity-scale-codec",
"rand 0.7.3",
"sp-npos-elections",
"sp-runtime",