Skip to content

Commit

Permalink
tendermint-rpc: Improve Query API (#1229)
Browse files Browse the repository at this point in the history
* Make `Query` fields public

* Add `Condition::key` method

* Add changelog entry

* Update .changelog/unreleased/improvements/1230-query-api.md

Co-authored-by: Thane Thomson <thane@informal.systems>

* Refactor `Condition` into a struct with its key and an `Operation` enum (#1231)

Co-authored-by: Thane Thomson <thane@informal.systems>
  • Loading branch information
romac and thanethomson committed Nov 16, 2022
1 parent d102af4 commit edfe568
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 66 deletions.
3 changes: 3 additions & 0 deletions .changelog/unreleased/improvements/1230-query-api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- `[tendermint-rpc]` Make `tendermint_rpc::Query`'s fields
public and add a `Condition::key(&self) -> &str` method
([#1230](https://github.com/informalsystems/tendermint-rs/issues/1230))

0 comments on commit edfe568

Please sign in to comment.