mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 11:05:40 +00:00
Decouple randomness-collective-flip (#3792)
* Abstract Randomness trait * bump version * fix doc test * simpify code a bit * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * fix tests
This commit is contained in:
committed by
Bastian Köcher
parent
21fae718c4
commit
34c7338211
@@ -17,8 +17,6 @@ rstd = { package = "sr-std", path = "../../core/sr-std", default-features = fals
|
||||
sandbox = { package = "sr-sandbox", path = "../../core/sr-sandbox", default-features = false }
|
||||
support = { package = "srml-support", path = "../support", default-features = false }
|
||||
system = { package = "srml-system", path = "../system", default-features = false }
|
||||
randomness-collective-flip = { package = "srml-randomness-collective-flip", path = "../randomness-collective-flip", default-features = false }
|
||||
timestamp = { package = "srml-timestamp", path = "../timestamp", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
wabt = "0.9.2"
|
||||
@@ -27,6 +25,7 @@ hex-literal = "0.2.1"
|
||||
balances = { package = "srml-balances", path = "../balances" }
|
||||
hex = "0.3.2"
|
||||
timestamp = { package = "srml-timestamp", path = "../timestamp" }
|
||||
randomness-collective-flip = { package = "srml-randomness-collective-flip", path = "../randomness-collective-flip" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -35,7 +34,6 @@ std = [
|
||||
"codec/std",
|
||||
"primitives/std",
|
||||
"sr-primitives/std",
|
||||
"randomness-collective-flip/std",
|
||||
"runtime-io/std",
|
||||
"rstd/std",
|
||||
"sandbox/std",
|
||||
|
||||
Reference in New Issue
Block a user