From 0ba6d5a653abd9f144a215420fa9d01f2f42de37 Mon Sep 17 00:00:00 2001 From: Cyrill Leutwiler Date: Fri, 4 Jul 2025 12:48:48 +0200 Subject: [PATCH] update README.md Signed-off-by: Cyrill Leutwiler --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 87b73fd..85510a1 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,24 @@ The revive differential testing framework allows to define smart contract tests For now, the format used to write tests is the [matter-labs era compiler format](https://github.com/matter-labs/era-compiler-tests?tab=readme-ov-file#matter-labs-simplecomplex-format). This allows us to re-use many tests from their corpora. +# Dependencies + +The following is needed to execute `geth` vs. substrate node differential tests: +- [`geth` node](https://github.com/ethereum/go-ethereum/) +- `kitchensink` node and revive ETH RPC binary +- [`solc` compiler](https://github.com/ethereum/solidity) +- [`resolc` compiler](https://github.com/paritytech/revive) + +For the compilers and `geth` node please check the project help on how to obtain them. + +To install the `kitchensink` node and the ETH RPC binary: +``` +git submodule update --init --recursive +cd polkadot-sdk +cargo install --locked --force --profile=production --path substrate/bin/node/cli --bin substrate-node --features cli +cargo install --path substrate/frame/revive/rpc --bin eth-rpc +``` + # The `retester` utility The `retester` helper utilty is used to run the tests. To get an idea of what `retester` can do, please consults its command line help: