mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 00:47:55 +00:00
313f86ec23
* Revamp npos-elections and implement phragmms * Update primitives/npos-elections/src/phragmms.rs * Fix build * Some review grumbles * Add some stuff for remote testing * fix some of the grumbles. * Add remote testing stuff. * Cleanup * fix docs * Update primitives/arithmetic/src/rational.rs Co-authored-by: Dan Forbes <dan@danforbes.dev> * Small config change * Better handling of approval_stake == 0 * Final touhces. * Clean fuzzer a bit * Clean fuzzer a bit * Update primitives/npos-elections/src/balancing.rs Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> * Fix fuzzer. * Better api for normalize * Add noramlize_up * A large number of small fixes. * make it merge ready * Fix warns * bump * Fix fuzzers a bit. * Fix warns as well. * Fix more tests. Co-authored-by: Dan Forbes <dan@danforbes.dev> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
39 lines
1.0 KiB
TOML
39 lines
1.0 KiB
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", path = ".." }
|
|
sp-std = { version = "2.0.0", path = "../../std" }
|
|
sp-runtime = { version = "2.0.0", 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 = "phragmen_balancing"
|
|
path = "src/phragmen_balancing.rs"
|
|
|
|
[[bin]]
|
|
name = "phragmms_balancing"
|
|
path = "src/phragmms_balancing.rs"
|
|
|
|
[[bin]]
|
|
name = "compact"
|
|
path = "src/compact.rs"
|