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

witness: store local consensus state during initialization for witness feature #400

Merged
merged 5 commits into from
Oct 18, 2024

Conversation

dhruvja
Copy link
Collaborator

@dhruvja dhruvja commented Oct 16, 2024

When establishing the connection, we need to store the consensus state on chain before the client is stored since the consensus state would be required during OpenTry or OpenAck based on order of how the connection is established. So storing the consensus state during initialize method so that when the client is created, it can use the stored consensus state.

@dhruvja dhruvja requested a review from mina86 October 16, 2024 19:10
solana/solana-ibc/programs/solana-ibc/src/lib.rs Outdated Show resolved Hide resolved
dhruvja and others added 2 commits October 17, 2024 01:23
Co-authored-by: Michal Nazarewicz <mina86@mina86.com>
@dhruvja dhruvja enabled auto-merge (squash) October 16, 2024 19:54
@dhruvja dhruvja merged commit 0bc98fe into master Oct 18, 2024
4 checks passed
@dhruvja dhruvja deleted the init-local-consensus-state branch October 18, 2024 18:55
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