-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
indexer: allow to index an event at runtime #4466
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Could you add a changelog entry please?
a9f7349
to
b4b121c
Compare
Changelog added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I'm a bit unsure whether we consider this a breaking change (nodes with and without this change will have differences in persisted data), so I'll leave it for the next minor release to be on the safe side.
b4b121c
to
b9d6011
Compare
|
b9d6011
to
e33eaa8
Compare
@melekes I moved the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (pending conflicts resolutions). I'd double-check that we're not missing documentation anywhere else. I do recall events/indexing docs to be spread amongst a few locations.
e33eaa8
to
cab90c4
Compare
PR rebased. |
@melekes @erikgrinaker what do you guys think about renaming |
I like that |
Now that 0.33.4 is out the door I think we can finally get this merged. Would you mind updating it with |
The PR added a new field `index` to event attribute, that will cause indexer service to index the event if set to true.
0da832f
to
a287611
Compare
@erikgrinaker I rebased the PR on master, tests are passing. |
Fantastic, thank you! |
The PR added a new field `index` to event attribute, that will cause indexer service to index the event if set to true.
## Description In #4466 a new type was created (EventAttribute) that replaced KV.Pair. This made the type Pair deadcode, this pr removes that type. I don't think a changelog entry is needed since it is not being used anymore. But will add a section to the upgrading.md to let users know that it was replaced Closes: #XXX
## Description In tendermint/tendermint#4466 a new type was created (EventAttribute) that replaced KV.Pair. This made the type Pair deadcode, this pr removes that type. I don't think a changelog entry is needed since it is not being used anymore. But will add a section to the upgrading.md to let users know that it was replaced Closes: #XXX
The PR added a new field
index
to event attribute, that will cause indexer service to index the event if set to true.Fixes #3437.