mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-22 09:11:02 +00:00
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 <bkchr@users.noreply.github.com> * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * a bit nicer
This commit is contained in:
@@ -5,10 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
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 }
|
||||
@@ -16,16 +13,16 @@ 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",
|
||||
|
||||
Reference in New Issue
Block a user