mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Additional reformatting and cleanup of RETESTBOR document
This commit is contained in:
parent
30e37c5c7b
commit
b58ce594c2
1 changed files with 14 additions and 15 deletions
29
RETESTBOR.md
29
RETESTBOR.md
|
|
@ -65,22 +65,21 @@ ls
|
||||||
```
|
```
|
||||||
./dretesteth.sh -t GeneralStateTests/stExample -- --testpath /home/ubuntu/retestethBuild/tests --datadir /tests/config
|
./dretesteth.sh -t GeneralStateTests/stExample -- --testpath /home/ubuntu/retestethBuild/tests --datadir /tests/config
|
||||||
```
|
```
|
||||||
This will create the config files for the different clients in ~/tests/config
|
This will create the config files for the different clients in `~/tests/config`
|
||||||
Eventually. these config needs to be adapted according to the following doc
|
Eventually, these configuration files need to be adapted according to the following document:
|
||||||
https://ethereum-tests.readthedocs.io/en/latest/retesteth-tutorial.html
|
|
||||||
Specifically:
|
|
||||||
```
|
|
||||||
If you look inside ~/tests/config, you’ll see a directory for each configured client. Typically this directory has these files:
|
|
||||||
|
|
||||||
config, which contains the configuration for the client:
|
https://ethereum-tests.readthedocs.io/en/latest/retesteth-tutorial.html
|
||||||
The communication protocol to use with the client (typically TCP)
|
|
||||||
The address(es) to use with that protocol
|
Specifically, if you look inside `~/tests/config`, you'll see a directory for each configured client. Typically this directory contains the following:
|
||||||
The forks the client supports
|
|
||||||
The exceptions the client can throw, and how retesteth should interpret them. This is particularly important when testing the client’s behavior when given invalid blocks.
|
* `config`: Contains the test configuration for the client
|
||||||
start.sh, which starts the client inside the docker image
|
* The communication protocol to use with the client (typically TCP).
|
||||||
stop.sh, which stops the client instance(s)
|
* The address(es) to use with that protocol.
|
||||||
genesis, a directory which includes the genesis blocks for various forks the client supports. If this directory does not exist for a client, it uses the genesis blocks for the default client.
|
* The forks supported by the client.
|
||||||
```
|
* The exceptions the client can throw, and how retesteth should interpret them. This is particularly important when testing the client's behavior when given invalid blocks.
|
||||||
|
* `start.sh`: Starts the client inside the Docker image
|
||||||
|
* `stop.sh`: Stops the client instance(s)
|
||||||
|
* `genesis`: A directory which includes the genesis blocks for the various forks supported by the cient. If this directory does not exist for a client, it uses the genesis blocks for the default client.
|
||||||
|
|
||||||
We replaced geth inside docker by using https://ethereum-tests.readthedocs.io/en/latest/retesteth-tutorial.html#replace-geth-inside-the-docker
|
We replaced geth inside docker by using https://ethereum-tests.readthedocs.io/en/latest/retesteth-tutorial.html#replace-geth-inside-the-docker
|
||||||
Theoretically, we would not need any additional config change
|
Theoretically, we would not need any additional config change
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue