diff --git a/pallets/governance/src/proposal.rs b/pallets/governance/src/proposal.rs index 840fd55..1e4b3e7 100644 --- a/pallets/governance/src/proposal.rs +++ b/pallets/governance/src/proposal.rs @@ -1,4 +1,5 @@ use crate::add_balance; +use crate::remove_balance; use crate::BoundedBTreeSet; use crate::BoundedVec; use crate::DebugNoBound; @@ -248,8 +249,7 @@ fn add_proposal( let config = GlobalGovernanceConfig::::get(); let cost = config.proposal_cost; - - // TODO: charge cost + remove_balance::(&proposer, cost)?; let proposal_id: u64 = crate::Proposals::::iter() .count()