From d56d63a92c7b7e6ecf79f26804a396516f8b6707 Mon Sep 17 00:00:00 2001 From: PraetorP Date: Wed, 25 Oct 2023 14:33:21 +0000 Subject: [PATCH] refactor(common runtime): switch to `from_parts` --- --- a/runtime/common/config/pallets/mod.rs +++ b/runtime/common/config/pallets/mod.rs @@ -151,7 +151,7 @@ } parameter_types! { - pub AppPromotionDailyRate: Perbill = Perbill::from_rational(453_256u64, 1_000_000_000u64); + pub AppPromotionDailyRate: Perbill = Perbill::from_parts(453_256); pub const MaxCollators: u32 = MAX_COLLATORS; pub const LicenseBond: Balance = GENESIS_LICENSE_BOND; -- gitstuff