Skip to content
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

Make rpc-probe create gaiad test fixtures #757

Open
greg-szabo opened this issue Dec 20, 2020 · 0 comments
Open

Make rpc-probe create gaiad test fixtures #757

greg-szabo opened this issue Dec 20, 2020 · 0 comments

Comments

@greg-szabo
Copy link
Member

greg-szabo commented Dec 20, 2020

rpc-probe currently runs against kvstore to create test fixtures. The preparations to do the same with gaiad (post-stargate) have finished. There is an informaldev:gaiad docker image to run and pre-populated transactions are available under tools/docker/gaiad-... that can create some traffic on a gaiad network so the endpoints return some richer results.

What needs to be done:

  • Expand rpc-probe so it can run additional steps before it starts polling the endpoint:
    • Read the pre-signed transactions
    • Send them to POST 127.0.0.1:1317/txs (expect a gaiacli RPC endpoint there)
    • Note the height in the response
    • Use the height in the quiries where applicable to get a richer response (for example /block?height=...)

After this, the tendermint-rpc tests can be expanded with the gaiad fixtures for additional tests.

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

No branches or pull requests

1 participant