diff --git a/polkadot-parachains/src/chain_spec.rs b/polkadot-parachains/src/chain_spec.rs index efe2a0a3..30ef330b 100644 --- a/polkadot-parachains/src/chain_spec.rs +++ b/polkadot-parachains/src/chain_spec.rs @@ -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}; @@ -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()] }, @@ -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(), diff --git a/zombienet/rococo-local-with-integritee-and-asset-hub.toml b/zombienet/rococo-local-with-integritee-and-asset-hub.toml new file mode 100644 index 00000000..f6dd0e61 --- /dev/null +++ b/zombienet/rococo-local-with-integritee-and-asset-hub.toml @@ -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 diff --git a/zombienet/rococo-local-with-integritee-and-shell.toml b/zombienet/rococo-local-with-integritee-and-shell.toml index 87baecb6..5a37eb28 100644 --- a/zombienet/rococo-local-with-integritee-and-shell.toml +++ b/zombienet/rococo-local-with-integritee-and-shell.toml @@ -3,7 +3,7 @@ timeout = 10000 [relaychain] chain = "rococo-local" -default_command = "~/bin/polkadot-v0.9.43" +default_command = "~/bin/polkadot-v0.9.42" default_args = [ "-lparachain=debug" ] [[relaychain.nodes]] diff --git a/zombienet/rococo-local-with-privacy-sidechain-demo-setup.toml b/zombienet/rococo-local-with-privacy-sidechain-demo-setup.toml new file mode 100644 index 00000000..4b551dc4 --- /dev/null +++ b/zombienet/rococo-local-with-privacy-sidechain-demo-setup.toml @@ -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