Migrate pallet-randomness-collective-flip to pallet attribute macro (#9061)

* migrate pallet-randomness-collective-flip to pallet attribute macro

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* fix some nits

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* remove some spacing things

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* remove space

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* use tabs

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen
2021-06-14 19:00:32 +08:00
committed by GitHub
parent c2f13a03a8
commit 6b33a79831
6 changed files with 66 additions and 36 deletions
@@ -16,23 +16,23 @@ targets = ["x86_64-unknown-linux-gnu"]
safe-mix = { version = "1.0", default-features = false }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
sp-runtime = { version = "3.0.0", default-features = false, path = "../../primitives/runtime" }
sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" }
frame-support = { version = "3.0.0", default-features = false, path = "../support" }
frame-system = { version = "3.0.0", default-features = false, path = "../system" }
sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" }
[dev-dependencies]
sp-core = { version = "3.0.0", path = "../../primitives/core" }
sp-io = { version = "3.0.0", path = "../../primitives/io" }
serde = { version = "1.0.101" }
[features]
default = ["std"]
std = [
"safe-mix/std",
"frame-system/std",
"codec/std",
"frame-support/std",
"sp-runtime/std",
"sp-std/std",
"frame-system/std",
"frame-support/std",
]
try-runtime = ["frame-support/try-runtime"]