-
Notifications
You must be signed in to change notification settings - Fork 12
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
Implement IBC channel handshake #62
Conversation
ethanfrey
commented
Jun 20, 2023
•
edited
Loading
edited
- Add version handshake logic
- Extends documentation on channel handshake protocol
- Add all ibc entry points as stubs for external-staking and converter
- Implement the 3 channel lifetime calls
- Add E2E tests (with Go ibctesting?)
This is implemented and documented. We need E2E tests, but I think that is not blocking the merge |
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.
@@ -70,6 +70,20 @@ The general process (assuming a vault is already established on the provider) is | |||
3. Create IBC channel from provider to consumer | |||
4. Apply to consumer governance to provide a virtual staking max cap to the associated virtual staking contract, so that this connection may have voting power. | |||
|
|||
### Handshake |
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.
👍🏼 Good description.
@@ -73,6 +74,10 @@ impl ExternalStakingContract<'_> { | |||
|
|||
set_contract_version(ctx.deps.storage, CONTRACT_NAME, CONTRACT_VERSION)?; | |||
|
|||
// Question: do we need to validate here? Is there a defined schema for such | |||
// Question: should we add a query endpoint for this? |
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 so. Just turn into a TODO.
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.
Done in 70a71ff