Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Decouple Phragmen from Staking. (#3498)
Browse files Browse the repository at this point in the history
* Move phragmen to primitives

* Improved docs

* New crate.

* Update lock.

* Fix dependency.

* Fix build.

* Add basic testing and truth-value implementation with float types

* Update srml/staking/src/lib.rs

* Nits.

* Bump.

* Fix benchmarks.
  • Loading branch information
kianenigma authored Aug 29, 2019
1 parent 95fc421 commit 7004308
Show file tree
Hide file tree
Showing 11 changed files with 848 additions and 516 deletions.
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions core/phragmen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
name = "substrate-phragmen"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
sr-primitives = { path = "../sr-primitives", default-features = false }
rstd = { package = "sr-std", path = "../sr-std", default-features = false }

[dev-dependencies]
support = { package = "srml-support", path = "../../srml/support" }

[features]
default = ["std"]
std = [
"rstd/std",
"sr-primitives/std",
]
Loading

0 comments on commit 7004308

Please sign in to comment.