Fix block generation by updating codec versions in wasm (#810)

* Fixes for staging testnet

* Fix codec versioning

* Comment unneeded trace

* Update lib.rs

* Update parity-codec

* Add script to update wasm deps and update them.

* Update hashes

* Add BBQ Birch testnet

* it's default-features, apparently.

* Use simpler version spec for parity codec

* Typo
This commit is contained in:
Gav Wood
2018-09-27 14:38:56 +01:00
committed by GitHub
parent 29c9719568
commit 851c7f42df
54 changed files with 915 additions and 760 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/env bash
# This script assumes that all pre-requisites are installed.
set -e
PROJECT_ROOT=`git rev-parse --show-toplevel`
source `dirname "$0"`/common.sh
export CARGO_INCREMENTAL=0
# Save current directory.
pushd .
cd $ROOT
for SRC in "${SRCS[@]}"
do
echo "*** Updating and building wasm binaries in $SRC"
cd "$PROJECT_ROOT/$SRC"
cargo update
./build.sh
cd - >> /dev/null
done
# Restore initial directory.
popd