Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/interlay/interbtc into na…
Browse files Browse the repository at this point in the history
…kul/feat_update_to_v1

# Conflicts:
#	parachain/src/service.rs
  • Loading branch information
nakul1010 committed Sep 2, 2023
2 parents 69280bd + 26e56a3 commit 775672e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ jobs:

- name: Build ${{ matrix.runtime }} runtime
id: srtool_build
uses: chevdor/srtool-actions@v0.7.0
uses: chevdor/srtool-actions@v0.8.0
with:
image: docker.io/interlayhq/srtool
tag: nightly-2022-12-15
package: ${{ matrix.runtime }}-runtime-parachain
runtime_dir: ./parachain/runtime/${{ matrix.runtime }}
chain: ${{ matrix.runtime }}
workdir: ${{ github.workspace }}
- name: Store srtool digest to disk
run: |
echo '${{ steps.srtool_build.outputs.json }}' | jq > ${{ matrix.runtime }}_srtool_output.json
Expand Down
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,
#[cfg(not(feature = "disable-runtime-api"))]
apis: RUNTIME_API_VERSIONS,
Expand Down Expand Up @@ -498,7 +498,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 @@ -116,7 +116,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,
#[cfg(not(feature = "disable-runtime-api"))]
apis: RUNTIME_API_VERSIONS,
Expand Down Expand Up @@ -501,7 +501,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 775672e

Please sign in to comment.