mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-01 04:17:24 +00:00
2348f03f0f
* 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>
35 lines
998 B
TOML
35 lines
998 B
TOML
[package]
|
|
name = "sp-npos-elections-fuzzer"
|
|
version = "2.0.0-alpha.5"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Fuzzer for phragmén implementation."
|
|
documentation = "https://docs.rs/sp-npos-elections-fuzzer"
|
|
publish = false
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
sp-npos-elections = { version = "2.0.0-rc6", path = ".." }
|
|
sp-std = { version = "2.0.0-rc6", path = "../../std" }
|
|
sp-runtime = { version = "2.0.0-rc6", path = "../../runtime" }
|
|
honggfuzz = "0.5"
|
|
rand = { version = "0.7.3", features = ["std", "small_rng"] }
|
|
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
|
|
|
[[bin]]
|
|
name = "reduce"
|
|
path = "src/reduce.rs"
|
|
|
|
[[bin]]
|
|
name = "balance_solution"
|
|
path = "src/balance_solution.rs"
|
|
|
|
[[bin]]
|
|
name = "compact"
|
|
path = "src/compact.rs"
|