-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Emit header in MsgUpdateClient events (bp #8624) #8770
Conversation
* emit header in update client msg * update CHANGELOG * update spec * fix nil header bug * use JSON encoding for emitting header * Update x/ibc/core/spec/06_events.md * use proto for encoding * add tests * encode to hex before emitting header in event * add comment addressing reasoning for hex encoding * Update CHANGELOG.md Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: Alessio Treglia <alessio@tendermint.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> (cherry picked from commit a9b034b) # Conflicts: # CHANGELOG.md
Codecov Report
@@ Coverage Diff @@
## release/v0.41.x #8770 +/- ##
================================================
Coverage 61.95% 61.96%
================================================
Files 612 612
Lines 35417 35430 +13
================================================
+ Hits 21942 21953 +11
- Misses 11155 11156 +1
- Partials 2320 2321 +1
|
(cherry picked from commit a9b034b) Co-authored-by: Alessio Treglia <alessio@tendermint.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
This has been reverted due to concerns that it could be state machine breaking |
What are the concerns? |
AFAIK events are part of consensus and this is thus state machine breaking. @marbar3778 would know for sure from the TM side |
We will test the merged commit again against the hub and/or figure out why there was no consensus failure during the first test. |
see comment |
@zmanian @marbar3778 @shahankhatch can we make a decision on this, please? |
Its fine to merge IMO. If it helps why not. |
I think Events are not hashed into gaia on the Hub right but I am only 70% confident this is the case. Some investigation would be good. @marbar3778 are you confident? |
It is safe to merge this, in the spec https://docs.tendermint.com/master/spec/core/data_structures.html#header we mention not hashing the events. I missed it earlier. Colin did a deep dive in the code as well, we confirmed it is not. |
Commit has been reintroduced. This is back in v0.42.0 milestone |
This is an automatic backport of pull request #8624 done by Mergify.
Cherry-pick of a9b034b has failed:
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refresh
will re-evaluate the rules@Mergifyio rebase
will rebase this PR on its base branch@Mergifyio update
will merge the base branch into this PR@Mergifyio backport <destination>
will backport this PR on<destination>
branchAdditionally, on Mergify dashboard you can:
Finally, you can contact us on https://mergify.io/