Skip to content

Commit a986f9d

Browse files
authored
Merge pull request #1184 from interlay/fix/launch-period
fix: launch period should be seconds
2 parents 44dc4ca + a261c3f commit a986f9d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

parachain/runtime/interlay/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
112112
spec_name: create_runtime_str!("interlay-parachain"),
113113
impl_name: create_runtime_str!("interlay-parachain"),
114114
authoring_version: 1,
115-
spec_version: 1025001,
115+
spec_version: 1025002,
116116
impl_version: 1,
117117
transaction_version: 4,
118118
apis: RUNTIME_API_VERSIONS,
@@ -496,7 +496,7 @@ type EnsureRootOrAllTechnicalCommittee = EitherOfDiverse<
496496
>;
497497

498498
parameter_types! {
499-
pub const LaunchPeriod: u64 = 1000 * 60 * 60 * 24 * 7; // one week
499+
pub const LaunchPeriod: u64 = 60 * 60 * 24 * 7; // one week (seconds)
500500
pub const VotingPeriod: BlockNumber = 7 * DAYS;
501501
pub const FastTrackVotingPeriod: BlockNumber = 3 * HOURS;
502502
// Require 250 vINTR to make a proposal. Given the crowdloan airdrop, this qualifies about 7500

parachain/runtime/kintsugi/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
113113
spec_name: create_runtime_str!("kintsugi-parachain"),
114114
impl_name: create_runtime_str!("kintsugi-parachain"),
115115
authoring_version: 1,
116-
spec_version: 1025001,
116+
spec_version: 1025002,
117117
impl_version: 1,
118118
transaction_version: 4,
119119
apis: RUNTIME_API_VERSIONS,
@@ -496,7 +496,7 @@ type EnsureRootOrAllTechnicalCommittee = EitherOfDiverse<
496496
>;
497497

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

0 commit comments

Comments
 (0)