refactor(abci): add msg index to event (#15845)

Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
This commit is contained in:
Marko
2023-04-24 09:07:14 +00:00
committed by GitHub
co-authored by Facundo Medica Facundo Medica
parent 295c261b18
commit 8e896f4d31
10 changed files with 45 additions and 22 deletions
+1
View File
@@ -29,6 +29,7 @@ An Event contains:
* A `type` to categorize the Event at a high-level; for example, the Cosmos SDK uses the `"message"` type to filter Events by `Msg`s.
* A list of `attributes` are key-value pairs that give more information about the categorized Event. For example, for the `"message"` type, we can filter Events by key-value pairs using `message.action={some_action}`, `message.module={some_module}` or `message.sender={some_sender}`.
* A `msg_index` to identify which messages relate to the same transaction
:::tip
To parse the attribute values as strings, make sure to add `'` (single quotes) around each attribute value.