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
Rename Tag(s) to Event(s) #4046
Conversation
- tag was replaced with event, but in some places it still mentions tag, would be easier to understand if we tried to replace it with event to not confuse people. Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
Codecov Report
@@ Coverage Diff @@
## master #4046 +/- ##
==========================================
- Coverage 67.27% 67.25% -0.02%
==========================================
Files 223 223
Lines 19342 19342
==========================================
- Hits 13012 13009 -3
- Misses 5349 5355 +6
+ Partials 981 978 -3
|
We need to agree on naming here. In #4077 I've proposed the new name - |
I am fine with that, makes more sense, will make the adjustments, |
config/config.go
Outdated
@@ -875,7 +875,7 @@ func (cfg *ConsensusConfig) ValidateBasic() error { | |||
// TxIndexConfig | |||
|
|||
// TxIndexConfig defines the configuration for the transaction indexer, | |||
// including tags to index. | |||
// including compositeKeys to index. |
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.
I think we'll need to explain what compositeKey is here:
Remember that Event have a following structure:
type: [
key: value,
...
]
composite key is a type and key, separated by a single dot. For example, given the Event below
"jack": [
"account.number": 100
]
composite key will be jack.account.number
Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com>
Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com>
…t/tendermint into marko/rename-Tag-Event
we will need a changelog entry since we're breaking the config file (old config files won't work with new TM) |
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.
👭 🚀 🌔
CHANGELOG_PENDING.md
Outdated
@@ -70,14 +72,14 @@ program](https://hackerone.com/tendermint). | |||
- Blockchain Protocol | |||
|
|||
- [abci] \#2521 Remove `TotalTxs` and `NumTxs` from `Header` | |||
- [types] [\#4151](https://github.com/tendermint/tendermint/pull/4151) Enforce ordering of votes in DuplicateVoteEvidence to be lexicographically sorted on BlockID | |||
- [types][\#4151](https://github.com/tendermint/tendermint/pull/4151) Enforce ordering of votes in DuplicateVoteEvidence to be lexicographically sorted on BlockID |
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.
🤣 so I am adding white spaces and you're deleting them, nice
Signed-off-by: Marko Baricevic marbar3778@yahoo.com