Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add zombienet config for rococo+integritee+assethub #242

Merged
merged 3 commits into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions polkadot-parachains/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
#![allow(clippy::inconsistent_digit_grouping)]

use cumulus_primitives_core::ParaId;
use parachain_runtime::{CouncilConfig, DemocracyConfig, TechnicalCommitteeConfig, TeerexConfig};
use parachain_runtime::{
CouncilConfig, DemocracyConfig, TechnicalCommitteeConfig, TeerexConfig, TEER,
};
use parachains_common::{AccountId, AuraId};
use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup};
use sc_service::{ChainType, GenericChainSpec};
Expand Down Expand Up @@ -222,7 +224,7 @@ fn integritee_genesis_config(
.to_vec(),
},
balances: parachain_runtime::BalancesConfig {
balances: endowed_accounts.iter().cloned().map(|k| (k, 10__000_000_000_000)).collect(),
balances: endowed_accounts.iter().cloned().map(|k| (k, 1_000 * TEER)).collect(),
},
democracy: DemocracyConfig::default(),
council: CouncilConfig { phantom: Default::default(), members: vec![root_key.clone()] },
Expand Down Expand Up @@ -255,7 +257,7 @@ fn shell_genesis_config(
.to_vec(),
},
balances: shell_runtime::BalancesConfig {
balances: endowed_accounts.iter().cloned().map(|k| (k, 10__000_000_000_000)).collect(),
balances: endowed_accounts.iter().cloned().map(|k| (k, 10 * TEER)).collect(),
},
sudo: shell_runtime::SudoConfig { key: Some(root_key) },
vesting: Default::default(),
Expand Down
68 changes: 68 additions & 0 deletions zombienet/rococo-local-with-integritee-and-asset-hub.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
[settings]
timeout = 10000

[relaychain]
default_command = "~/bin/polkadot-v0.9.42"
default_args = [ "-lparachain=debug" ]
chain = "rococo-local"

[[relaychain.nodes]]
name = "alice"
validator = true
ws_port = 9999

[[relaychain.nodes]]
name = "bob"
validator = true
ws_port = 9988

[[relaychain.nodes]]
name = "charlie"
validator = true
ws_port = 9977

[[parachains]]
id = 2015
addToGenesis = true
cumulus_based = true
chain = "integritee-rococo-local-dev"

[[parachains.collators]]
name = "integritee-collator-1"
command = "./target/release/integritee-collator"
ws_port = 9944

[[parachains.collators]]
name = "integritee-collator-2"
command = "./target/release/integritee-collator"
ws_port = 9945

[[parachains]]
id = 1000
addToGenesis = true
cumulus_based = true
chain = "statemine-local"

[[parachains.collators]]
name = "asset-hub-collator-1"
validator = true
command = "~/bin/polkadot-parachain-v0.9.42"
ws_port = 9954

[[parachains.collators]]
name = "asset-hub-collator-2"
validator = true
command = "~/bin/polkadot-parachain-v0.9.42"
ws_port = 9955

[[hrmp_channels]]
sender = 2015
recipient = 1000
max_capacity = 8
max_message_size = 512

[[hrmp_channels]]
sender = 1000
recipient = 2015
max_capacity = 8
max_message_size = 512
2 changes: 1 addition & 1 deletion zombienet/rococo-local-with-integritee-and-shell.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ timeout = 10000

[relaychain]
chain = "rococo-local"
default_command = "~/bin/polkadot-v0.9.43"
default_command = "~/bin/polkadot-v0.9.42"
brenzi marked this conversation as resolved.
Show resolved Hide resolved
default_args = [ "-lparachain=debug" ]

[[relaychain.nodes]]
Expand Down
68 changes: 68 additions & 0 deletions zombienet/rococo-local-with-privacy-sidechain-demo-setup.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
[settings]
timeout = 10000

[relaychain]
default_command = "~/bin/polkadot-v0.9.42"
default_args = [ "-lparachain=debug" ]
chain = "rococo-local"

[[relaychain.nodes]]
name = "alice"
validator = true
ws_port = 9999

[[relaychain.nodes]]
name = "bob"
validator = true
ws_port = 9988

[[relaychain.nodes]]
name = "charlie"
validator = true
ws_port = 9977

[[parachains]]
id = 2015
addToGenesis = true
cumulus_based = true
chain = "integritee-rococo-local-dev"

[[parachains.collators]]
name = "integritee-collator-1"
command = "./target/release/integritee-collator"
ws_port = 9944

[[parachains.collators]]
name = "integritee-collator-2"
command = "./target/release/integritee-collator"
ws_port = 9945

[[parachains]]
id = 1000
addToGenesis = true
cumulus_based = true
chain = "integritee-rococo-local-dev"

[[parachains.collators]]
name = "asset-hub-collator-1"
validator = true
command = "./target/release/integritee-collator"
ws_port = 9954

[[parachains.collators]]
name = "asset-hub-collator-2"
validator = true
command = "./target/release/integritee-collator"
ws_port = 9955

[[hrmp_channels]]
sender = 2015
recipient = 1000
max_capacity = 8
max_message_size = 512

[[hrmp_channels]]
sender = 1000
recipient = 2015
max_capacity = 8
max_message_size = 512
Loading