Skip to content

[Enhancement]: <Chainlink local documentation issue> #4114

Description

@Nilesh1105

What would you like us to improve?

Hi Chainlink team,

I noticed a possible error in the CCT - getCCIPAdmin() token with Burn and Mint Pool in forked environments documentation:

https://docs.chain.link/chainlink-local/build/ccip/foundry/cct-burn-and-mint-fork

In Step 13 (Configure Token Pool on Ethereum Sepolia), the documentation currently has:

bytes[] memory remotePoolAddressesEthSepolia = new bytes;
remotePoolAddressesEthSepolia[0] = abi.encode(address(burnMintTokenPoolEthSepolia));

However, the remoteChainSelector is:

remoteChainSelector: baseSepoliaNetworkDetails.chainSelector,

Since the current pool is the Ethereum Sepolia pool and the remote chain is Base Sepolia, I believe the remote pool address should be the Base Sepolia pool:

bytes[] memory remotePoolAddressesBaseSepolia = new bytes;
remotePoolAddressesBaseSepolia[0] =
abi.encode(address(burnMintTokenPoolBaseSepolia));

Step 14 correctly uses burnMintTokenPoolEthSepolia as the remote pool when configuring the Base Sepolia pool, which seems to confirm that Step 13 contains a copy/paste error.

I am reporting this because developers following the tutorial may become confused or stuck at this step.

Thank you!

How important it is?

High

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhance existing content or processestriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions