Skip to content
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

ibc host chain interface v2 #3598

Merged
merged 10 commits into from
Jan 18, 2024
Merged

ibc host chain interface v2 #3598

merged 10 commits into from
Jan 18, 2024

Conversation

avahowell
Copy link
Contributor

No description provided.

@avahowell avahowell changed the title wip: Ibc host chain interface v2 Ibc host chain interface v2 Jan 12, 2024
@avahowell avahowell changed the title Ibc host chain interface v2 ibc host chain interface v2 Jan 12, 2024
@hdevalence hdevalence requested a review from cratelyn January 12, 2024 22:49
@avahowell avahowell force-pushed the ibc-host-chain-interface-v2 branch from 61625a4 to 509bb68 Compare January 13, 2024 08:39
@cratelyn
Copy link
Contributor

let me know when this is ready for another round of review @avahowell! 🔍 🙂

@avahowell
Copy link
Contributor Author

this should be ready for another round of review now!

Copy link
Contributor

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good to me! i spotted a stray comment that i believe is stale, but the mechanical changes here all seem well-written. great work @avahowell!

crates/core/app/src/penumbra_host_chain.rs Outdated Show resolved Hide resolved
@avahowell avahowell force-pushed the ibc-host-chain-interface-v2 branch from d349926 to 40b6bf1 Compare January 18, 2024 18:22
@avahowell avahowell merged commit 1b1be7e into main Jan 18, 2024
7 checks passed
@avahowell avahowell deleted the ibc-host-chain-interface-v2 branch January 18, 2024 23:16
noot added a commit to astriaorg/astria that referenced this pull request Jan 29, 2024
## Summary
need to set specific state keys on `InitChain` and `BeginBlock` for the
IBC impl to work.

also uses the `HostInterface` implemented here:
penumbra-zone/penumbra#3598 needed so that the
IBC impl can access astria-specific state keys.

## Background
as above

## Changes
- use the penumbra `IBCComponent` within our app, which deals with the
required IBC state
- implement `HostInterface` for `AstriaHost` 

## Testing
with hermes (see
https://www.notion.so/astria-org/IBC-setup-local-between-Astria-and-Celestia-4cfea753490e4a7f85833e9b3f629ccb?pvs=4)

## Breaking Changelist
this updates the values in storage (adds `chain_id`)

## Related Issues

closes #650 (not exactly related but closing anyways, don't need to
explicitly bind `transfer` ports as this is checked in the penumbra IBC
implementation (`PortId::transfer()`))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants