Skip to content

Commit

Permalink
Enable treasury calls (#3196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kailai-Wang authored Dec 10, 2024
1 parent 06f0c71 commit 21d10ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions parachain/runtime/litentry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -1325,6 +1325,8 @@ impl Contains<RuntimeCall> 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
Expand Down
2 changes: 2 additions & 0 deletions parachain/runtime/paseo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,8 @@ impl Contains<RuntimeCall> 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
Expand Down

0 comments on commit 21d10ff

Please sign in to comment.