Rename all the election operations (#6245)

* Rename and move sp-phragmen

* More renames for equalise

* Update main module doc

* Fix line width

* Line width
This commit is contained in:
Kian Paimani
2020-06-05 17:33:13 +02:00
committed by GitHub
parent d63b8e0da0
commit 8a8b4f99c3
35 changed files with 296 additions and 322 deletions
+5 -5
View File
@@ -1003,7 +1003,7 @@ dependencies = [
"sp-application-crypto",
"sp-core",
"sp-io",
"sp-phragmen",
"sp-npos-elections",
"sp-runtime",
"sp-staking",
"sp-std",
@@ -1027,7 +1027,7 @@ dependencies = [
"rand 0.7.3",
"sp-core",
"sp-io",
"sp-phragmen",
"sp-npos-elections",
"sp-runtime",
"sp-std",
]
@@ -1751,18 +1751,18 @@ dependencies = [
]
[[package]]
name = "sp-phragmen"
name = "sp-npos-elections"
version = "2.0.0-alpha.5"
dependencies = [
"parity-scale-codec",
"serde",
"sp-phragmen-compact",
"sp-npos-elections-compact",
"sp-runtime",
"sp-std",
]
[[package]]
name = "sp-phragmen-compact"
name = "sp-npos-elections-compact"
version = "2.0.0-rc2"
dependencies = [
"proc-macro-crate",
+1 -1
View File
@@ -26,7 +26,7 @@ frame-support = { version = "2.0.0-rc2", path = "../../support" }
sp-std = { version = "2.0.0-rc2", path = "../../../primitives/std" }
sp-io ={ version = "2.0.0-rc2", path = "../../../primitives/io" }
sp-core = { version = "2.0.0-rc2", path = "../../../primitives/core" }
sp-phragmen = { version = "2.0.0-rc2", path = "../../../primitives/phragmen" }
sp-npos-elections = { version = "2.0.0-rc2", path = "../../../primitives/npos-elections" }
sp-runtime = { version = "2.0.0-rc2", path = "../../../primitives/runtime" }
[[bin]]