Skip to content

Commit

Permalink
feat: add 3rd collator (#61)
Browse files Browse the repository at this point in the history
* fix: chainspec id resolution

* feat: use paseo as default

Also uses feature within node.

* fix: name dev spec devnet

* fix: add 3rd collator

---------

Co-authored-by: Frank Bell <frank@r0gue.io>
  • Loading branch information
al3mart and evilrobot-01 authored Mar 29, 2024
1 parent c8425bf commit ae4e7bb
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 103 deletions.
54 changes: 17 additions & 37 deletions node/chain_specs/pop-paseo.plain.json

Large diffs are not rendered by default.

124 changes: 60 additions & 64 deletions node/chain_specs/pop-paseo.raw.json

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ pub fn testnet_config(relay: Relay) -> TestnetChainSpec {
AccountId::from_ss58check("5FyVvcSvSXCkBwvBEHkUh1VWGGrwaR3zbYBkU3Rc5DqV75S4").unwrap();
let collator_1_aura_id: AuraId =
AuraId::from_ss58check("5FyVvcSvSXCkBwvBEHkUh1VWGGrwaR3zbYBkU3Rc5DqV75S4").unwrap();
let collator_2_account_id: AccountId =
AccountId::from_ss58check("5GMqrQuWpyyBBK7LAWXR5psWvKc1QMqtiyasjp23VNKZWgh6").unwrap();
let collator_2_aura_id: AuraId =
AuraId::from_ss58check("5GMqrQuWpyyBBK7LAWXR5psWvKc1QMqtiyasjp23VNKZWgh6").unwrap();
let sudo_account_id: AccountId =
AccountId::from_ss58check("5FPL3ZLqUk6MyBoZrQZ1Co29WAteX6T6N68TZ6jitHvhpyuD").unwrap();

Expand All @@ -184,9 +188,11 @@ pub fn testnet_config(relay: Relay) -> TestnetChainSpec {
// initial collators.
vec![
// POP COLLATOR 0
(collator_0_account_id.clone(), collator_0_aura_id),
(collator_0_account_id, collator_0_aura_id),
// POP COLLATOR 1
(collator_1_account_id.clone(), collator_1_aura_id),
(collator_1_account_id, collator_1_aura_id),
// POP COLLATOR 2
(collator_2_account_id, collator_2_aura_id),
],
sudo_account_id,
para_id.into(),
Expand Down

0 comments on commit ae4e7bb

Please sign in to comment.