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

add helper function for fetching chainID from chain selector and test coverage #74

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

huangzhen1997
Copy link
Collaborator

No description provided.

if err != nil {
return "", fmt.Errorf("failed to get %v chain ID from selector %d: %w", destChainFamily, selector, err)
}
case FamilyAptos:

Choose a reason for hiding this comment

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

add default case that returns error for unexpected family

@huangzhen1997 huangzhen1997 merged commit 5218193 into main Nov 12, 2024
1 check passed
@huangzhen1997 huangzhen1997 deleted the add-generic-get-chain-id-by-selector branch November 12, 2024 22:34
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