git.delta.rocks / unique-network / refs/commits / dd73080ed8f9

difftreelog

change blockintervals

PraetorP2022-11-16parent: #20c695f.patch.diff
in: master

1 file changed

modifiedruntime/common/config/pallets/app_promotion.rsdiffbeforeafterboth
29#[cfg(all(not(feature = "unique-runtime"), not(feature = "quartz-runtime")))]29#[cfg(all(not(feature = "unique-runtime"), not(feature = "quartz-runtime")))]
30parameter_types! {30parameter_types! {
31 pub const AppPromotionId: PalletId = PalletId(*b"appstake");31 pub const AppPromotionId: PalletId = PalletId(*b"appstake");
32 pub const RecalculationInterval: BlockNumber = 20;32 pub const RecalculationInterval: BlockNumber = 4;
33 pub const PendingInterval: BlockNumber = 10;33 pub const PendingInterval: BlockNumber = 2;
34 pub const Nominal: Balance = UNIQUE;34 pub const Nominal: Balance = UNIQUE;
35 // pub const Day: BlockNumber = DAYS;35 // pub const Day: BlockNumber = DAYS;
36 pub IntervalIncome: Perbill = Perbill::from_rational(RecalculationInterval::get(), RELAY_DAYS) * Perbill::from_rational(5u32, 10_000);36 pub IntervalIncome: Perbill = Perbill::from_rational(RecalculationInterval::get(), RELAY_DAYS) * Perbill::from_rational(5u32, 10_000);