Browse Source

runtime: council: delete governance remains

conectado 4 years ago
parent
commit
3c42e2d460

+ 0 - 17
runtime/src/integration/proposals/council_elected_handler.rs

@@ -1,17 +0,0 @@
-#![warn(missing_docs)]
-
-/*
-use crate::Runtime;
-use governance::election::CouncilElected;
-
-/// 'Council elected' event handler. Should be applied to the 'election' substrate module.
-/// CouncilEvent is handled by resetting active proposals.
-pub struct CouncilElectedHandler;
-
-impl<Elected, Term> CouncilElected<Elected, Term> for CouncilElectedHandler {
-    fn council_elected(_new_council: Elected, _term: Term) {
-        <proposals_engine::Module<Runtime>>::reject_active_proposals();
-        <proposals_engine::Module<Runtime>>::reactivate_pending_constitutionality_proposals();
-    }
-}
-*/

+ 0 - 1
runtime/src/integration/proposals/mod.rs

@@ -1,6 +1,5 @@
 #![warn(missing_docs)]
 
-mod council_elected_handler;
 mod council_origin_validator;
 mod membership_origin_validator;
 mod proposal_encoder;