Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
cargo fmt and add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
metricaez committed Jan 2, 2024
1 parent 97e8047 commit f13d430
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 75 deletions.
107 changes: 54 additions & 53 deletions zombienet/full_network.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,88 +5,89 @@ timeout = 1000
chain = "rococo-local"
default_command = "./bin/polkadot"

[[relaychain.nodes]]
name = "alice"
validator = true
ws_port = 9900
extra_args = [ "-lparachain=debug" ]

[[relaychain.nodes]]
name = "bob"
validator = true
extra_args = [ "-lparachain=debug" ]

[[relaychain.nodes]]
name = "charlie"
validator = true
extra_args = [ "-lparachain=debug" ]

[[relaychain.nodes]]
name = "dave"
validator = true
extra_args = [ "-lparachain=debug" ]
[[relaychain.nodes]]
name = "alice"
validator = true
ws_port = 9900
extra_args = ["-lparachain=debug"]

[[relaychain.nodes]]
name = "bob"
validator = true
extra_args = ["-lparachain=debug"]

[[relaychain.nodes]]
name = "charlie"
validator = true
extra_args = ["-lparachain=debug"]

[[relaychain.nodes]]
name = "dave"
validator = true
extra_args = ["-lparachain=debug"]

[[parachains]]
id = 1000
add_to_genesis = true
cumulus_based = true
chain = "asset-hub-rococo-local"

[[parachains.collators]]
name = "asset-hub-collator01"
command = "./bin/polkadot-parachain"
ws_port = 9910
args = ["--log=xcm=trace,pallet-assets=trace"]
[[parachains.collators]]
name = "asset-hub-collator01"
command = "./bin/polkadot-parachain"
ws_port = 9910
args = ["--log=xcm=trace,pallet-assets=trace"]

[[parachains.collators]]
name = "asset-hub-collator02"
command = "./bin/polkadot-parachain"
ws_port = 9911
args = ["--log=xcm=trace,pallet-assets=trace"]
[[parachains.collators]]
name = "asset-hub-collator02"
command = "./bin/polkadot-parachain"
ws_port = 9911
args = ["--log=xcm=trace,pallet-assets=trace"]

[[parachains]]
id = 1836
add_to_genesis = true
cumulus_based = true
chain = "trappist-local"

[[parachains.collators]]
name = "trappist-collator01"
command = "./target/release/trappist-node"
ws_port = 9920
args = ["--log=xcm=trace,pallet-assets=trace"]
[[parachains.collators]]
name = "trappist-collator01"
command = "./target/release/trappist-node"
ws_port = 9920
args = ["--log=xcm=trace,pallet-assets=trace"]

[[parachains.collators]]
name = "trappist-collator02"
command = "./target/release/trappist-node"
ws_port = 9921
args = ["--log=xcm=trace,pallet-assets=trace"]
[[parachains.collators]]
name = "trappist-collator02"
command = "./target/release/trappist-node"
ws_port = 9921
args = ["--log=xcm=trace,pallet-assets=trace"]

[[parachains]]
id = 3000
add_to_genesis = true
cumulus_based = true
chain = "stout-local"

[[parachains.collators]]
name = "stout-collator01"
command = "./target/release/trappist-node"
ws_port = 9930
args = ["--log=xcm=trace,pallet-assets=trace"]
[[parachains.collators]]
name = "stout-collator01"
command = "./target/release/trappist-node"
ws_port = 9930
args = ["--log=xcm=trace,pallet-assets=trace"]

[[parachains.collators]]
name = "stout-collator02"
command = "./target/release/trappist-node"
ws_port = 9931
args = ["--log=xcm=trace,pallet-assets=trace"]
[[parachains.collators]]
name = "stout-collator02"
command = "./target/release/trappist-node"
ws_port = 9931
args = ["--log=xcm=trace,pallet-assets=trace"]

[types.Header]
number = "u64"
parent_hash = "Hash"
post_state = "Hash"

# Currently there is a known issue with opening hrmp channels on Zombienete config.
# Use hrmp_helper to open channels instead.
# Currently there is a known issue with opening hrmp channels
# on genesis that stops block production after epoch 1.
# Use hrmp_helper script after network spawn to open channels instead.

# [[hrmp_channels]]
# sender = 1000
Expand Down Expand Up @@ -122,4 +123,4 @@ post_state = "Hash"
# sender = 3000
# recipient = 1836
# max_capacity = 8
# max_message_size = 512
# max_message_size = 512
24 changes: 14 additions & 10 deletions zombienet/stout_rococo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,18 @@ number = "u64"
parent_hash = "Hash"
post_state = "Hash"

[[hrmp_channels]]
sender = 1000
recipient = 3000
max_capacity = 8
max_message_size = 512
# Currently there is a known issue with opening hrmp channels
# on genesis that stops block production after epoch 1.
# Use hrmp_helper script after network spawn to open channels instead.

[[hrmp_channels]]
sender = 3000
recipient = 1000
max_capacity = 8
max_message_size = 512
# [[hrmp_channels]]
# sender = 1000
# recipient = 3000
# max_capacity = 8
# max_message_size = 512

# [[hrmp_channels]]
# sender = 3000
# recipient = 1000
# max_capacity = 8
# max_message_size = 512
24 changes: 14 additions & 10 deletions zombienet/trappist_rococo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,18 @@ number = "u64"
parent_hash = "Hash"
post_state = "Hash"

[[hrmp_channels]]
sender = 1000
recipient = 1836
max_capacity = 8
max_message_size = 512
# Currently there is a known issue with opening hrmp channels
# on genesis that stops block production after epoch 1.
# Use hrmp_helper script after network spawn to open channels instead.

[[hrmp_channels]]
sender = 1836
recipient = 1000
max_capacity = 8
max_message_size = 512
# [[hrmp_channels]]
# sender = 1000
# recipient = 1836
# max_capacity = 8
# max_message_size = 512

# [[hrmp_channels]]
# sender = 1836
# recipient = 1000
# max_capacity = 8
# max_message_size = 512
5 changes: 3 additions & 2 deletions zombienet/trappist_stout.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ number = "u64"
parent_hash = "Hash"
post_state = "Hash"

# Currently there is a known issue with opening hrmp channels on Zombienete config.
# Use hrmp_helper to open channels instead.
# Currently there is a known issue with opening hrmp channels
# on genesis that stops block production after epoch 1.
# Use hrmp_helper script after network spawn to open channels instead.

# [[hrmp_channels]]
# sender = 1836
Expand Down

0 comments on commit f13d430

Please sign in to comment.