diff --git a/.changelog/unreleased/bug-fixes/1319-use-compactmode-last-block-results.md b/.changelog/unreleased/bug-fixes/1319-use-compactmode-last-block-results.md new file mode 100644 index 000000000..e698fcc95 --- /dev/null +++ b/.changelog/unreleased/bug-fixes/1319-use-compactmode-last-block-results.md @@ -0,0 +1 @@ +- `[tendermint]` fix: use compat mode to decode response from `latest_block_results`. \ No newline at end of file diff --git a/rpc/src/client/transport/http.rs b/rpc/src/client/transport/http.rs index 2c89d4163..ceaa427cd 100644 --- a/rpc/src/client/transport/http.rs +++ b/rpc/src/client/transport/http.rs @@ -181,6 +181,10 @@ impl Client for HttpClient { perform_with_compat!(self, endpoint::block_results::Request::new(height.into())) } + async fn latest_block_results(&self) -> Result { + perform_with_compat!(self, endpoint::block_results::Request::default()) + } + async fn header(&self, height: H) -> Result where H: Into + Send,