mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 17:28:00 +00:00
36b4f2583e
* Fix deterministic WASM check Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix build-staking-miner Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove Kusama and Polkadot runtime-migration checks Will be removed in https://github.com/paritytech/polkadot-sdk/pull/1304 anyway. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
18 lines
609 B
Bash
Executable File
18 lines
609 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
#shellcheck source=../common/lib.sh
|
|
source "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/common/lib.sh"
|
|
|
|
# build runtime
|
|
WASM_BUILD_NO_COLOR=1 cargo build -q --locked --release -p staging-kusama-runtime -p polkadot-runtime -p westend-runtime
|
|
# make checksum
|
|
sha256sum target/release/wbuild/*-runtime/target/wasm32-unknown-unknown/release/*.wasm > checksum.sha256
|
|
|
|
cargo clean
|
|
|
|
# build again
|
|
WASM_BUILD_NO_COLOR=1 cargo build -q --locked --release -p staging-kusama-runtime -p polkadot-runtime -p westend-runtime
|
|
# confirm checksum
|
|
sha256sum -c checksum.sha256
|