Skip to content
Snippets Groups Projects
Commit b066d25c authored by 郭光华's avatar 郭光华 Committed by Bastian Köcher
Browse files

Delete consensus trait from sudo module (#1462)

parent d4eb3872
No related merge requests found
......@@ -2988,7 +2988,6 @@ dependencies = [
"sr-io 0.1.0",
"sr-primitives 0.1.0",
"sr-std 0.1.0",
"srml-consensus 0.1.0",
"srml-support 0.1.0",
"srml-support-procedural 0.1.0",
"srml-system 0.1.0",
......
......@@ -1258,7 +1258,6 @@ dependencies = [
"sr-io 0.1.0",
"sr-primitives 0.1.0",
"sr-std 0.1.0",
"srml-consensus 0.1.0",
"srml-support 0.1.0",
"srml-support-procedural 0.1.0",
"srml-system 0.1.0",
......
No preview for this file type
......@@ -15,7 +15,6 @@ sr-primitives = { path = "../../core/sr-primitives", default-features = false }
srml-support = { path = "../support", default-features = false }
srml-support-procedural = { path = "../support/procedural" }
srml-system = { path = "../system", default-features = false }
srml-consensus = { path = "../consensus", default-features = false }
[features]
default = ["std"]
......@@ -29,5 +28,4 @@ std = [
"substrate-primitives/std",
"srml-support/std",
"srml-system/std",
"srml-consensus/std",
]
......@@ -32,14 +32,13 @@ extern crate parity_codec as codec;
extern crate srml_support as support;
extern crate srml_system as system;
extern crate srml_consensus as consensus;
use sr_std::prelude::*;
use sr_primitives::traits::StaticLookup;
use support::{StorageValue, Parameter, Dispatchable};
use system::ensure_signed;
pub trait Trait: consensus::Trait + system::Trait {
pub trait Trait: system::Trait {
/// The overarching event type.
type Event: From<Event<Self>> + Into<<Self as system::Trait>::Event>;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment