Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Add capabilities to generate and run test fixtures using JSON-RPC #369

Closed
wtf opened this issue Mar 5, 2019 · 0 comments
Closed

Add capabilities to generate and run test fixtures using JSON-RPC #369

wtf opened this issue Mar 5, 2019 · 0 comments

Comments

@wtf
Copy link
Member

wtf commented Mar 5, 2019

We should be able to generate and execute client tests using clients other than aleth (current implementation can be found at https://github.com/ethereum/testeth). Adding json-rpc endpoints to clients in order to implement a standardized way of doing these seems like the way to go.

The goal here is to add these capabilities to Trinity, so it can serve as a starting point (and eventually, maybe a reference implementation) for all clients to implement them.

A high-level to-do list might be:

  • Add functionality to execute test artefacts
  • Add functionality to generate test artefacts from fillers
  • Expose testing functionality using json-rpc
  • Ensure all functions needed for testing are exposed through json-rpc by clients
  • Draft a spec for genesis blocks (Common genesis.json format scheme across all client implementations EIPs#1085)
  • Draft a spec for json-rpc endpoints used for testing

Related work so far:

Related issues:

Useful resources:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants