Update aleth to version 1.6.0-rc.1.

This commit is contained in:
Daniel Kirchner 2019-04-12 16:11:41 +02:00
parent 9624a69d37
commit 4e6ffc744d
2 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ The option ``--no-smt`` disables the tests that require ``libz3`` and
``--no-ipc`` disables those that require ``aleth``. ``--no-ipc`` disables those that require ``aleth``.
If you want to run the ipc tests (that test the semantics of the generated code), If you want to run the ipc tests (that test the semantics of the generated code),
you need to install `aleth <https://github.com/ethereum/aleth/releases/download/v1.5.2/aleth-1.5.2-linux-x86_64.tar.gz>`_ and run it in testing mode: ``aleth --db memorydb --test -d /tmp/testeth``. you need to install `aleth <https://github.com/ethereum/aleth/releases/download/v1.6.0-rc.1/aleth-1.6.0-rc.1-linux-x86_64.tar.gz>`_ and run it in testing mode: ``aleth --db memorydb --test -d /tmp/testeth``.
To run the actual tests, use: ``./scripts/soltest.sh --ipcpath /tmp/testeth/geth.ipc``. To run the actual tests, use: ``./scripts/soltest.sh --ipcpath /tmp/testeth/geth.ipc``.

View File

@ -135,8 +135,8 @@ function download_aleth()
else else
mkdir -p /tmp/test mkdir -p /tmp/test
# Any time the hash is updated here, the "Running compiler tests" section should also be updated. # Any time the hash is updated here, the "Running compiler tests" section should also be updated.
ALETH_HASH="a6a9884bf3e5d8b3e01b55d4f6e9fe6dce5b5db7" ALETH_HASH="8979a9179d5222c89bf9daf7ca73cc115fa2dac2"
ALETH_VERSION=1.5.2 ALETH_VERSION=1.6.0-rc.1
wget -q -O /tmp/test/aleth.tar.gz https://github.com/ethereum/aleth/releases/download/v${ALETH_VERSION}/aleth-${ALETH_VERSION}-linux-x86_64.tar.gz wget -q -O /tmp/test/aleth.tar.gz https://github.com/ethereum/aleth/releases/download/v${ALETH_VERSION}/aleth-${ALETH_VERSION}-linux-x86_64.tar.gz
test "$(shasum /tmp/test/aleth.tar.gz)" = "$ALETH_HASH /tmp/test/aleth.tar.gz" test "$(shasum /tmp/test/aleth.tar.gz)" = "$ALETH_HASH /tmp/test/aleth.tar.gz"
tar -xf /tmp/test/aleth.tar.gz -C /tmp/test tar -xf /tmp/test/aleth.tar.gz -C /tmp/test