Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable treasury calls #3196

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading