mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 16:51:02 +00:00
Initial council vote logic.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
//! Democratic system: Handles administration of general stakeholder voting.
|
||||
|
||||
use demo_primitives::Proposal;
|
||||
use runtime::{staking, system, session, governance};
|
||||
use runtime::{staking, system, session};
|
||||
|
||||
pub fn enact_proposal(proposal: Proposal) {
|
||||
match proposal {
|
||||
@@ -42,8 +42,5 @@ pub fn enact_proposal(proposal: Proposal) {
|
||||
Proposal::StakingForceNewEra => {
|
||||
staking::privileged::force_new_era()
|
||||
}
|
||||
Proposal::GovernanceSetApprovalPpmRequired(value) => {
|
||||
governance::privileged::set_approval_ppm_required(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user