We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Encountering the below error when trying to run the following code:
import { buildModule } from "@nomicfoundation/hardhat-ignition/modules"; const NFTModule = buildModule("Doodle", (m) => { const _name = m.getParameter("_name", "Doodle"); const _symbol = m.getParameter("_symbol", "DD"); const _oracle = m.getParameter("_oracle", 0xA2F78ab2355fe2f984D808B5CeE7FD0A93D5270E); // USDC/USD - Seploia testnet price oracle const _tokenAddress = m.getParameter("_tokenAddress", 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48); // USDC - Seploia testnet const doodleNft = m.contract("Doodle", [_name, _symbol, _oracle, _tokenAddress]); return { doodleNft }; }); export default NFTModule;
Error when running npx hardhat ignition deploy ./ignition/modules/Doodle.ts --network sepolia --verify
npx hardhat ignition deploy ./ignition/modules/Doodle.ts --network sepolia --verify
Solidity code:
constructor(string memory _name, string memory _symbol, address _oracle, address _tokenAddress) ERC721(_name, _symbol){ oracle = IOracle(_oracle); supportedToken = IERC20(_tokenAddress); }
The text was updated successfully, but these errors were encountered:
I would express the addresses as strings:
"0xA2F78ab2355fe2f984D808B5CeE7FD0A93D5270E"
Does the deployment fail on first run? Does the deployment fail when run against the in-memory Hardhat node?
Sorry, something went wrong.
I would express the addresses as strings: "0xA2F78ab2355fe2f984D808B5CeE7FD0A93D5270E" Does the deployment fail on first run? Does the deployment fail when run against the in-memory Hardhat node?
Deployment succeeds when running on local node. I had to delete the deployment copy to have this work.
kanej
No branches or pull requests
Encountering the below error when trying to run the following code:
Error when running

npx hardhat ignition deploy ./ignition/modules/Doodle.ts --network sepolia --verify
Solidity code:
The text was updated successfully, but these errors were encountered: