Add file meant for prior commit

This commit is contained in:
Luke Parker 2023-11-24 21:41:59 -05:00
parent 0ea90d054d
commit 6b2876351e
No known key found for this signature in database

View file

@ -257,9 +257,9 @@ impl Convert<PublicKey, Option<PublicKey>> for IdentityValidatorIdOf {
impl signals::Config for Runtime { impl signals::Config for Runtime {
type RuntimeEvent = RuntimeEvent; type RuntimeEvent = RuntimeEvent;
// 1 week // 1 week
type ValidityDuration = ConstU32<{ (7 * 24 * 60 * 60) / (TARGET_BLOCK_TIME as u32) }>; type RetirementValidityDuration = ConstU32<{ (7 * 24 * 60 * 60) / (TARGET_BLOCK_TIME as u32) }>;
// 2 weeks // 2 weeks
type LockInDuration = ConstU32<{ (2 * 7 * 24 * 60 * 60) / (TARGET_BLOCK_TIME as u32) }>; type RetirementLockInDuration = ConstU32<{ (2 * 7 * 24 * 60 * 60) / (TARGET_BLOCK_TIME as u32) }>;
} }
impl in_instructions::Config for Runtime { impl in_instructions::Config for Runtime {