Skip to content

Instantly share code, notes, and snippets.

@jwasinger
Last active December 19, 2017 02:52
Show Gist options
  • Save jwasinger/12b76ce3836bc399fceb0618cef3229d to your computer and use it in GitHub Desktop.
Save jwasinger/12b76ce3836bc399fceb0618cef3229d to your computer and use it in GitHub Desktop.
Trace Equivalence Tester Setup (using docker images for clients)

Setup python environment

git clone https://github.com/holiman/evmlab
cd evmlab
mkdir randoLogs
pipenv --python 3.5
pipenv shell

Install Deps

pip install git+https://github.com/ethereum/pyethereum # 'ethereum' pip package currently broken so install from master branch
pip install -r requirements.txt

Build client images

cd containers
./build_and_push_all.sh

Config Setup

Modify statetests.ini

clients = js,geth # or whatever other clients that you want to test
random_tests = No
tests_path = /path/to/tests

Run

python trace_state_tests.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment