BHK + BH-Westend release backport (#2083)

* Runtime code according to the released runtime bridge-hub-kusama_runtime-v9360.compact.compressed.wasm

* Add chains spec for westend with generated by `./scripts/create_bridge_hub_westend_spec.sh ~/Downloads/upload/bridge-hub-kusama_runtime-v9360.compact.compressed.wasm 1002`

* fmt
This commit is contained in:
Branislav Kontur
2023-01-13 22:37:22 +01:00
committed by GitHub
parent e949f21a38
commit aae4731d38
6 changed files with 219 additions and 3 deletions
+3 -1
View File
@@ -4,7 +4,7 @@ usage() {
echo Usage:
echo "$1 <srtool compressed runtime path>"
echo "$2 <para_id>"
echo "e.g.: ./scripts/create_bridge_hub_kusama_spec.sh ./target/release/wbuild/bridge-hub-kusama-runtime/bridge_hub_kusama_runtime.compact.compressed.wasm 1003"
echo "e.g.: ./scripts/create_bridge_hub_kusama_spec.sh ./target/release/wbuild/bridge-hub-kusama-runtime/bridge_hub_kusama_runtime.compact.compressed.wasm 1002"
exit 1
}
@@ -97,7 +97,9 @@ cat chain-spec-plain.json | jq --rawfile code rt-hex.txt '.genesis.runtime.syste
# build a raw spec
$binary build-spec --chain edited-chain-spec-plain.json --raw > chain-spec-raw.json
cp edited-chain-spec-plain.json bridge-hub-kusama-spec.json
cp chain-spec-raw.json ./parachains/chain-specs/bridge-hub-kusama.json
cp chain-spec-raw.json bridge-hub-kusama-spec-raw.json
# build genesis data
$binary export-genesis-state --chain chain-spec-raw.json > bridge-hub-kusama-genesis-head-data