difftreelog
fix deprecation warning for from_rational
in: master
1 file changed
runtime/src/lib.rsdiffbeforeafterboth450 pub const DepositPerContract: Balance = TombstoneDeposit::get();450 pub const DepositPerContract: Balance = TombstoneDeposit::get();451 pub const DepositPerStorageByte: Balance = deposit(0, 1);451 pub const DepositPerStorageByte: Balance = deposit(0, 1);452 pub const DepositPerStorageItem: Balance = deposit(1, 0);452 pub const DepositPerStorageItem: Balance = deposit(1, 0);453 pub RentFraction: Perbill = Perbill::from_rational_approximation(1u32, 30 * DAYS);453 pub RentFraction: Perbill = Perbill::from_rational(1u32, 30 * DAYS);454 pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;454 pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;455 pub const SignedClaimHandicap: u32 = 2;455 pub const SignedClaimHandicap: u32 = 2;456 pub const MaxDepth: u32 = 32;456 pub const MaxDepth: u32 = 32;