mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
BridgeHubKusama - initial setup - (chain_spec + basic runtime without any bridging pallets) (#1764)
* [BridgeHub] Setup Rococo backbone parachain * [BridgeHub] Setup Wococo parachain backbone (reused from Rococo) [Bridge-Backport] Rebase-fix BridgeHub] Added zombienet startup tomls for Rococo/Wococo Fix typo * [BridgeHub] Added chain_spec for live Rococo/Wococo * [BridgeHub] Clean bridge-hub-rococo runtime * [BridgeHub] Add bridge-hub-rococo to CI pipelines * [BridgeHub] Added bridge-hub-kusama - empty runtime/chain_spec setup * Fixes * Fixes for BH * Fixes for other runtimes - align all * Fixes - const * Fixes const * Fixes * Fix kusama-local * Sample zombienet runs * Fixes * Fixes for benchmarking * Fixes CI * Fixes * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs frame_system * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_collator_selection * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_balances * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_session * Fixes name * Fixes readme * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_timestamp * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs cumulus_pallet_xcmp_queue * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_collator_selection * Fixes * Fixes * rustfmt * Fixes * Added pallet_utility/pallet_multisig * Blind try for regex pr-custom-review.yml (added bridge-hub-kusama + collectives-polkadot) * Fixes * Fixes * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_utility * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_multisig * Trying to fix sed expression? * Added license headers + correct "DAG:" desc Co-authored-by: command-bot <>
This commit is contained in:
@@ -39,6 +39,15 @@ elif [[ $runtimeName == "collectives-polkadot" ]]; then
|
||||
cumulus_pallet_xcmp_queue
|
||||
frame_system
|
||||
)
|
||||
elif [[ $runtimeName == "bridge-hub-rococo" ]] || [[ $runtimeName == "bridge-hub-kusama" ]]; then
|
||||
pallets=(
|
||||
frame_system
|
||||
pallet_balances
|
||||
pallet_session
|
||||
pallet_timestamp
|
||||
pallet_collator_selection
|
||||
cumulus_pallet_xcmp_queue
|
||||
)
|
||||
else
|
||||
echo "$runtimeName pallet list not found in benchmarks-ci.sh"
|
||||
exit 1
|
||||
|
||||
@@ -7,3 +7,6 @@ ${__dir}/benchmarks-ci.sh collectives collectives-polkadot target/production
|
||||
${__dir}/benchmarks-ci.sh assets statemine target/production
|
||||
${__dir}/benchmarks-ci.sh assets statemint target/production
|
||||
${__dir}/benchmarks-ci.sh assets westmint target/production
|
||||
|
||||
${__dir}/benchmarks-ci.sh bridge-hubs bridge-hub-kusama target/production
|
||||
${__dir}/benchmarks-ci.sh bridge-hubs bridge-hub-rococo target/production
|
||||
|
||||
@@ -81,6 +81,8 @@ SHELL_DIGEST = ENV['SHELL_DIGEST'] || 'digests/shell-srtool-digest.json'
|
||||
WESTMINT_DIGEST = ENV['WESTMINT_DIGEST'] || 'digests/westmint-srtool-digest.json'
|
||||
STATEMINE_DIGEST = ENV['STATEMINE_DIGEST'] || 'digests/statemine-srtool-digest.json'
|
||||
STATEMINT_DIGEST = ENV['STATEMINT_DIGEST'] || 'digests/statemint-srtool-digest.json'
|
||||
BRIDGE_HUB_ROCOCO_DIGEST = ENV['BRIDGE_HUB_ROCOCO_DIGEST'] || 'digests/bridge-hub-rococo-srtool-digest.json'
|
||||
BRIDGE_HUB_KUSAMA_DIGEST = ENV['BRIDGE_HUB_KUSAMA_DIGEST'] || 'digests/bridge-hub-kusama-srtool-digest.json'
|
||||
ROCOCO_PARA_DIGEST = ENV['ROCOCO_PARA_DIGEST'] || 'digests/rococo-parachain-srtool-digest.json'
|
||||
CANVAS_KUSAMA_DIGEST = ENV['CANVAS_KUSAMA_DIGEST'] || 'digests/contracts-rococo-srtool-digest.json'
|
||||
|
||||
@@ -114,6 +116,8 @@ else
|
||||
--slurpfile srtool_rococo_parachain %s \
|
||||
--slurpfile srtool_contracts_rococo %s \
|
||||
--slurpfile srtool_polkadot_collectives %s \
|
||||
--slurpfile srtool_bridge_hub_rococo %s \
|
||||
--slurpfile srtool_bridge_hub_kusama %s \
|
||||
-n \'{
|
||||
cumulus: $cumulus[0],
|
||||
substrate: $substrate[0],
|
||||
@@ -125,7 +129,9 @@ else
|
||||
{ name: "statemint", data: $srtool_statemint[0] },
|
||||
{ name: "rococo", data: $srtool_rococo_parachain[0] },
|
||||
{ name: "contracts", data: $srtool_contracts_rococo[0] },
|
||||
{ name: "polkadot-collectives", data: $srtool_polkadot_collectives[0] }
|
||||
{ name: "polkadot-collectives", data: $srtool_polkadot_collectives[0] },
|
||||
{ name: "bridge-hub-rococo", data: $srtool_bridge_hub_rococo[0] },
|
||||
{ name: "bridge-hub-kusama", data: $srtool_bridge_hub_kusama[0] }
|
||||
] }\' > context.json',
|
||||
cumulus_data,
|
||||
substrate_data,
|
||||
@@ -136,7 +142,9 @@ else
|
||||
STATEMINT_DIGEST,
|
||||
ROCOCO_PARA_DIGEST,
|
||||
CANVAS_KUSAMA_DIGEST,
|
||||
POLKADOT_COLLECTIVES_DIGEST
|
||||
POLKADOT_COLLECTIVES_DIGEST,
|
||||
BRIDGE_HUB_ROCOCO_DIGEST,
|
||||
BRIDGE_HUB_KUSAMA_DIGEST
|
||||
)
|
||||
end
|
||||
system(cmd)
|
||||
|
||||
@@ -69,8 +69,9 @@ build-test-parachain:
|
||||
cd ..;
|
||||
done
|
||||
|
||||
# DAG: build-runtime-assets -> build-runtime-collectives -> build-runtime-bridge-hubs
|
||||
# DAG: build-runtime-assets -> build-runtime-collectives -> build-runtime-contracts
|
||||
# DAG: build-runtime-assets ->build-runtime-starters -> build-runtime-testing
|
||||
# DAG: build-runtime-assets -> build-runtime-starters -> build-runtime-testing
|
||||
build-runtime-assets:
|
||||
<<: *build-runtime-template
|
||||
variables:
|
||||
@@ -85,6 +86,15 @@ build-runtime-collectives:
|
||||
- job: build-runtime-assets
|
||||
artifacts: false
|
||||
|
||||
build-runtime-bridge-hubs:
|
||||
<<: *build-runtime-template
|
||||
variables:
|
||||
RUNTIME_PATH: "parachains/runtimes/bridge-hubs"
|
||||
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
|
||||
needs:
|
||||
- job: build-runtime-collectives
|
||||
artifacts: false
|
||||
|
||||
build-runtime-contracts:
|
||||
<<: *build-runtime-template
|
||||
variables:
|
||||
|
||||
Reference in New Issue
Block a user