-
Notifications
You must be signed in to change notification settings - Fork 5
Check sourceChainSelectors len in GetOffRampSourceChainConfigs #571
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
base: main
Are you sure you want to change the base?
Check sourceChainSelectors len in GetOffRampSourceChainConfigs #571
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes a bug in the GetOffRampSourceChainConfigs function where the wrong variable was being checked to determine if all chain configs should be returned.
Changes:
- Corrected the condition check from
len(sourceChainConfigs)tolen(sourceChainSelectors)to properly detect when no specific selectors are requested.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…mpSourceChainConfigs-check-sourceChainSelectors
73745f0 to
68c6d1f
Compare
…mpSourceChainConfigs-check-sourceChainSelectors
Pull request was converted to draft
…mpSourceChainConfigs-check-sourceChainSelectors
ed77eb3
f5f3cf8 to
ed77eb3
Compare
662497a to
cb23827
Compare
…mpSourceChainConfigs-check-sourceChainSelectors
No description provided.