Skip to content

Commit

Permalink
Merge pull request #1184 from interlay/fix/launch-period
Browse files Browse the repository at this point in the history
fix: launch period should be seconds
  • Loading branch information
gregdhill authored Aug 31, 2023
2 parents 44dc4ca + a261c3f commit a986f9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions parachain/runtime/interlay/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("interlay-parachain"),
impl_name: create_runtime_str!("interlay-parachain"),
authoring_version: 1,
spec_version: 1025001,
spec_version: 1025002,
impl_version: 1,
transaction_version: 4,
apis: RUNTIME_API_VERSIONS,
Expand Down 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
4 changes: 2 additions & 2 deletions parachain/runtime/kintsugi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("kintsugi-parachain"),
impl_name: create_runtime_str!("kintsugi-parachain"),
authoring_version: 1,
spec_version: 1025001,
spec_version: 1025002,
impl_version: 1,
transaction_version: 4,
apis: RUNTIME_API_VERSIONS,
Expand Down 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

0 comments on commit a986f9d

Please sign in to comment.