documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Update forking-mainnets.mdx

Open BahadorGh opened this issue 7 months ago • 2 comments

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

BahadorGh avatar Jul 07 '25 11:07 BahadorGh

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Jul 07 '25 11:07 vercel[bot]

@aelmanaa @dwightjl @khadni @thedriftofwords Could you please check my pull request?

Thanks in advance

BahadorGh avatar Oct 04 '25 13:10 BahadorGh