aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-06 18:04:29 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-03-06 21:16:51 +0800
commite3bd3020d13bd898be8c6123b9979c69422e944f (patch)
tree97730a952111f8327db52b3208b8a286737c1d3f /scripts
parent5f5af650ce5ad28179b037b0b7301b6ca7e87364 (diff)
downloaddexon-solidity-e3bd3020d13bd898be8c6123b9979c69422e944f.tar
dexon-solidity-e3bd3020d13bd898be8c6123b9979c69422e944f.tar.gz
dexon-solidity-e3bd3020d13bd898be8c6123b9979c69422e944f.tar.bz2
dexon-solidity-e3bd3020d13bd898be8c6123b9979c69422e944f.tar.lz
dexon-solidity-e3bd3020d13bd898be8c6123b9979c69422e944f.tar.xz
dexon-solidity-e3bd3020d13bd898be8c6123b9979c69422e944f.tar.zst
dexon-solidity-e3bd3020d13bd898be8c6123b9979c69422e944f.zip
Use new eth binary for trusty.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tests.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index 60dae2e4..bf4ee3d9 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -59,12 +59,15 @@ function download_eth()
ETH_PATH="eth"
else
mkdir -p /tmp/test
- ETH_BINARY=eth_byzantium_artful
- ETH_HASH="e527dd3e3dc17b983529dd7dcfb74a0d3a5aed4e"
if grep -i trusty /etc/lsb-release >/dev/null 2>&1
then
- ETH_BINARY=eth_byzantium2
- ETH_HASH="4dc3f208475f622be7c8e53bee720e14cd254c6f"
+ # built from 1ecff3cac12f0fbbeea3e645f331d5ac026b24d3 at 2018-03-06
+ ETH_BINARY=eth_byzantium_trusty
+ ETH_HASH="5432ea81c150e8a3547615bf597cd6dce9e1e27b"
+ else
+ # built from ?? at 2018-02-13 ?
+ ETH_BINARY=eth_byzantium_artful
+ ETH_HASH="e527dd3e3dc17b983529dd7dcfb74a0d3a5aed4e"
fi
wget -q -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/$ETH_BINARY
test "$(shasum /tmp/test/eth)" = "$ETH_HASH /tmp/test/eth"
@@ -121,4 +124,4 @@ wait $CMDLINE_PID
pkill "$ETH_PID" || true
sleep 4
-pgrep "$ETH_PID" && pkill -9 "$ETH_PID" || true \ No newline at end of file
+pgrep "$ETH_PID" && pkill -9 "$ETH_PID" || true