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: introduce ConnectionIdx type for connection identification #105

Merged
merged 5 commits into from
Nov 19, 2023

Conversation

mina86
Copy link
Collaborator

@mina86 mina86 commented Nov 18, 2023

IBC connections identifiers are in the form connection-<number> and
use sequential numbering. Take advantage of that by introducing
ConnectionIdx type which only holds the number and storing connection
information in a vector rather than a map. This is analogous to
change already made for clients.

Issue: #35

@mina86 mina86 requested a review from dhruvja November 18, 2023 20:13
Signed-off-by: Michal Nazarewicz <[email protected]>
@mina86 mina86 enabled auto-merge (squash) November 19, 2023 17:57
@mina86 mina86 merged commit 3470d4f into master Nov 19, 2023
5 checks passed
@mina86 mina86 deleted the mpn/c branch November 19, 2023 18:27
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