-
Notifications
You must be signed in to change notification settings - Fork 227
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
rpc: Add probe to capture responses from Tendermint RPC for use in testing #653
Conversation
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #653 +/- ##
========================================
- Coverage 39.5% 39.1% -0.4%
========================================
Files 183 191 +8
Lines 12871 12550 -321
Branches 2943 3234 +291
========================================
- Hits 5095 4918 -177
+ Misses 7528 7387 -141
+ Partials 248 245 -3
Continue to review full report at Codecov.
|
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a follow up PR I would like to set the version number of the crate to the upcoming release and pin the Docker Hub image to the same version that the release is going to use.
Cool, we could do that in a separate PR or just in the v0.17.0-rc3 release PR. |
Closes #611 and #612.
I'm adding a small RPC probe application here that specifically does not rely on the
tendermint-rpc
crate and allows for maximal flexibility in JSON-RPC response structure. The idea here is to be able to execute a bunch of queries/subscriptions against a running Tendermint node and capture the responses (and possibly the requests, if needed).These responses we can then add into our text fixtures for local "integration" testing.
The probe doesn't depend on any other crates in the repo - this is by design, since its purpose is to capture responses potentially outside the purview of our serialization infrastructure.
📖 Rendered README