Update to aleth v1.6.0

This commit is contained in:
Mathias Baumann 2019-05-07 16:03:53 +02:00
parent 473243ef31
commit d8873f52df
2 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,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.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``. you need to install `aleth <https://github.com/ethereum/aleth/releases/download/v1.6.0/aleth-1.6.0-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

@ -134,9 +134,9 @@ function download_aleth()
ALETH_PATH="aleth" ALETH_PATH="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 the compiler tests" section in contributing.rst should also be updated.
ALETH_HASH="8979a9179d5222c89bf9daf7ca73cc115fa2dac2" ALETH_HASH="7f7004e1563299bc57882e32b32e4a195747dfb6"
ALETH_VERSION=1.6.0-rc.1 ALETH_VERSION=1.6.0
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