From 047219e215fc8ba9ba26e2da868fb280ef575d7b Mon Sep 17 00:00:00 2001 From: Shaun Wang Date: Mon, 3 May 2021 13:44:34 +1200 Subject: [PATCH 1/2] Deps cleanup. --- authority/Cargo.toml | 3 --- benchmarking/Cargo.toml | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/authority/Cargo.toml b/authority/Cargo.toml index 2debd0b50..3a3a432df 100644 --- a/authority/Cargo.toml +++ b/authority/Cargo.toml @@ -17,8 +17,6 @@ sp-std = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1" frame-support = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1", default-features = false } frame-system = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1", default-features = false } -orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false } - [dev-dependencies] sp-io = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1" } @@ -33,7 +31,6 @@ std = [ "sp-std/std", "frame-support/std", "frame-system/std", - "orml-traits/std", ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", diff --git a/benchmarking/Cargo.toml b/benchmarking/Cargo.toml index 1c72472a1..852275343 100644 --- a/benchmarking/Cargo.toml +++ b/benchmarking/Cargo.toml @@ -17,10 +17,10 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "rococo sp-std = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1", default-features = false } sp-io = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1", default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1", default-features = false } frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1", default-features = false } [dev-dependencies] +frame-system = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1", default-features = false } hex-literal = "0.2.1" [features] @@ -33,7 +33,6 @@ std = [ "sp-api/std", "sp-std/std", "frame-support/std", - "frame-system/std", "frame-benchmarking/std", ] From fd75153040394fdab487b50a5aa04e493c337c0d Mon Sep 17 00:00:00 2001 From: Shaun Wang Date: Mon, 3 May 2021 13:45:40 +1200 Subject: [PATCH 2/2] fix --- benchmarking/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarking/Cargo.toml b/benchmarking/Cargo.toml index 852275343..1c130a503 100644 --- a/benchmarking/Cargo.toml +++ b/benchmarking/Cargo.toml @@ -20,7 +20,7 @@ frame-support = { git = "https://github.com/paritytech/substrate", branch = "roc frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1", default-features = false } [dev-dependencies] -frame-system = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1" } hex-literal = "0.2.1" [features]