From e8d6f259b376ac3b3ca438e27141924db6b39d57 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` --- runtime/common/config/pallets/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/common/config/pallets/mod.rs b/runtime/common/config/pallets/mod.rs index 1231c79cd9..72c385d4fc 100644 --- a/runtime/common/config/pallets/mod.rs +++ b/runtime/common/config/pallets/mod.rs @@ -145,7 +145,7 @@ impl pallet_unique::Config for Runtime { } 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;