-
Notifications
You must be signed in to change notification settings - Fork 343
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
CCIP Read ISM #2398
CCIP Read ISM #2398
Conversation
After chatting with @nambrot last week I've taken a slightly different approach to the original one, interested to hear what you guys think. An implementation of a CcipReadIsm can be found here. I have a couple open questions I'm not sure about,
|
For sure, IMO its critical to have it in the monorepo as its the reference for the agent implementation as well. Like i commented, it should also include instructions for the spec of this ISM, i.e. how do I override it, what interface does my offchain service have to comply with, etc. Like another comment of mine, the consumer should be forced to implement the extra data of the revert message though.
Hmm, i'm not sure that I'm following. The relayer would query the ISM on the destination chain for the
You should be able to look at this https://github.com/ensdomains/ethers-ccip-read/blob/main/src/middleware.rs#L243C1-L244C1 |
Also putting a review here for the ChainlinkISM since there is no PR to look at:
|
@yorhodes called out that an alternate path for this implementation is to put the CCIP read middleware at the provider level and then have estimate gas to |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #2398 +/- ##
=======================================
Coverage 63.56% 63.56%
=======================================
Files 89 89
Lines 1356 1356
Branches 182 182
=======================================
Hits 862 862
Misses 487 487
Partials 7 7 ☔ View full report in Codecov by Sentry. |
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.
big unlock for new ISMs 🚀
Description
CCIP Read ISM implementation,
Drive-by changes
Are there any minor or drive-by changes also included?
Related issues
Backward compatibility
Are these changes backward compatible?
Yes, relayers will skip messages they can't handle.
Are there any infrastructure implications, e.g. changes that would prohibit deploying older commits using this infra tooling?
Yes, relayers won't be able to submit messages that have a CCIP Read ISM.
Testing
What kind of testing have these changes undergone?
General approach