From 9221f1a388eea46e8efbb82be41a97b479e329f9 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 6e73607991a..a1f3204ac18 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -1111,7 +1111,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; }