mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 07:31:08 +00:00
b71e180446
* Initial implementation of mms * Some more attempts at `mms` * Functioning `MMS` algorithm implementation. Adding some tests too * More tests and typos fixed. * Adding fuzzer for `mms` (but could not test it on Mac M1) * Missing imports * Fixing rustdoc * More accurate implementation of `mms` * Removing the fuzzer `mms` implementation * Implementing `NposSolver` for `MMS` had to add the `Clone` trait, maybe I could see if I can get rid of it. * Fixing rust docs by adding () to resolve ambiguity * Amending `unwrap` to `expect` removing unneeded `Clone` trait * Removing redundant `mms3.rs` * Implementing `BalancingConfig` and rustdoc changes * Implementing `weight` for `MMS` * Implementing `weight` for `MMS` * Fixing post merge * Initial implementation of mms * Some more attempts at `mms` * Functioning `MMS` algorithm implementation. Adding some tests too * More tests and typos fixed. * Adding fuzzer for `mms` (but could not test it on Mac M1) * Missing imports * Fixing rustdoc * More accurate implementation of `mms` * Removing the fuzzer `mms` implementation * Implementing `NposSolver` for `MMS` had to add the `Clone` trait, maybe I could see if I can get rid of it. * Amending `unwrap` to `expect` removing unneeded `Clone` trait * Fixing rust docs by adding () to resolve ambiguity * Removing redundant `mms3.rs` * Implementing `BalancingConfig` and rustdoc changes * Implementing `weight` for `MMS` * Implementing `weight` for `MMS` * Fixing post merge * Removing left over from rebase * Fixing tests * Removing unneeded import * Removing unneeded functions * Removing useless imports Co-authored-by: kianenigma <kian@parity.io>
39 lines
1.1 KiB
TOML
39 lines
1.1 KiB
TOML
[package]
|
|
name = "sp-npos-elections-fuzzer"
|
|
version = "2.0.0-alpha.5"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
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]
|
|
clap = { version = "3.1.18", features = ["derive"] }
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
|
honggfuzz = "0.5"
|
|
rand = { version = "0.8", features = ["std", "small_rng"] }
|
|
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
|
|
sp-npos-elections = { version = "4.0.0-dev", path = ".." }
|
|
sp-runtime = { version = "6.0.0", path = "../../runtime" }
|
|
|
|
[[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 = "phragmen_pjr"
|
|
path = "src/phragmen_pjr.rs" |