From dc77ae67cf86f17cccad92a69b5bd7e5b4c63664 Mon Sep 17 00:00:00 2001 From: Dmitrii Novikov Date: Tue, 7 May 2024 15:33:27 +0400 Subject: [PATCH] refactor(runtime): Dump constants (existential deposit; min voucher duration) (#3944) --- runtime/vara/src/constants.rs | 2 +- runtime/vara/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/vara/src/constants.rs b/runtime/vara/src/constants.rs index 29e30126e63..096cb3bf232 100644 --- a/runtime/vara/src/constants.rs +++ b/runtime/vara/src/constants.rs @@ -27,7 +27,7 @@ pub mod currency { pub const ECONOMIC_CENTIUNITS: Balance = ECONOMIC_UNITS / 100; /// The existential deposit. - pub const EXISTENTIAL_DEPOSIT: Balance = 10 * UNITS; // 10 Vara + pub const EXISTENTIAL_DEPOSIT: Balance = UNITS; // 1 Vara /// The program rent cost per block. pub const RENT_COST_PER_BLOCK: Balance = 125_000_000; diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index afb4f23415e..6a1d0394085 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -1105,7 +1105,7 @@ impl pallet_gear_payment::Config for Runtime { parameter_types! { pub const VoucherPalletId: PalletId = PalletId(*b"py/vouch"); - pub const MinVoucherDuration: BlockNumber = 30 * MINUTES; + pub const MinVoucherDuration: BlockNumber = MINUTES; pub const MaxVoucherDuration: BlockNumber = 3 * MONTHS; }