From aabd12abf44a0ea70d40a2a4e0e8548ca243fd69 Mon Sep 17 00:00:00 2001 From: Mateusz Nowakowski Date: Sat, 14 Dec 2024 04:19:38 +0100 Subject: [PATCH] adjust values to avoid zero devision --- rollup/runtime/src/runtime_config.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rollup/runtime/src/runtime_config.rs b/rollup/runtime/src/runtime_config.rs index b69652467..379050a4c 100644 --- a/rollup/runtime/src/runtime_config.rs +++ b/rollup/runtime/src/runtime_config.rs @@ -1006,8 +1006,10 @@ pub mod config { pub const StakingSplit: Perbill = Perbill::from_parts(235300000); // 4'800'120 pub const SequencerSplit: Perbill = Perbill::from_parts(117650000); // 2'400'060 pub const ImmediateTGEReleasePercent: Percent = Percent::from_percent(20); - pub const TGEReleasePeriod: u32 = 0u32; // 2 years - pub const TGEReleaseBegin: u32 = 0u32; // Two weeks into chain start + // Just some safe values to avoid zero diision etc + // TGE happens on L1 either way + pub const TGEReleasePeriod: u32 = 100u32; // 2 years + pub const TGEReleaseBegin: u32 = 10u32; // Two weeks into chain start } }