Conversation
|
You must have Developer access to commit code to Chainlink Labs on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes. Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles |
|
👋 aelmanaa, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
Coverage Report |
aelmanaa
force-pushed
the
feat/local-testing
branch
from
September 23, 2026 21:41
de0fe7a to
8b57bb2
Compare
aelmanaa
force-pushed
the
feat/local-testing
branch
from
September 23, 2026 21:43
8b57bb2 to
ccf8000
Compare
CI Test Report✅ 1702/1708 tests passed (417 suites) in 5m 48s SummaryCoverage report |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds comprehensive support and documentation for working with local devnets, unbundled chains, and forks in the Chainlink CCIP CLI and SDK. Users can now register custom chains and forks at runtime using new CLI flags and environment variables, enabling workflows on networks not included in the bundled selector table. The documentation has been expanded with a dedicated guide, troubleshooting advice, and configuration examples for these scenarios.
Support for custom chains and forks:
registerChainsSDK method and the--chain-selectorsCLI flag orCCIP_CHAIN_SELECTORSenvironment variable. Accepts shorthand, inline JSON, or JSON/YAML files. [1] [2] [3] [4]anvil --fork --chain-id) withregisterChains({ chainId, forkOf })or--chain-selectors <chainId>=fork:<chain>, ensuring correct selector mapping and preventing ambiguity. [1] [2]Documentation updates:
--chain-selectorsflag andCCIP_CHAIN_SELECTORSenvironment variable, with usage examples and explanations of when to use them. [1] [2] [3]CHAIN_NOT_FOUNDerrors and provide actionable solutions for unbundled chains and forks, referencing the new guide.Other improvements:
decodeMessagenow surfacesCHAIN_NOT_FOUNDinstead of a misleadingMESSAGE_INVALIDwhen a chain selector cannot be resolved.These changes make it much easier to develop and test with custom networks and forks, and provide clear guidance for users encountering related errors.