-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
x/ibc migrate genesis proto #6878
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6878 +/- ##
==========================================
+ Coverage 61.86% 62.01% +0.15%
==========================================
Files 421 519 +98
Lines 25498 32060 +6562
==========================================
+ Hits 15775 19883 +4108
- Misses 8371 10559 +2188
- Partials 1352 1618 +266 |
Thanks @atheeshp! @colin-axner and I can take it from here. We are working on the final migrations to switch ibc to be full-proto compatible |
Sure, go on. |
…17-ibc-migrate-genesis-proto
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.
tested ACK
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.
🎉
sims on import/export are still failing for me locally. Is there something we need to do to flip the switch to proto from amino? |
@colin-axner I'm taking a look now, will let you know if I can find what's causing this |
@colin-axner @fedekunze I see
|
@sahith-narahari I see that your diff if outdated? Those types are already migrated on this branch |
Oh yes, you're right. Sorry, my bad |
we are going to automerge this since the same sims failing are still failing on master. We will open up a followup pr to try to fix the sims (since the changes should be outside the scope of this pr), which I suspect requires using proto instead of amino, unless we should still be able to be amino compatible while using |
so specifically the issue here is: we want to marshal/unmarshal
My understanding between the compatibility of amino and proto is very limited. I have been under the impression, IBC will not support any amino compatibility. Maybe there is still work to be done to switch to proto for genesis? Is there a way to proto define Would love help with this, I'm just running in circles atm. cc/ @sahith-narahari |
* migrated channel genesis types to proto * connection genesis types migrated to proto * client proto migration * failing tests due to tendermint part incomplete * add genesis test * x/ibc: ClientState Any * add genesis test * suite NotPanics * comment tests * update export logic * refactor * update test * fix non-determinism * castrepeated * x/ibc: migrate simulations to protobuf * add proto genesis * add UnpackInterfaces func to genclientstate * add unpackinterfaces for consensus states * formatting * fix genesis tests * add modified genesis test * update comments * remove localhost register codec * use app registry * fix bug * Update simapp/app.go * Update x/ibc/02-client/types/genesis.go * unmarshaler interface Co-authored-by: Colin Axner <colinaxner@berkeley.edu> Co-authored-by: Federico Kunze <federico.kunze94@gmail.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>
ref: #5917
closes: #XXXX
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes