From a911f9cd2fdfb47088c347b31b92cfdce0946f62 Mon Sep 17 00:00:00 2001 From: imstar15 Date: Mon, 20 Nov 2023 11:06:32 +0800 Subject: [PATCH] Adjust the parameters for burning tokens --- runtime/turing/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/turing/src/lib.rs b/runtime/turing/src/lib.rs index 226afe83..fcf4a2d7 100644 --- a/runtime/turing/src/lib.rs +++ b/runtime/turing/src/lib.rs @@ -93,7 +93,7 @@ use common_runtime::{ constants::{ currency::{deposit, CENT, DOLLAR, EXISTENTIAL_DEPOSIT, UNIT}, fees::SlowAdjustingFeeUpdate, - time::{DAYS, HOURS, SLOT_DURATION}, + time::{DAYS, HOURS, MINUTES, SLOT_DURATION}, weight_ratios::{ AVERAGE_ON_INITIALIZE_RATIO, MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO, SCHEDULED_TASKS_INITIALIZE_RATIO, @@ -820,8 +820,8 @@ parameter_types! { pub const ProposalBond: Permill = Permill::from_percent(5); pub const ProposalBondMinimum: Balance = 1 * DOLLAR; pub const ProposalBondMaximum: Balance = 5 * DOLLAR; - pub const SpendPeriod: BlockNumber = 1 * DAYS; - pub const Burn: Permill = Permill::from_percent(0); + pub const SpendPeriod: BlockNumber = 1 * MINUTES; + pub const Burn: Permill = Permill::from_percent(100); pub const TipCountdown: BlockNumber = 1 * DAYS; pub const TipFindersFee: Percent = Percent::from_percent(20); pub const TipReportDepositBase: Balance = 1 * UNIT;