From 21d10fffe1b26cc1fa1822587e49e40e0d42d8e9 Mon Sep 17 00:00:00 2001 From: Kai <7630809+Kailai-Wang@users.noreply.github.com> Date: Tue, 10 Dec 2024 18:48:29 +0100 Subject: [PATCH] Enable treasury calls (#3196) --- parachain/runtime/litentry/src/lib.rs | 8 +++++--- parachain/runtime/paseo/src/lib.rs | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/parachain/runtime/litentry/src/lib.rs b/parachain/runtime/litentry/src/lib.rs index 49d19ac733..b85b78a6f3 100644 --- a/parachain/runtime/litentry/src/lib.rs +++ b/parachain/runtime/litentry/src/lib.rs @@ -522,13 +522,13 @@ impl pallet_transaction_payment::Config for Runtime { } parameter_types! { - pub LaunchPeriod: BlockNumber = prod_or_fast!(5 * DAYS, 5 * MINUTES, "LITENTRY_LAUNCHPERIOD"); - pub VotingPeriod: BlockNumber = prod_or_fast!(5 * DAYS, 5 * MINUTES, "LITENTRY_VOTINGPERIOD"); + pub LaunchPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 5 * MINUTES, "LITENTRY_LAUNCHPERIOD"); + pub VotingPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 5 * MINUTES, "LITENTRY_VOTINGPERIOD"); pub FastTrackVotingPeriod: BlockNumber = prod_or_fast!(3 * HOURS, 2 * MINUTES, "LITENTRY_FASTTRACKVOTINGPERIOD"); pub const InstantAllowed: bool = true; pub const MinimumDeposit: Balance = 100 * DOLLARS; pub EnactmentPeriod: BlockNumber = prod_or_fast!(1 * DAYS, 2 * MINUTES, "LITENTRY_ENACTMENTPERIOD"); - pub CooloffPeriod: BlockNumber = prod_or_fast!(5 * DAYS, 2 * MINUTES, "LITENTRY_COOLOFFPERIOD"); + pub CooloffPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 2 * MINUTES, "LITENTRY_COOLOFFPERIOD"); } impl pallet_democracy::Config for Runtime { @@ -1325,6 +1325,8 @@ impl Contains for NormalModeFilter { RuntimeCall::DeveloperCommitteeMembership(_) | // democracy, we don't subdivide the calls, so we allow public proposals RuntimeCall::Democracy(_) | + // treasury + RuntimeCall::Treasury(_) | // Preimage RuntimeCall::Preimage(_) | // Identity diff --git a/parachain/runtime/paseo/src/lib.rs b/parachain/runtime/paseo/src/lib.rs index 035b5e9298..35c166c7e1 100644 --- a/parachain/runtime/paseo/src/lib.rs +++ b/parachain/runtime/paseo/src/lib.rs @@ -1462,6 +1462,8 @@ impl Contains for NormalModeFilter { RuntimeCall::DeveloperCommitteeMembership(_) | // democracy, we don't subdivide the calls, so we allow public proposals RuntimeCall::Democracy(_) | + // treasury + RuntimeCall::Treasury(_) | // Preimage RuntimeCall::Preimage(_) | // Identity