Skip to content

Update forking-mainnets.mdx #2805

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BahadorGh
Copy link
Contributor

Making the required corrections for having an applicable cross-chain message passing with ccip in foundry.

IMPORTANT: Please do not create a Pull Request without creating an issue first.Any change needs to be discussed before proceeding.

Closing issues

closes #2804

...

Description

In the current docs of testing cross-chain message passing in the Local Simulator to fork mainnets of ccip foundry section, there is some issues related to the complete implementation of the ExampleTest.

Issues:

  • As the feeToken: address(0), so we need to send the fee amount in the ccipSend
  • The polygon chain selector id is not correct to be used for setting the NetworkConfig. it needs to be the real chain id
  • The ccipReceiverAddress needs to be set correctly, which is not implemented to verify if the cross-chain from source to destination chain is working as expected.

...

Changes

  • Checking the fee required for the message passing
  • Correctly pay the required feeToken
  • Implementing the mock recipient address in the Polygon(destination) chain
  • Verifying correct cross-chain message passing
  • Correctly set the required chain link ids to setNetworkDetails

Making the required corrections for having an applicable cross-chain message passing with ccip
@BahadorGh BahadorGh requested a review from a team as a code owner July 7, 2025 11:16
Copy link

vercel bot commented Jul 7, 2025

@BahadorGh is attempting to deploy a commit to the Chainlink Labs Team on Vercel.

A member of the Team first needs to authorize it.

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.

[Bug]: Problem in using the CCIP Local Simulator to fork mainnets - Foundry edition
1 participant