From adcee1c72151cf71ea4430d2c6b9349be4cfd2aa Mon Sep 17 00:00:00 2001 From: Hugo Trentesaux <hugo@trentesaux.fr> Date: Sat, 17 Feb 2024 23:08:39 +0100 Subject: [PATCH] update instructions --- docs/dev/verify-runtime-code.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/dev/verify-runtime-code.md b/docs/dev/verify-runtime-code.md index 9a2413e45..61653fd4d 100644 --- a/docs/dev/verify-runtime-code.md +++ b/docs/dev/verify-runtime-code.md @@ -2,7 +2,11 @@ When voting for a runtime upgrade, you should check that the proposed hash actually corresponds to the published code you reviewed. Otherwise, a malicious runtime upgrade could be advertised as a legitimate one. -```docker +```sh +mkdir runtime/gdev/target +chmod o+w runtime/gdev/target +# Workaround see !239 +echo -e "[toolchain]\nchannel = \"1.74.0\"\ncomponents = [ \"rust-std\", \"rust-src\" ]" > runtime/gdev/rust-toolchain.toml docker run \ -i \ --rm \ -- GitLab