Skip to content

Commit 0541e65

Browse files
committed
srbuild
1 parent fa2aa2a commit 0541e65

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,18 @@ docker:
7777

7878
checksum:
7979
$(sha256sum) target/release/hydradx > target/release/hydradx.sha256
80-
cp target/release/wbuild/hydradx-runtime/hydradx_runtime.compact.compressed.wasm target/release/
80+
cp runtime/hydradx/target/srtool/release/wbuild/hydradx-runtime/hydradx_runtime.compact.compressed.wasm target/release/
8181
$(sha256sum) target/release/hydradx_runtime.compact.compressed.wasm > target/release/hydradx_runtime.compact.compressed.wasm.sha256
8282

83-
release: build-release checksum
83+
release: srbuild checksum
8484

8585
all: clippy build-benchmarks test-benchmarks test build checksum
8686

8787
chopstics: release
8888
npx @acala-network/chopsticks xcm --parachain=launch-configs/chopsticks/hydradx.yml --parachain=launch-configs/chopsticks/assethub.yml
8989

9090
srbuild:
91-
docker run --rm -v "$(CURDIR):/build" -e PACKAGE=hydradx-runtime -e RUNTIME_DIR=runtime/hydradx -e BUILD_OPTS="--features=metadata-hash" paritytech/srtool:1.81.0 build --app
91+
docker run --rm --user $(id -u):$(id -g) -v "$(CURDIR):/build" -e PACKAGE=hydradx-runtime -e RUNTIME_DIR=runtime/hydradx -e BUILD_OPTS="--features=metadata-hash" paritytech/srtool:1.84.1 build --app
92+
93+
check-papi-problems: checksum
94+
npx @polkadot-api/check-runtime problems wss://rpc.hydradx.cloud --wasm target/release/hydradx_runtime.compact.compressed.wasm

0 commit comments

Comments
 (0)