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

update runtime version

and documentation to generate it locally
parent 6d6a089f
No related branches found
No related tags found
1 merge request!261update srtool build instructions
...@@ -9,7 +9,7 @@ docker run \ ...@@ -9,7 +9,7 @@ docker run \
-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.60.0 build --app --json -cM paritytech/srtool:1.74.0-0.13.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:
...@@ -19,5 +19,6 @@ runtime/gdev/target/srtool/release/wbuild/gdev-runtime/gdev_runtime.compact.comp ...@@ -19,5 +19,6 @@ runtime/gdev/target/srtool/release/wbuild/gdev-runtime/gdev_runtime.compact.comp
``` ```
To compare it to last official : To compare it to last official :
- download it here : https://git.duniter.org/nodes/rust/duniter-v2s/-/releases - download it here : https://git.duniter.org/nodes/rust/duniter-v2s/-/releases
- compare `sha256sum` of it and of the one you've built - compare `sha256sum` of it and of the one you've built
...@@ -94,7 +94,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { ...@@ -94,7 +94,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native. // `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types. // the compatible custom types.
spec_version: 800, spec_version: 801,
impl_version: 1, impl_version: 1,
apis: RUNTIME_API_VERSIONS, apis: RUNTIME_API_VERSIONS,
transaction_version: 1, transaction_version: 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment