-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Improve CCIP Contract Reader Querying usage #14935
Improve CCIP Contract Reader Querying usage #14935
Conversation
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
e895eb2
to
0f768d5
Compare
96018a4
to
2d78005
Compare
2d78005
to
e866958
Compare
e866958
to
c2c482e
Compare
Quality Gate passedIssues Measures |
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.
I think the code itself is okay as is, but it's pretty hard to follow and seems like it'd be a little fragile if someone came in and tried to change things.
I'd recommend more code comments to explain what the various methods are actually doing and, in addition, consider adding unit tests to the helper methods themselves to verify that they are calculating the indices properly. This would make it easier for someone to come in and modify things without breaking some of the high level tests and struggle to figure out what went wrong.
91a43df
to
71ac32c
Compare
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.
LGTM
31ccb25
to
605fbf6
Compare
related chainlink-ccip PR smartcontractkit/chainlink-ccip#267
Also relates to
CCIP-3866
and
CCIP-3865