From 551e830cb6a654e78406fb810c9fbbada6e56d4c Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Fri, 8 Apr 2022 15:15:41 +1200 Subject: [PATCH] fix --- frame/alliance/Cargo.toml | 6 +++--- frame/alliance/src/lib.rs | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frame/alliance/Cargo.toml b/frame/alliance/Cargo.toml index cbb60dbd35064..468bd11736438 100644 --- a/frame/alliance/Cargo.toml +++ b/frame/alliance/Cargo.toml @@ -28,15 +28,14 @@ sp-runtime = { version = "6.0.0", default-features = false, path = "../../primit frame-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../benchmarking", optional = true } frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" } frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" } -pallet-collective = { version = "4.0.0-dev", path = "../collective", default-features = false, optional = true } -pallet-identity = { version = "4.0.0-dev", path = "../identity", default-features = false, optional = true } + +pallet-identity = { version = "4.0.0-dev", path = "../identity", default-features = false } [dev-dependencies] hex-literal = "0.3.1" sha2 = "0.10.1" pallet-balances = { version = "4.0.0-dev", path = "../balances" } pallet-collective = { version = "4.0.0-dev", path = "../collective" } -pallet-identity = { version = "4.0.0-dev", path = "../identity" } [features] default = ["std"] @@ -50,6 +49,7 @@ std = [ "sp-runtime/std", "frame-support/std", "frame-system/std", + "pallet-identity/std", ] runtime-benchmarks = [ "hex", diff --git a/frame/alliance/src/lib.rs b/frame/alliance/src/lib.rs index a86cb64c24325..c04871eee7b53 100644 --- a/frame/alliance/src/lib.rs +++ b/frame/alliance/src/lib.rs @@ -122,6 +122,7 @@ use frame_support::{ }, weights::{Pays, Weight}, }; +use pallet_identity::IdentityField; pub use pallet::*; pub use types::*;