Skip to content

Commit d6611f7

Browse files
committed
Update relevant files
1 parent c589417 commit d6611f7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ stages:
88

99
build-production-wasm:
1010
image:
11-
name: paritytech/srtool:1.75.0
11+
# Use srtool image that has the right subwasm fix. The first version with the fix is subwasm 0.17.0, available only with rustc 1.81.0.
12+
name: paritytech/srtool:1.81.0-0.17.0
1213
entrypoint: [""]
1314
stage: build
1415
parallel:
@@ -21,6 +22,8 @@ build-production-wasm:
2122
- export AUTHORIZE_UPGRADE_PREFIX=0x02
2223
- export AUTHORIZE_UPGRADE_CHECK_VERSION=true
2324
- export VERBOSE=true
25+
# Must be in sync with the toolchain file in the project root.
26+
- export RUSTC_VERSION=1.74.0
2427
- cp -r * /build
2528
- /srtool/build build
2629
- subwasm meta --format=json+scale /out/${RUNTIME}_runtime.compact.wasm > /out/${RUNTIME}-metadata.json

rust-toolchain.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[toolchain]
2+
# When changing this, please update the RUSTC_VERSION variable of the `build-production-wasm` Gitlab pipeline.
23
channel = "1.74.0"
34
components = ["clippy", "rust-src", "rustfmt"]
45
targets = ["wasm32-unknown-unknown"]

0 commit comments

Comments
 (0)