mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
cumulus: add asset-hub-rococo runtime based on asset-hub-kusama and add asset-bridging support to it (#1215)
This commit adds Rococo Asset Hub dedicated runtime so we can test new features here, before merging them in Kusama Asset Hub. Also adds one such feature: asset transfer over bridge (Rococo AssetHub <> Wococo AssetHub) - clone `asset-hub-kusama-runtime` -> `asset-hub-rococo-runtime` - make it use Rococo primitives, names, assets, constants, etc - add asset-transfer-over-bridge support to Rococo AssetHub <> Wococo AssetHub Fixes #1128 --------- Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>
This commit is contained in:
@@ -7,25 +7,25 @@ default_args = [ "-lparachain=debug,xcm=trace" ]
|
||||
chain = "rococo-local"
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "alice-validator"
|
||||
name = "alice-rococo-validator"
|
||||
validator = true
|
||||
rpc_port = 9932
|
||||
ws_port = 9942
|
||||
extra_args = ["--no-mdns --bootnodes {{'bob-validator'|zombie('multiAddress')}}"]
|
||||
balance = 2000000000000
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "bob-validator"
|
||||
name = "bob-rococo-validator"
|
||||
validator = true
|
||||
rpc_port = 9933
|
||||
ws_port = 9943
|
||||
extra_args = ["--no-mdns --bootnodes {{'alice-validator'|zombie('multiAddress')}}"]
|
||||
balance = 2000000000000
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "charlie-validator"
|
||||
name = "charlie-rococo-validator"
|
||||
validator = true
|
||||
rpc_port = 9934
|
||||
ws_port = 9944
|
||||
extra_args = ["--no-mdns --bootnodes {{'alice-validator'|zombie('multiAddress')}}"]
|
||||
balance = 2000000000000
|
||||
|
||||
[[parachains]]
|
||||
id = 1013
|
||||
@@ -34,71 +34,61 @@ cumulus_based = true
|
||||
|
||||
# run alice as parachain collator
|
||||
[[parachains.collators]]
|
||||
name = "alice-collator"
|
||||
name = "bridge-hub-rococo-collator1"
|
||||
validator = true
|
||||
command = "{{POLKADOT_PARACHAIN_BINARY_PATH}}"
|
||||
rpc_port = 8933
|
||||
ws_port = 8943
|
||||
args = [
|
||||
"-lparachain=debug,runtime::bridge-hub=trace,runtime::bridge=trace,runtime::bridge-dispatch=trace,bridge=trace,runtime::bridge-messages=trace,xcm=trace",
|
||||
]
|
||||
extra_args = [
|
||||
"--force-authoring", "--no-mdns", "--bootnodes {{'bob-collator'|zombie('multiAddress')}}",
|
||||
"-- --port 41333 --rpc-port 48933 --ws-port 48943 --no-mdns", "--bootnodes {{'alice-validator'|zombie('multiAddress')}}"
|
||||
"--force-authoring",
|
||||
"--", "--port 41333", "--rpc-port 48933", "--ws-port 48943"
|
||||
]
|
||||
|
||||
# run bob as parachain collator
|
||||
[[parachains.collators]]
|
||||
name = "bob-collator"
|
||||
name = "bridge-hub-rococo-collator2"
|
||||
validator = true
|
||||
command = "{{POLKADOT_PARACHAIN_BINARY_PATH}}"
|
||||
rpc_port = 8934
|
||||
ws_port = 8944
|
||||
args = [
|
||||
"-lparachain=trace,runtime::bridge-hub=trace,runtime::bridge=trace,runtime::bridge-dispatch=trace,bridge=trace,runtime::bridge-messages=trace,xcm=trace",
|
||||
]
|
||||
extra_args = [
|
||||
"--force-authoring", "--no-mdns", "--bootnodes {{'alice-collator'|zombie('multiAddress')}}",
|
||||
"-- --port 41334 --rpc-port 48934 --ws-port 48944 --no-mdns", "--bootnodes {{'bob-validator'|zombie('multiAddress')}}"
|
||||
"--force-authoring",
|
||||
"--", "--port 41334", "--rpc-port 48934", "--ws-port 48944"
|
||||
]
|
||||
|
||||
[[parachains]]
|
||||
id = 1000
|
||||
chain = "asset-hub-kusama-local"
|
||||
chain = "asset-hub-rococo-local"
|
||||
cumulus_based = true
|
||||
|
||||
[[parachains.collators]]
|
||||
name = "rockmine-collator1"
|
||||
name = "asset-hub-rococo-collator1"
|
||||
rpc_port = 9911
|
||||
ws_port = 9910
|
||||
command = "{{POLKADOT_PARACHAIN_BINARY_PATH_FOR_ASSET_HUB_ROCOCO}}"
|
||||
args = [
|
||||
"-lparachain=debug,xcm=trace,runtime::bridge-transfer=trace",
|
||||
]
|
||||
extra_args = [
|
||||
"--no-mdns", "--bootnodes {{'rockmine-collator2'|zombie('multiAddress')}}",
|
||||
"-- --port 51333 --rpc-port 58933 --ws-port 58943 --no-mdns", "--bootnodes {{'alice-validator'|zombie('multiAddress')}}"
|
||||
"--", "--port 51333", "--rpc-port 58933", "--ws-port 58943"
|
||||
]
|
||||
|
||||
[[parachains.collators]]
|
||||
name = "rockmine-collator2"
|
||||
name = "asset-hub-rococo-collator2"
|
||||
command = "{{POLKADOT_PARACHAIN_BINARY_PATH_FOR_ASSET_HUB_ROCOCO}}"
|
||||
args = [
|
||||
"-lparachain=debug,xcm=trace,runtime::bridge-transfer=trace",
|
||||
]
|
||||
extra_args = [
|
||||
"--no-mdns", "--bootnodes {{'rockmine-collator1'|zombie('multiAddress')}}",
|
||||
"-- --port 51433 --rpc-port 58833 --ws-port 58843 --no-mdns", "--bootnodes {{'alice-validator'|zombie('multiAddress')}}"
|
||||
"--", "--port 51433", "--rpc-port 58833", "--ws-port 58843"
|
||||
]
|
||||
|
||||
[[hrmp_channels]]
|
||||
sender = 1000
|
||||
recipient = 1013
|
||||
max_capacity = 4
|
||||
max_message_size = 524288
|
||||
|
||||
[[hrmp_channels]]
|
||||
sender = 1013
|
||||
recipient = 1000
|
||||
max_capacity = 4
|
||||
max_message_size = 524288
|
||||
#[[hrmp_channels]]
|
||||
#sender = 1000
|
||||
#recipient = 1013
|
||||
#max_capacity = 4
|
||||
#max_message_size = 524288
|
||||
#
|
||||
#[[hrmp_channels]]
|
||||
#sender = 1013
|
||||
#recipient = 1000
|
||||
#max_capacity = 4
|
||||
#max_message_size = 524288
|
||||
|
||||
@@ -7,25 +7,25 @@ default_args = [ "-lparachain=debug,xcm=trace" ]
|
||||
chain = "wococo-local"
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "alice-validator-wo"
|
||||
name = "alice-wococo-validator"
|
||||
validator = true
|
||||
rpc_port = 9935
|
||||
ws_port = 9945
|
||||
extra_args = ["--no-mdns --bootnodes {{'bob-validator-wo'|zombie('multiAddress')}}"]
|
||||
balance = 2000000000000
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "bob-validator-wo"
|
||||
name = "bob-wococo-validator"
|
||||
validator = true
|
||||
rpc_port = 9936
|
||||
ws_port = 9946
|
||||
extra_args = ["--no-mdns --bootnodes {{'alice-validator-wo'|zombie('multiAddress')}}"]
|
||||
balance = 2000000000000
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "charlie-validator-wo"
|
||||
name = "charlie-wococo-validator"
|
||||
validator = true
|
||||
rpc_port = 9937
|
||||
ws_port = 9947
|
||||
extra_args = ["--no-mdns --bootnodes {{'alice-validator-wo'|zombie('multiAddress')}}"]
|
||||
balance = 2000000000000
|
||||
|
||||
[[parachains]]
|
||||
id = 1014
|
||||
@@ -34,71 +34,61 @@ cumulus_based = true
|
||||
|
||||
# run alice as parachain collator
|
||||
[[parachains.collators]]
|
||||
name = "alice-collator-wo"
|
||||
name = "bridge-hub-wococo-collator1"
|
||||
validator = true
|
||||
command = "{{POLKADOT_PARACHAIN_BINARY_PATH}}"
|
||||
rpc_port = 8935
|
||||
ws_port = 8945
|
||||
args = [
|
||||
"-lparachain=debug,runtime::mmr=info,substrate=info,runtime=info,runtime::bridge-hub=trace,runtime::bridge=trace,runtime::bridge-dispatch=trace,bridge=trace,runtime::bridge-messages=trace,xcm=trace",
|
||||
]
|
||||
extra_args = [
|
||||
"--force-authoring", "--no-mdns", "--bootnodes {{'bob-collator-wo'|zombie('multiAddress')}}",
|
||||
"-- --port 41335 --rpc-port 48935 --ws-port 48945 --no-mdns", "--bootnodes {{'alice-validator-wo'|zombie('multiAddress')}}"
|
||||
"--force-authoring",
|
||||
"--", "--port 41335", "--rpc-port 48935", "--ws-port 48945"
|
||||
]
|
||||
|
||||
# run bob as parachain collator
|
||||
[[parachains.collators]]
|
||||
name = "bob-collator-wo"
|
||||
name = "bridge-hub-wococo-collator2"
|
||||
validator = true
|
||||
command = "{{POLKADOT_PARACHAIN_BINARY_PATH}}"
|
||||
rpc_port = 8936
|
||||
ws_port = 8946
|
||||
args = [
|
||||
"-lparachain=trace,runtime::mmr=info,substrate=info,runtime=info,runtime::bridge-hub=trace,runtime::bridge=trace,runtime::bridge-dispatch=trace,bridge=trace,runtime::bridge-messages=trace,xcm=trace",
|
||||
]
|
||||
extra_args = [
|
||||
"--force-authoring", "--no-mdns", "--bootnodes {{'alice-collator-wo'|zombie('multiAddress')}}",
|
||||
"-- --port 41336 --rpc-port 48936 --ws-port 48946 --no-mdns", "--bootnodes {{'bob-validator-wo'|zombie('multiAddress')}}"
|
||||
"--force-authoring",
|
||||
"--", "--port 41336", "--rpc-port 48936", "--ws-port 48946"
|
||||
]
|
||||
|
||||
[[parachains]]
|
||||
id = 1000
|
||||
chain = "asset-hub-westend-local"
|
||||
chain = "asset-hub-wococo-local"
|
||||
cumulus_based = true
|
||||
|
||||
[[parachains.collators]]
|
||||
name = "wockmint-collator1"
|
||||
name = "asset-hub-wococo-collator1"
|
||||
rpc_port = 9011
|
||||
ws_port = 9010
|
||||
command = "{{POLKADOT_PARACHAIN_BINARY_PATH_FOR_ASSET_HUB_WOCOCO}}"
|
||||
args = [
|
||||
"-lparachain=debug,xcm=trace,runtime::bridge-transfer=trace",
|
||||
]
|
||||
extra_args = [
|
||||
"--no-mdns", "--bootnodes {{'wockmint-collator2'|zombie('multiAddress')}}",
|
||||
"-- --port 31333 --rpc-port 38933 --ws-port 38943 --no-mdns", "--bootnodes {{'alice-validator-wo'|zombie('multiAddress')}}"
|
||||
"--", "--port 31333", "--rpc-port 38933", "--ws-port 38943"
|
||||
]
|
||||
|
||||
[[parachains.collators]]
|
||||
name = "wockmint-collator2"
|
||||
name = "asset-hub-wococo-collator2"
|
||||
command = "{{POLKADOT_PARACHAIN_BINARY_PATH_FOR_ASSET_HUB_WOCOCO}}"
|
||||
args = [
|
||||
"-lparachain=debug,xcm=trace,runtime::bridge-transfer=trace",
|
||||
]
|
||||
extra_args = [
|
||||
"--no-mdns", "--bootnodes {{'wockmint-collator1'|zombie('multiAddress')}}",
|
||||
"-- --port 31433 --rpc-port 38833 --ws-port 38843 --no-mdns", "--bootnodes {{'alice-validator-wo'|zombie('multiAddress')}}"
|
||||
"--", "--port 31433", "--rpc-port 38833", "--ws-port 38843"
|
||||
]
|
||||
|
||||
[[hrmp_channels]]
|
||||
sender = 1000
|
||||
recipient = 1014
|
||||
max_capacity = 4
|
||||
max_message_size = 524288
|
||||
|
||||
[[hrmp_channels]]
|
||||
sender = 1014
|
||||
recipient = 1000
|
||||
max_capacity = 4
|
||||
max_message_size = 524288
|
||||
#[[hrmp_channels]]
|
||||
#sender = 1000
|
||||
#recipient = 1014
|
||||
#max_capacity = 4
|
||||
#max_message_size = 524288
|
||||
#
|
||||
#[[hrmp_channels]]
|
||||
#sender = 1014
|
||||
#recipient = 1000
|
||||
#max_capacity = 4
|
||||
#max_message_size = 524288
|
||||
|
||||
Reference in New Issue
Block a user