Skip to content

Commit

Permalink
docs: remove not existing key from block search query (backport #3399) (
Browse files Browse the repository at this point in the history
#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
<hr>This is an automatic backport of pull request #3399 done by
[Mergify](https://mergify.com).

Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
  • Loading branch information
mergify[bot] and melekes authored Jul 3, 2024
1 parent c4fa9a6 commit b56beec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guides/app-dev/indexing-transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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\""
```


Expand Down
2 changes: 1 addition & 1 deletion rpc/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit b56beec

Please sign in to comment.