Democracy module events (#697)

* Democracy module events

* Fix demo runtime

* Fix

* Extra event in balances

* Missing event

* Fix test

* Fix council

* Fix test
This commit is contained in:
Gav Wood
2018-09-10 14:40:35 +02:00
committed by GitHub
parent 393c3b5af7
commit 0aefb50689
11 changed files with 85 additions and 24 deletions
+2 -1
View File
@@ -148,6 +148,7 @@ pub type Staking = staking::Module<Runtime>;
impl democracy::Trait for Runtime {
type Proposal = Call;
type Event = Event;
}
/// Democracy module for this concrete runtime.
@@ -162,7 +163,7 @@ pub type CouncilVoting = council::voting::Module<Runtime>;
impl_outer_event! {
pub enum Event for Runtime {
balances, session, staking
balances, session, staking, democracy
}
}