mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 01:41:03 +00:00
Clean Phragmén Equlise API (#5452)
* 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>
This commit is contained in:
@@ -1,19 +1,28 @@
|
||||
[package]
|
||||
name = "sp-phragmen-fuzzer"
|
||||
version = "2.0.0"
|
||||
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.3", path = ".." }
|
||||
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 = "0.7.3"
|
||||
|
||||
[workspace]
|
||||
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"]
|
||||
|
||||
Reference in New Issue
Block a user