-
Notifications
You must be signed in to change notification settings - Fork 447
Open
Labels
Description
Describe the bug
In the current docs of the ExampleTest
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.
To Reproduce
- Just copy and paste the complete implementation code in the
[Working with Mainnet Forks](https://docs.chain.link/chainlink-local/build/ccip/foundry/forking-mainnets#working-with-mainnet-forks)
URLs
Expected behavior
The expectations are:
ccipLocalSimulatorFork.setNetworkDetails
works fine and record the data for both Ethereum(source chain) and Polygon(destination chain) correctly- The desired data(here: "Hello world" string) get to the destination's
ccipReceiverAddress
contract - Compile and deploy without any issues
Additional context
No response