mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
Kusama: approve/reject treasury prop by treasurer (#6354)
This commit is contained in:
@@ -106,7 +106,7 @@ pub mod xcm_config;
|
||||
pub mod governance;
|
||||
use governance::{
|
||||
old::CouncilCollective, pallet_custom_origins, AuctionAdmin, GeneralAdmin, LeaseAdmin,
|
||||
StakingAdmin, TreasurySpender,
|
||||
StakingAdmin, Treasurer, TreasurySpender,
|
||||
};
|
||||
|
||||
#[cfg(test)]
|
||||
@@ -633,8 +633,8 @@ parameter_types! {
|
||||
impl pallet_treasury::Config for Runtime {
|
||||
type PalletId = TreasuryPalletId;
|
||||
type Currency = Balances;
|
||||
type ApproveOrigin = EnsureRoot<AccountId>;
|
||||
type RejectOrigin = EnsureRoot<AccountId>;
|
||||
type ApproveOrigin = EitherOfDiverse<EnsureRoot<AccountId>, Treasurer>;
|
||||
type RejectOrigin = EitherOfDiverse<EnsureRoot<AccountId>, Treasurer>;
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type OnSlash = Treasury;
|
||||
type ProposalBond = ProposalBond;
|
||||
|
||||
Reference in New Issue
Block a user