-
Notifications
You must be signed in to change notification settings - Fork 332
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
Upgrade to IBC-go v2 #1582
Upgrade to IBC-go v2 #1582
Conversation
…ryAppVersionRequest in cosmos.rs
…_channel (called for ack and confirm) as version validation is not done here
Thank you for the quick updates to this branch, very much appreciated! ❤️ With the latest changes, the handshake flow for I am still trying to debug some issues wrt. executing an I had experienced this before and it was a case that the validator address had been used for the relayer wallet. However, in this case I've set it up such that there is separate wallets being used. Will continue with this tomorrow! Edit: A brief update on this: after restarting hermes the packet is received on chain B and executes the Edit 2: I spent this morning refactoring the scripts in the |
…l is already specified
Ack: When tested with the changes in ibc-go #624 channel workers are now picking up events emitted from ICS-27 handshake initiation and correctly finishing them! Looks good 🙌 LGTM when you are happy with it :) |
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.
🚀
@@ -300,8 +300,8 @@ impl From<Counterparty> for RawCounterparty { | |||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Deserialize, Serialize)] | |||
pub enum Order { | |||
None = 0, | |||
Unordered, | |||
Ordered, | |||
Unordered = 1, |
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.
😍
* Proto generation result aligned w/ ibc-go v2 * Registered port.v1.rs as a proto file. Initial sketch for calling QueryAppVersionRequest in cosmos.rs * Cleanup ICS04 version. Add separate versions in channel.rs * Using ics04::Version; module_version -> app_version * add version resolve() method * query_app_version with a Grpc request * Separate version for each ChannelSide * Version domain type in the ibc module * Clippy problems re: Version newtype * First iteration of a solution to negotiate versions. Big TODO left * Refactor dst_app_version into the version mod * Bump ibc compat to v2 * Fixed proposed version * More disciplined logs * Debugging tx raw chan open try * fmt * Formatting * Remove redundant imports * Formatting * Fixes cf. Romain's review. * Only resolve version for init and try, remove from validated_expected_channel (called for ack and confirm) as version validation is not done here * Introduce Version::empty() * Attempt to catch gaia E2E errors w/ continue-on-error: false * More accurate naming: Other -> ChanOpenTry variant * Avoid fetching the default channel by port when there a source channel is already specified * Introduced domain-type request * changelog * Use explicit i32 values for the `Order` enum Co-authored-by: Romain Ruetschi <[email protected]> Co-authored-by: Anca Zamfir <[email protected]>
Closes #1410
Description
IBC-go V2 is already live on some networks.
Hub-4 plans to upgrade to ibc-go v2 on December 13th: gov proposal draft is here: https://hackmd.io/@okwme/vega-upgrade
Other
variant should beChanOpenTry
(we don't do anything in any other case..)true
) for gaia tests with v6.0.0 to catch the errorFor contributor use:
unclog
.docs/
) and code comments.Files changed
in the Github PR explorer.