Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix try-runtime:skip pre-post && weight check #1111

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,20 +116,30 @@ build-bifrost-polkadot-wasm:
build-bifrost-rococo-fast-wasm:
.maintain/build-wasm.sh bifrost-kusama fast

.PHONY: build-try-runtime # build bifrost rococo wasm
build-try-runtime:
cargo build -p bifrost-cli --locked --features "with-all-runtime,try-runtime" --release

.PHONY: try-kusama-runtime-upgrade # try kusama runtime upgrade
try-kusama-runtime-upgrade:
try-kusama-runtime-upgrade:build-try-runtime
try-runtime \
--runtime \
target/release/wbuild/bifrost-kusama-runtime/bifrost_kusama_runtime.compact.compressed.wasm \
on-runtime-upgrade live \
--uri wss://hk.p.bifrost-rpc.liebi.com:443/ws
on-runtime-upgrade \
--checks none \
--no-weight-warnings \
live \
--uri wss://hk.bifrost-rpc.liebi.com:443/ws

.PHONY: try-polkadot-runtime-upgrade # try polkadot runtime upgrade
try-polkadot-runtime-upgrade:
try-polkadot-runtime-upgrade:build-try-runtime
try-runtime \
--runtime \
target/release/wbuild/bifrost-polkadot-runtime/bifrost_polkadot_runtime.compact.compressed.wasm \
on-runtime-upgrade live \
on-runtime-upgrade \
--checks none \
--no-weight-warnings \
live \
--uri wss://hk.p.bifrost-rpc.liebi.com:443/ws

.PHONY: resources # export genesis resources
Expand Down
Loading