state/kvindexer: associate event attributes with events (#9759)

* Updated event sequencing and added query keyword

* code cosmetics

* Documentation update

* Added per event indexing and querying to txindexer

* rpc test fix

* Added support for older versions where event sequencing is not supported

* Added support for old versions to tx indexer

* Added RPC match flag, fixed bugs in tx indexer, added tests

* Removed reference to match.events from the docs

* Openapi update

* Added height deduplication
Co-authored-by: Thane Thomson <connect@thanethomson.com>

Co-authored-by: Anca Zamfir <zamfiranca@gmail.com>
Co-authored-by: Sergio Mena <sergio@informal.systems>
Co-authored-by: Romain Ruetschi <romain.ruetschi@gmail.com>
Co-authored-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
Jasmina Malicevic
2022-12-14 13:27:32 +01:00
co-authored by Anca Zamfir Sergio Mena Romain Ruetschi Thane Thomson
parent 29ae12e0ff
commit b6d99beae6
18 changed files with 886 additions and 92 deletions
+16
View File
@@ -1092,6 +1092,14 @@ paths:
type: string
default: "asc"
example: "asc"
- in: query
name: match_events
description: Match attributes in query within events, in addition to the height & txhash
required: false
schema:
type: boolean
default: false
example: true
tags:
- Info
responses:
@@ -1147,6 +1155,14 @@ paths:
type: string
default: "desc"
example: "asc"
- in: query
name: match_events
description: Match attributes in query within events, in addition to the height
required: false
schema:
type: boolean
default: false
example: true
tags:
- Info
responses: