From 09eec742372178209789b29653ee2fa39d9271c9 Mon Sep 17 00:00:00 2001 From: devwckd Date: Fri, 3 Jan 2025 14:01:25 -0300 Subject: [PATCH] feat: adjust config params --- runtime/src/configs.rs | 4 ++-- test-utils/src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/src/configs.rs b/runtime/src/configs.rs index aaddf97..994b640 100644 --- a/runtime/src/configs.rs +++ b/runtime/src/configs.rs @@ -378,11 +378,11 @@ impl pallet_governance::Config for Runtime { type DefaultProposalCost = ConstU128<{ as_tors(10_000) }>; - type DefaultProposalExpiration = ConstU64<130_000>; + type DefaultProposalExpiration = ConstU64<75_600>; type DefaultAgentApplicationCost = ConstU128<{ as_tors(1_000) }>; - type DefaultAgentApplicationExpiration = ConstU64<2_000>; + type DefaultAgentApplicationExpiration = ConstU64<216_000>; type DefaultProposalRewardTreasuryAllocation = DefaultProposalRewardTreasuryAllocation; diff --git a/test-utils/src/lib.rs b/test-utils/src/lib.rs index ca0d488..8a47c5c 100644 --- a/test-utils/src/lib.rs +++ b/test-utils/src/lib.rs @@ -210,11 +210,11 @@ impl pallet_governance::Config for Test { type DefaultProposalCost = ConstU128<{ to_nano(10_000) }>; - type DefaultProposalExpiration = ConstU64<130_000>; + type DefaultProposalExpiration = ConstU64<75_600>; type DefaultAgentApplicationCost = ConstU128<{ to_nano(1_000) }>; - type DefaultAgentApplicationExpiration = ConstU64<2_000>; + type DefaultAgentApplicationExpiration = ConstU64<216_000>; type DefaultProposalRewardTreasuryAllocation = DefaultProposalRewardTreasuryAllocation;