From b073df012951469782f14e4728161d8f92a44e50 Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Thu, 9 May 2024 19:12:07 +0330 Subject: [PATCH] Update lib.rs Corrected the limit of 20 nodes because heartbeat is not correct at hte moment --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index e12c28d..2264888 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -368,7 +368,7 @@ impl validator_set::Config for Runtime { parameter_types! { // SBP-M1 review: consider increasing period (e.g. 6 hours is default within parachain template: https://github.com/paritytech/cumulus/blob/9e187970ff89169b795343d6ebcff53158b61324/parachain-template/runtime/src/lib.rs#L407) - pub const Period: u32 = 2 * MINUTES; + pub const Period: u32 = 100 * MINUTES; pub const Offset: u32 = 0; }