mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
762c741c55
* Clean phragmen API and equalise() * Stabilize new api * Fix phragmen fuzzers * More fixes * Make fuzzers reproducible * improvements * Make equalize update assignments as well. * total function for staked_assignment. * Fix fuzzer build * remvoe TODO * Fix a bunch more. * clean stray debug stuff * Update primitives/phragmen/src/lib.rs Co-Authored-By: thiolliere <gui.thiolliere@gmail.com> * fix range function * fix number generator Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
29 lines
796 B
TOML
29 lines
796 B
TOML
[package]
|
|
name = "sp-phragmen-fuzzer"
|
|
version = "2.0.0-alpha.5"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Fuzzer for phragmén implementation."
|
|
documentation = "https://docs.rs/sp-phragmen-fuzzer"
|
|
|
|
[dependencies]
|
|
sp-phragmen = { version = "2.0.0-alpha.5", path = ".." }
|
|
sp-std = { version = "2.0.0-alpha.5", path = "../../std" }
|
|
sp-runtime = { version = "2.0.0-alpha.5", path = "../../runtime" }
|
|
honggfuzz = "0.5"
|
|
rand = { version = "0.7.3", features = ["std", "small_rng"] }
|
|
|
|
[[bin]]
|
|
name = "reduce"
|
|
path = "src/reduce.rs"
|
|
|
|
[[bin]]
|
|
name = "equalize"
|
|
path = "src/equalize.rs"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|