mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
* Mainnets have upper bound on treasury bond required * Update runtime/common/src/impls.rs * Update runtime/polkadot/src/lib.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Bump * Update Substrate Co-authored-by: RRTTI <raul@justopensource.io> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -735,6 +735,7 @@ impl pallet_membership::Config<pallet_membership::Instance1> for Runtime {
|
||||
parameter_types! {
|
||||
pub const ProposalBond: Permill = Permill::from_percent(5);
|
||||
pub const ProposalBondMinimum: Balance = 2000 * CENTS;
|
||||
pub const ProposalBondMaximum: Balance = 1 * GRAND;
|
||||
pub const SpendPeriod: BlockNumber = 6 * DAYS;
|
||||
pub const Burn: Permill = Permill::from_perthousand(2);
|
||||
pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry");
|
||||
@@ -770,6 +771,7 @@ impl pallet_treasury::Config for Runtime {
|
||||
type OnSlash = Treasury;
|
||||
type ProposalBond = ProposalBond;
|
||||
type ProposalBondMinimum = ProposalBondMinimum;
|
||||
type ProposalBondMaximum = ProposalBondMaximum;
|
||||
type SpendPeriod = SpendPeriod;
|
||||
type Burn = Burn;
|
||||
type BurnDestination = Society;
|
||||
|
||||
Reference in New Issue
Block a user