From b56beecb66cd53c71e7baf216722c1b08a046fa3 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:28:51 +0400 Subject: [PATCH] docs: remove not existing key from block search query (backport #3399) (#3408) Closes #3266 --- #### PR checklist - [ ] ~~Tests written/updated~~ - [ ] ~~Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog)~~ - [x] Updated relevant documentation (`docs/` or `spec/`) and code comments - [x] Title follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec
This is an automatic backport of pull request #3399 done by [Mergify](https://mergify.com). Co-authored-by: Anton Kaliaev --- docs/guides/app-dev/indexing-transactions.md | 2 +- rpc/openapi/openapi.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/app-dev/indexing-transactions.md b/docs/guides/app-dev/indexing-transactions.md index 69f610a3bb1..fa1e8e63849 100644 --- a/docs/guides/app-dev/indexing-transactions.md +++ b/docs/guides/app-dev/indexing-transactions.md @@ -260,7 +260,7 @@ You can query for a paginated set of blocks by their events by calling the `/block_search` RPC endpoint: ```bash -curl "localhost:26657/block_search?query=\"block.height > 10 AND val_set.num_changed > 0\"" +curl "localhost:26657/block_search?query=\"block.height > 10\"" ``` diff --git a/rpc/openapi/openapi.yaml b/rpc/openapi/openapi.yaml index 26c8053e50d..aeb6d51a7d0 100644 --- a/rpc/openapi/openapi.yaml +++ b/rpc/openapi/openapi.yaml @@ -966,7 +966,7 @@ paths: required: true schema: type: string - example: '"block.height > 1000 AND valset.changed > 0"' + example: '"block.height > 1000"' - in: query name: page description: "Page number (1-based)"