Skip to content

Commit

Permalink
improve some code (#22)
Browse files Browse the repository at this point in the history
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
  • Loading branch information
koushiro committed Jun 21, 2021
1 parent 8e579ee commit 6ea542c
Show file tree
Hide file tree
Showing 3 changed files with 220 additions and 140 deletions.
12 changes: 7 additions & 5 deletions frame/alliance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
cid = { version = "0.7.0", default-features = false, features = ["scale-codec"]}
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
log = { version = "0.4.14", default-features = false }

sp-core = { version = "3.0.0", default-features = false, path = "../../primitives/core" }
sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" }
sp-io = { version = "3.0.0", default-features = false, path = "../../primitives/io" }
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-benchmarking = { version = "3.1.0", default-features = false, path = "../benchmarking", optional = true }
frame-support = { version = "3.0.0", default-features = false, path = "../support" }
frame-system = { version = "3.0.0", default-features = false, path = "../system" }
log = { version = "0.4.14", default-features = false }

[dev-dependencies]
multihash = "0.14.0"
Expand All @@ -34,13 +36,13 @@ default = ["std"]
std = [
"cid/std",
"codec/std",
"log/std",
"sp-core/std",
"sp-std/std",
"sp-io/std",
"frame-support/std",
"sp-runtime/std",
"sp-std/std",
"frame-support/std",
"frame-system/std",
"log/std",
]
runtime-benchmarks = [
"frame-benchmarking",
Expand Down
Loading

0 comments on commit 6ea542c

Please sign in to comment.