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

solana-ibc: get host consensus state based on feature #401

Merged
merged 7 commits into from
Oct 18, 2024
Merged

Conversation

dhruvja
Copy link
Collaborator

@dhruvja dhruvja commented Oct 18, 2024

Host consensus state is required for establishing the connection. So the host consensus state should be returned based on whether the witness feature is present or not. If the feature is present, then we return the rollup consensus state else we return the guest consensus state. But the issue is if the witness feature is not enabled, it could either be guest or wasm ( which is a wrapper version of guest ). Since the connection with cosmos is already established, we would stick to returning the guest consensus state for now.

@dhruvja dhruvja requested a review from mina86 October 18, 2024 19:07
@dhruvja dhruvja merged commit a21cd4b into master Oct 18, 2024
4 checks passed
@dhruvja dhruvja deleted the host-metadata branch October 18, 2024 20:58
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.

2 participants