-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solana-ibc: get host consensus state based on feature (#401)
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.
- Loading branch information
Showing
1 changed file
with
39 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters