-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retesteth usage in a private network #212
Comments
Can retesteth run test through RPC? |
sorry for the late response. message me on @wdimitry telegram I help with the setup. yes, test RPC are still supported. but if you use fork of geth you must use t8n. if you develop your own client you can develop RPC if this is preferable for you. RPC is not supported by pyspecs so you wont be able to generate .py tests. (but able to run it) to use nodes the config must be TCP socket style. not t8n. |
Hello,
I am trying to run retesteth against a custom client based on pre-merge geth v1.11.* that is utilising PoW consensus inside a private network.
I am writing because I feel that are some knowledge gaps of how to use it and hoping to get some help. Excuse me in advance if this is not the correct place.
Just for reference, I am running on the code on arm (M1 Pro).
Here are the steps that I am doing:
./retesteth/build/retesteth/retesteth -t GeneralStateTests -- --testpath /tests --nodes 0.0.0.0:8545
So far so good, the tests run and 99% of them pass. What I am having trouble understanding is the following:
But I see there are also genesis files for specific forks - since I am using a private network starting from block 0 and a custom genesis - how can I specify that and be sure that I am executing the tests correctly?
I tried adding another genesis.json file in the config folder and also another supported fork in the config file under the forks and running the tests with
but here the tests just run and in the end it says 0 had been run.
Full log here:
Not sure If I am using retesteth in the correct manner for testing a private network. Any help or materials/guidance will be appreciated.
Thank you in advance :)
The text was updated successfully, but these errors were encountered: