Skip to content
Snippets Groups Projects
  • Hugo Trentesaux's avatar
    ef73a0d0
    improve documentation (!101) · ef73a0d0
    Hugo Trentesaux authored and Éloïs's avatar Éloïs committed
    * fix
    
    * doc(end2end): detail test users
    
    * doc(all): update docker tag
    
    update docker image name from 0.2.0 to 0.3.0
    use "docker compose" everywhere instead of "docker-compose"
    improve table of content
    fix layout
    
    * doc(all): improve docs
    
    add logo to readme
    add table of content
    rewording
    complete
    
    * doc(all): fix typos
    ef73a0d0
    History
    improve documentation (!101)
    Hugo Trentesaux authored and Éloïs's avatar Éloïs committed
    * fix
    
    * doc(end2end): detail test users
    
    * doc(all): update docker tag
    
    update docker image name from 0.2.0 to 0.3.0
    use "docker compose" everywhere instead of "docker-compose"
    improve table of content
    fix layout
    
    * doc(all): improve docs
    
    add logo to readme
    add table of content
    rewording
    complete
    
    * doc(all): fix typos
verify-runtime-code.md 754 B

Compile the runtime with srtool

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 run \
  -i \
  --rm \
  -e PACKAGE=gdev-runtime \
  -e RUNTIME_DIR=runtime/gdev \
  -v $PWD:/build \
  paritytech/srtool:1.60.0 build --app --json -cM

Then, the runtime wasm bytecode is generated in this location:

runtime/gdev/target/srtool/release/wbuild/gdev-runtime/gdev_runtime.compact.compressed.wasm

To compare it to last official :