You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line get the ERC20 artifact, but when program is compiled the Hardhat can't find him and doesn't create artifact in build path.
I alternated from "@chainlink/contracts/src/v0.4/interfaces/ERC20.sol:ERC20" to "@chainlink/contracts-ccip/src/v0.8/vendor/openzeppelin-solidity/v4.8.0/token/ERC20/IERC20.sol:IERC20" and the task has been executed.
In this CLI example, the "dest-chain-selector" parameter doesn't exist in the "transfer-token" task. The correct param is "destChain", but the Hardhat CLI throws an error because it doesn't accept uppercase. I needed to change it to "destination" and its value is "sepolia" and doesn't her "chainSelector".
I reproduced this example and I had troubles in that lines:
#1
ccip-defi-lending/tasks/01_setupSender.js
Line 35 in c12632b
This line get the ERC20 artifact, but when program is compiled the Hardhat can't find him and doesn't create artifact in build path.
I alternated from "@chainlink/contracts/src/v0.4/interfaces/ERC20.sol:ERC20" to "@chainlink/contracts-ccip/src/v0.8/vendor/openzeppelin-solidity/v4.8.0/token/ERC20/IERC20.sol:IERC20" and the task has been executed.
#2
ccip-defi-lending/README.md
Line 131 in c12632b
In this CLI example, the "dest-chain-selector" parameter doesn't exist in the "transfer-token" task. The correct param is "destChain", but the Hardhat CLI throws an error because it doesn't accept uppercase. I needed to change it to "destination" and its value is "sepolia" and doesn't her "chainSelector".
ccip-defi-lending/tasks/03_transferToken.js
Line 6 in c12632b
Despite these delays the transfer has been successful, congratulations for solution!
If need help tell me! :)
The text was updated successfully, but these errors were encountered: