Skip to content
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

I had problems to execute "setup-sender" and "transfer-token" tasks #1

Closed
VinTesta opened this issue Aug 4, 2023 · 0 comments
Closed

Comments

@VinTesta
Copy link

VinTesta commented Aug 4, 2023

I reproduced this example and I had troubles in that lines:

#1

"@chainlink/contracts/src/v0.4/interfaces/ERC20.sol:ERC20",

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.

Captura de tela de 2023-08-04 19-44-22

#2

--dest-chain-selector 16015286601757825753 // Sepolia destination chain selector

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".

.addParam("destChain", "destination chain as specified in networks.js file")

Captura de tela de 2023-08-04 19-23-38

Captura de tela de 2023-08-04 19-23-49

Captura de tela de 2023-08-04 19-24-04

Despite these delays the transfer has been successful, congratulations for solution!

If need help tell me! :)

@VinTesta VinTesta changed the title I had problems to execute these tasks I had problems to execute "setup-sender" and "transfer-token" tasks Aug 4, 2023
@VinTesta VinTesta closed this as completed Aug 8, 2023
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

No branches or pull requests

1 participant