From 71c927e246b55ada3a5ac8198a7e4eee1809d617 Mon Sep 17 00:00:00 2001 From: yahortsaryk Date: Tue, 19 Dec 2023 12:38:58 +0100 Subject: [PATCH] chore: balance unlocking delay is set to 7 days --- runtime/cere-dev/src/lib.rs | 2 +- runtime/cere/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/cere-dev/src/lib.rs b/runtime/cere-dev/src/lib.rs index f1d251abe..1cb03a695 100644 --- a/runtime/cere-dev/src/lib.rs +++ b/runtime/cere-dev/src/lib.rs @@ -1335,7 +1335,7 @@ impl pallet_ddc_staking::Config for Runtime { parameter_types! { pub const DdcCustomersPalletId: PalletId = PalletId(*b"accounts"); // DDC maintainer's stake - pub const UnlockingDelay: BlockNumber = 5256000u32; // 1 hour * 24 * 365 = 1 day; (1 hour is 600 blocks) + pub const UnlockingDelay: BlockNumber = 100800_u32; // 1 hour * 24 * 7 = 7 days; (1 hour is 600 blocks) } impl pallet_ddc_customers::Config for Runtime { diff --git a/runtime/cere/src/lib.rs b/runtime/cere/src/lib.rs index 1f6160cce..40fbf4fd3 100644 --- a/runtime/cere/src/lib.rs +++ b/runtime/cere/src/lib.rs @@ -1320,7 +1320,7 @@ impl pallet_ddc_metrics_offchain_worker::Config for Runtime { parameter_types! { pub const DdcCustomersPalletId: PalletId = PalletId(*b"accounts"); // DDC maintainer's stake - pub const UnlockingDelay: BlockNumber = 5256000u32; // 1 hour * 24 * 365 = 1 day; (1 hour is 600 blocks) + pub const UnlockingDelay: BlockNumber = 100800_u32; // 1 hour * 24 * 7 = 7 days; (1 hour is 600 blocks) } impl pallet_ddc_customers::Config for Runtime {