Skip to content
Snippets Groups Projects
Commit 9d84097c authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

update srtool

parent 97a31498
No related branches found
No related tags found
No related merge requests found
Pipeline #38502 waiting for manual action
...@@ -249,7 +249,7 @@ build_runtime: ...@@ -249,7 +249,7 @@ build_runtime:
stage: build stage: build
rules: rules:
- <<: *is_network_branch - <<: *is_network_branch
image: paritytech/srtool:1.77.0-0.15.0 image: paritytech/srtool:1.81.0-0.17.0
variables: variables:
SRTOOL_OUTPUT: $CI_PROJECT_DIR/release/srtool_output.json SRTOOL_OUTPUT: $CI_PROJECT_DIR/release/srtool_output.json
script: script:
......
...@@ -6,14 +6,14 @@ When voting for a runtime upgrade, you should check that the proposed hash actua ...@@ -6,14 +6,14 @@ When voting for a runtime upgrade, you should check that the proposed hash actua
mkdir runtime/gdev/target mkdir runtime/gdev/target
chmod o+w runtime/gdev/target chmod o+w runtime/gdev/target
# Workaround see !239 # Workaround see !239
echo -e "[toolchain]\nchannel = \"1.77.0\"\ncomponents = [ \"rust-std\", \"rust-src\" ]" > runtime/gdev/rust-toolchain.toml echo -e "[toolchain]\nchannel = \"1.81.0\"\ncomponents = [ \"rust-std\", \"rust-src\" ]" > runtime/gdev/rust-toolchain.toml
docker run \ docker run \
-i \ -i \
--rm \ --rm \
-e PACKAGE=gdev-runtime \ -e PACKAGE=gdev-runtime \
-e RUNTIME_DIR=runtime/gdev \ -e RUNTIME_DIR=runtime/gdev \
-v $PWD:/build \ -v $PWD:/build \
paritytech/srtool:1.77.0-0.15.0 build --app --json -cM paritytech/srtool:1.81.0-0.17.0 build --app --json -cM
``` ```
Then, the runtime wasm bytecode is generated in this location: Then, the runtime wasm bytecode is generated in this location:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment