@@ -337,7 +337,7 @@ pub const EPOCH_DURATION_IN_SLOTS: u64 = {
337337pub const SESSION_DURATION : BlockNumber = EPOCH_DURATION_IN_SLOTS as _ ;
338338pub const SESSIONS_PER_ERA : SessionIndex = 3 ;
339339
340- pub const CAP : Balance = 1_000_000_000 * COIN ;
340+ pub const CAP : Balance = 10_000_000_000 * COIN ;
341341pub const TOTAL_POWER : Power = 1_000_000_000 ;
342342
343343/// The version information used to identify this runtime when compiled natively.
@@ -539,7 +539,7 @@ parameter_types! {
539539 pub const SessionsPerEra : SessionIndex = SESSIONS_PER_ERA ;
540540 pub const BondingDurationInEra : darwinia_staking:: EraIndex = 14 * 24 * ( HOURS / ( SESSIONS_PER_ERA * BLOCKS_PER_SESSION ) ) ;
541541 pub const BondingDurationInBlockNumber : BlockNumber = 14 * DAYS ;
542- pub const SlashDeferDuration : darwinia_staking:: EraIndex = 7 * 24 ; // 1/4 the bonding duration.
542+ pub const SlashDeferDuration : darwinia_staking:: EraIndex = 0 ;
543543 pub const ElectionLookahead : BlockNumber = BLOCKS_PER_SESSION / 4 ;
544544 pub const MaxIterations : u32 = 5 ;
545545 pub const MaxNominatorRewardedPerValidator : u32 = 64 ;
@@ -644,10 +644,12 @@ impl darwinia_treasury::Trait for Runtime {
644644}
645645
646646parameter_types ! {
647+ pub const ClaimsModuleId : ModuleId = ModuleId ( * b"da/claim" ) ;
647648 pub const Prefix : & ' static [ u8 ] = b"Pay RINGs to the template account:" ;
648649}
649650impl darwinia_claims:: Trait for Runtime {
650651 type Event = Event ;
652+ type ModuleId = ClaimsModuleId ;
651653 type Prefix = Prefix ;
652654 type RingCurrency = Ring ;
653655}
0 commit comments