@@ -129,12 +129,9 @@ impl SignedExtension for OnlyStakingAndClaims {
129
129
-> TransactionValidity
130
130
{
131
131
match call {
132
- Call :: Staking ( _) | Call :: Claims ( _) | Call :: Sudo ( _) | Call :: Session ( _)
133
- | Call :: ElectionsPhragmen ( _) | Call :: TechnicalMembership ( _)
134
- | Call :: TechnicalCommittee ( _) | Call :: Nicks ( _)
135
- =>
136
- Ok ( Default :: default ( ) ) ,
137
- _ => Err ( InvalidTransaction :: Custom ( ValidityError :: NoPermission . into ( ) ) . into ( ) ) ,
132
+ Call :: Balances ( _) | Call :: Slots ( _) | Call :: Registrar ( _)
133
+ => Err ( InvalidTransaction :: Custom ( ValidityError :: NoPermission . into ( ) ) . into ( ) ) ,
134
+ _ => Ok ( Default :: default ( ) ) ,
138
135
}
139
136
}
140
137
}
@@ -323,7 +320,8 @@ parameter_types! {
323
320
// KUSAMA: These values are 1/4 of what we expect for the mainnet.
324
321
pub const LaunchPeriod : BlockNumber = 7 * DAYS ;
325
322
pub const VotingPeriod : BlockNumber = 7 * DAYS ;
326
- pub const EmergencyVotingPeriod : BlockNumber = 3 * HOURS ;
323
+ // KUSAMA: This is a bit short; should be increased to 3 hours.
324
+ pub const EmergencyVotingPeriod : BlockNumber = 1 * HOURS ;
327
325
pub const MinimumDeposit : Balance = 100 * DOLLARS ;
328
326
pub const EnactmentPeriod : BlockNumber = 8 * DAYS ;
329
327
pub const CooloffPeriod : BlockNumber = 7 * DAYS ;
@@ -341,7 +339,8 @@ impl democracy::Trait for Runtime {
341
339
/// A straight majority of the council can decide what their next motion is.
342
340
type ExternalOrigin = collective:: EnsureProportionAtLeast < _1 , _2 , AccountId , CouncilCollective > ;
343
341
/// A super-majority can have the next scheduled referendum be a straight majority-carries vote.
344
- type ExternalMajorityOrigin = collective:: EnsureProportionAtLeast < _3 , _4 , AccountId , CouncilCollective > ;
342
+ // KUSAMA: A majority can have the next scheduled legislation be majority-carries.
343
+ type ExternalMajorityOrigin = collective:: EnsureProportionAtLeast < _1 , _2 , AccountId , CouncilCollective > ;
345
344
/// A unanimous council can have the next scheduled referendum be a straight default-carries
346
345
/// (NTB) vote.
347
346
type ExternalDefaultOrigin = collective:: EnsureProportionAtLeast < _1 , _1 , AccountId , CouncilCollective > ;
@@ -366,7 +365,7 @@ impl collective::Trait<CouncilCollective> for Runtime {
366
365
parameter_types ! {
367
366
pub const CandidacyBond : Balance = 100 * DOLLARS ;
368
367
pub const VotingBond : Balance = 5 * DOLLARS ;
369
- pub const TermDuration : BlockNumber = 10 * MINUTES ;
368
+ pub const TermDuration : BlockNumber = 2 * HOURS ;
370
369
pub const DesiredMembers : u32 = 13 ;
371
370
pub const DesiredRunnersUp : u32 = 7 ;
372
371
}
0 commit comments