From 5e92d9c1d43435028ea5e20ce6b4e44b0201f326 Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Thu, 20 Dec 2018 10:41:01 +0100 Subject: Updated notes on docker image in test generation docs --- docs/generating-tests.rst | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/generating-tests.rst b/docs/generating-tests.rst index 36773f569..ab492bf14 100644 --- a/docs/generating-tests.rst +++ b/docs/generating-tests.rst @@ -33,19 +33,14 @@ Preparing testeth and LLL For generating consensus tests, an executable ``testeth`` is necessary. Moreover, ``testeth`` uses the LLL compiler when it generates consensus tests. -Option 1: Using a docker image ------------------------------- - -.. note:: Docker images are currently outdated, please go for option 2. - -There is one `docker image `_ provided by holiman_ and another `image `_ provided by winsvega_. +Option 1: Using the docker image +-------------------------------- -.. _holiman: https://github.com/holiman -.. _winsvega: https://github.com/winsvega +There is a `docker image `_ available containing the `testeth` tool from the `aleth` toolset regularly updated and specifically build for the purpose of test creation. * `Install Docker`_ -* Pull the ``testeth`` repository with ``docker pull holiman/testeth`` -* ``docker run -v :/foobar holiman/testeth -t GeneralStateTests/stCallCodes -- --singletest callcall_00 --singlenet EIP150 -d 0 -g 0 -v 0 --statediff --verbosity 5 --testpath /foobar`` should show something like +* Pull the ``testeth`` repository with ``docker pull ethereum/testeth:nightly`` (or an alternative available tag) +* ``docker run -v :/foobar ethereum/testeth:nightly -t GeneralStateTests/stCallCodes -- --singletest callcall_00 --singlenet Byzantium -d 0 -g 0 -v 0 --statediff --verbosity 5 --testpath /foobar`` should show something like .. code:: -- cgit v1.2.3