Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

tendermint-rs: Add tests for /block_results RPC endpoint #268

Merged
merged 1 commit into from
Jun 20, 2019

Conversation

tarcieri
Copy link
Contributor

Previously there was only a live integration test.

This tests against a vendored RPC result for cosmoshub-1, and does a number of assertions on how the data is parsed.

It also simplifies the API somewhat through the addition of some custom parsers that eliminate superfluous Option types (e.g. where an empty Vec would suffice).

Previously there was only a live integration test.

This tests against a vendored RPC result for cosmoshub-1, and does a
number of assertions on how the data is parsed.

It also simplifies the API somewhat through the addition of some custom
parsers that eliminate superfluous `Option` types (e.g. where an empty
`Vec` would suffice).
@tarcieri tarcieri force-pushed the tendermint-rs/block-results-test branch from d9ed27c to 3e1c142 Compare June 20, 2019 13:40
@tarcieri tarcieri merged commit 7fa19fd into master Jun 20, 2019
@tarcieri tarcieri deleted the tendermint-rs/block-results-test branch June 20, 2019 13:48
@tarcieri tarcieri mentioned this pull request Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants