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

fix: launch period should be seconds #1184

Merged
merged 2 commits into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
fix: launch period should be seconds
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
  • Loading branch information
gregdhill committed Aug 31, 2023
commit d906dad1f7481f76bdda8cfcd7e09b68b563c86e
2 changes: 1 addition & 1 deletion parachain/runtime/interlay/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ type EnsureRootOrAllTechnicalCommittee = EitherOfDiverse<
>;

parameter_types! {
pub const LaunchPeriod: u64 = 1000 * 60 * 60 * 24 * 7; // one week
pub const LaunchPeriod: u64 = 60 * 60 * 24 * 7; // one week (seconds)
pub const VotingPeriod: BlockNumber = 7 * DAYS;
pub const FastTrackVotingPeriod: BlockNumber = 3 * HOURS;
// Require 250 vINTR to make a proposal. Given the crowdloan airdrop, this qualifies about 7500
Expand Down
2 changes: 1 addition & 1 deletion parachain/runtime/kintsugi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ type EnsureRootOrAllTechnicalCommittee = EitherOfDiverse<
>;

parameter_types! {
pub const LaunchPeriod: u64 = 1000 * 60 * 60 * 24 * 7; // one week
pub const LaunchPeriod: u64 = 60 * 60 * 24 * 7; // one week (seconds)
pub const VotingPeriod: BlockNumber = 2 * DAYS;
pub const FastTrackVotingPeriod: BlockNumber = 3 * HOURS;
// Require 5 vKINT to make a proposal. Given the crowdloan airdrop, this qualifies about 3500
Expand Down