This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Storage migration of elections-phragmen (#3948)
* Initial sotrage migration * Fix some deps * test added * another dep removed * Update srml/elections-phragmen/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * a bit nicer
- Loading branch information
1 parent
23c1956
commit bf0c5ae
Showing
2 changed files
with
65 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,27 +5,24 @@ authors = ["Parity Technologies <[email protected]>"] | |
edition = "2018" | ||
|
||
[dependencies] | ||
serde = { version = "1.0.101", optional = true } | ||
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] } | ||
primitives = { package = "substrate-primitives", path = "../../core/primitives", default-features = false } | ||
runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false } | ||
sr-primitives = { path = "../../core/sr-primitives", default-features = false } | ||
phragmen = { package = "substrate-phragmen", path = "../../core/phragmen", default-features = false } | ||
srml-support = { path = "../support", default-features = false } | ||
system = { package = "srml-system", path = "../system", default-features = false } | ||
rstd = { package = "sr-std", path = "../../core/sr-std", default-features = false } | ||
|
||
[dev-dependencies] | ||
runtime_io = { package = "sr-io", path = "../../core/sr-io" } | ||
hex-literal = "0.2.1" | ||
balances = { package = "srml-balances", path = "../balances" } | ||
primitives = { package = "substrate-primitives", path = "../../core/primitives" } | ||
serde = { version = "1.0.101" } | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"codec/std", | ||
"primitives/std", | ||
"serde", | ||
"runtime_io/std", | ||
"srml-support/std", | ||
"sr-primitives/std", | ||
"phragmen/std", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters