|
@@ -1,5 +1,8 @@
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
+# The script computes the b2sum of the wasm blob in a pre-built joystream/node image
|
|
|
+# Assumes b2sum is already instally on the host machine.
|
|
|
+
|
|
|
# Create a non running container from joystream/node
|
|
|
docker create --name temp-container-joystream-node joystream/node
|
|
|
|
|
@@ -13,4 +16,5 @@ docker rm temp-container-joystream-node
|
|
|
# ubuntu 17.0+ with: apt-get install coreutils; b2sum -l 256 joystream_runtime.wasm
|
|
|
# TODO: add install of b2sum to setup.sh
|
|
|
b2sum -l 256 joystream_runtime.wasm
|
|
|
+b2sum -l 512 joystream_runtime.wasm
|
|
|
rm joystream_runtime.wasm
|