aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-13 22:58:33 +0800
committerGitHub <noreply@github.com>2018-12-13 22:58:33 +0800
commit996bfb2a83bf1d99192575fa05ba43e4bc05ef0c (patch)
treeb9e07258135cf3d0b8aeeb422f1d5172db75b93f
parent1d274a8924a9a26f75adbea6dfed7883e1aaa029 (diff)
parent02a8e5d4e999f0e3610e124c74b7b1492852fbe0 (diff)
downloaddexon-solidity-996bfb2a83bf1d99192575fa05ba43e4bc05ef0c.tar
dexon-solidity-996bfb2a83bf1d99192575fa05ba43e4bc05ef0c.tar.gz
dexon-solidity-996bfb2a83bf1d99192575fa05ba43e4bc05ef0c.tar.bz2
dexon-solidity-996bfb2a83bf1d99192575fa05ba43e4bc05ef0c.tar.lz
dexon-solidity-996bfb2a83bf1d99192575fa05ba43e4bc05ef0c.tar.xz
dexon-solidity-996bfb2a83bf1d99192575fa05ba43e4bc05ef0c.tar.zst
dexon-solidity-996bfb2a83bf1d99192575fa05ba43e4bc05ef0c.zip
Merge pull request #5648 from ethereum/useMemoryDB
Update to use memorydb for aleth.
-rw-r--r--docs/contributing.rst4
-rwxr-xr-xscripts/tests.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst
index 47d0d070..41573ea1 100644
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -90,7 +90,7 @@ The option ``--no-smt`` disables the tests that require ``libz3`` and
``--no-ipc`` disables those that require ``aleth``.
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.0-alpha.7/aleth-1.5.0-alpha.7-linux-x86_64.tar.gz>`_ and run it in testing mode: ``aleth --test -d /tmp/testeth`` (make sure to rename it).
+you need to install `aleth <https://github.com/ethereum/aleth/releases/download/v1.5.0-alpha.7/aleth-1.5.0-alpha.7-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``.
@@ -122,7 +122,7 @@ The CI runs additional tests (including ``solc-js`` and testing third party Soli
.. note ::
- You can not use some versions of ``aleth`` for testing. We suggest using
+ Some versions of ``aleth`` can not be used for testing. We suggest using
the same version that the Solidity continuous integration tests use.
Currently the CI uses version ``1.5.0-alpha.7`` of ``aleth``.
diff --git a/scripts/tests.sh b/scripts/tests.sh
index 1a8a32cf..8a7a2fdc 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -149,7 +149,7 @@ function download_aleth()
# echos the PID
function run_aleth()
{
- $ALETH_PATH --test -d "${WORKDIR}" >/dev/null 2>&1 &
+ $ALETH_PATH --db memorydb --test -d "${WORKDIR}" >/dev/null 2>&1 &
echo $!
# Wait until the IPC endpoint is available.
while [ ! -S "${WORKDIR}/geth.ipc" ] ; do sleep 1; done