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 10:34:38 +01:00
committed by GitHub
co-authored by Anca Zamfir Sergio Mena Romain Ruetschi Thane Thomson
parent 775026ecfd
commit 94a5fdfb5f
19 changed files with 892 additions and 93 deletions
+5
View File
@@ -140,6 +140,11 @@ const (
// BlockHeightKey is a reserved key used for indexing BeginBlock and Endblock
// events.
BlockHeightKey = "block.height"
// MatchEventsKey is a reserved key used to indicate to the indexer that the
// conditions in the query have to have occurred both on the same height
// as well as in the same event
MatchEventKey = "match.events"
)
var (