diff --git a/pallets/governance/src/proposal.rs b/pallets/governance/src/proposal.rs index 49ef2ae..dc2aa51 100644 --- a/pallets/governance/src/proposal.rs +++ b/pallets/governance/src/proposal.rs @@ -117,6 +117,7 @@ impl Proposal { config.proposal_cost = proposal_cost; }); } + ProposalData::TransferDaoTreasury { account, amount } => { ::Currency::transfer( &DaoTreasuryAddress::::get(), @@ -127,7 +128,15 @@ impl Proposal { .map_err(|_| crate::Error::::InternalError)?; } - _ => {} + ProposalData::Emission { + recycling_percentage, + treasury_percentage, + } => { + pallet_emission0::EmissionRecyclingPercentage::::set(recycling_percentage); + crate::TreasuryEmissionFee::::set(treasury_percentage); + } + + ProposalData::GlobalCustom => {} } Ok(())