Define BurnDestination, Kusama Treasury burns to Society (#6671) (#1421)

* Define BurnDestination, Kusama Treasury burns to Society.

* Fixes

* Remove the council elections enabling.

* Bump

* whitespace
This commit is contained in:
Gavin Wood
2020-07-17 12:36:36 +02:00
committed by GitHub
parent 1ea2b27403
commit 63a655afb0
4 changed files with 158 additions and 168 deletions
+154 -167
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -663,6 +663,7 @@ mod tests {
type ProposalBondMinimum = ProposalBondMinimum; type ProposalBondMinimum = ProposalBondMinimum;
type SpendPeriod = SpendPeriod; type SpendPeriod = SpendPeriod;
type Burn = Burn; type Burn = Burn;
type BurnDestination = ();
type Tippers = Nobody; type Tippers = Nobody;
type TipCountdown = TipCountdown; type TipCountdown = TipCountdown;
type TipFindersFee = TipFindersFee; type TipFindersFee = TipFindersFee;
+2 -1
View File
@@ -479,7 +479,7 @@ parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(5); pub const ProposalBond: Permill = Permill::from_percent(5);
pub const ProposalBondMinimum: Balance = 20 * DOLLARS; pub const ProposalBondMinimum: Balance = 20 * DOLLARS;
pub const SpendPeriod: BlockNumber = 6 * DAYS; pub const SpendPeriod: BlockNumber = 6 * DAYS;
pub const Burn: Permill = Permill::from_percent(0); pub const Burn: Permill = Permill::from_perthousand(2);
pub const TreasuryModuleId: ModuleId = ModuleId(*b"py/trsry"); pub const TreasuryModuleId: ModuleId = ModuleId(*b"py/trsry");
pub const TipCountdown: BlockNumber = 1 * DAYS; pub const TipCountdown: BlockNumber = 1 * DAYS;
@@ -509,6 +509,7 @@ impl treasury::Trait for Runtime {
type ProposalBondMinimum = ProposalBondMinimum; type ProposalBondMinimum = ProposalBondMinimum;
type SpendPeriod = SpendPeriod; type SpendPeriod = SpendPeriod;
type Burn = Burn; type Burn = Burn;
type BurnDestination = Society;
type ModuleId = TreasuryModuleId; type ModuleId = TreasuryModuleId;
type WeightInfo = (); type WeightInfo = ();
} }
+1
View File
@@ -576,6 +576,7 @@ impl treasury::Trait for Runtime {
type ProposalBondMinimum = ProposalBondMinimum; type ProposalBondMinimum = ProposalBondMinimum;
type SpendPeriod = SpendPeriod; type SpendPeriod = SpendPeriod;
type Burn = Burn; type Burn = Burn;
type BurnDestination = ();
type WeightInfo = (); type WeightInfo = ();
} }