Skip to content

Commit

Permalink
feat: add new Paseo-based chainspec for Peregrine (#634)
Browse files Browse the repository at this point in the history
Partially fixes KILTprotocol/ticket#3097.

(cherry picked from commit a1e8f98)
  • Loading branch information
ntn-x2 committed May 15, 2024
1 parent a5ad451 commit 56af0e3
Show file tree
Hide file tree
Showing 3 changed files with 1,302 additions and 2 deletions.
424 changes: 424 additions & 0 deletions dev-specs/kilt-parachain/paseo-relay.json

Large diffs are not rendered by default.

876 changes: 876 additions & 0 deletions dev-specs/kilt-parachain/peregrine-paseo-kilt.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ fn testnet_genesis(
type LockingPeriod = BlockNumber;

// vesting and locks as initially designed
let claimable_accounts_json = &include_bytes!("../../res/genesis/claimable-accounts.json")[..];
let claimable_accounts_json = &include_bytes!("../../../res/genesis/claimable-accounts.json")[..];
let claimable_accounts: Vec<(AccountId, Balance, VestingPeriod, LockingPeriod)> =
serde_json::from_slice(claimable_accounts_json)
.expect("The file genesis_accounts.json exists and is valid; qed");

// botlabs account should not be migrated but some have vesting
let owned_accounts_json = &include_bytes!("../../res/genesis/owned-accounts.json")[..];
let owned_accounts_json = &include_bytes!("../../../res/genesis/owned-accounts.json")[..];
let owned_accounts: Vec<(AccountId, Balance, VestingPeriod, LockingPeriod)> =
serde_json::from_slice(owned_accounts_json).expect("The file botlabs_accounts.json exists and is valid; qed");

Expand Down

0 comments on commit 56af0e3

Please sign in to comment.