moonbeam
moonbeam copied to clipboard
Errors encountered according to the tutorial instructions
Hi, I am following your tutorial to write a Cross Chain DAO.
However, an error occurred when deploying the contract, resulting in deployment failure.
Here is the tutorial document I referred to:
https://docs.moonbeam.network/tutorials/interoperability/cross-chain-dao/
This is the code for the contract CrossChainDAOToken
that I want to deploy:
Exactly the same as in the tutorial.
I deploy using the following command:
npx hardhat ignition deploy ignition/modules/Box.js --network localhost
Then this is the error I encountered:
Hardhat Ignition 🚀
Deploying [ Box ]
Batch #1 Failed Box#CrossChainDAOToken
[ Box ] failed ⛔
Futures failed during execution:
- Box#CrossChainDAOToken: Simulating the transaction failed with error: Reverted without reason
To learn how to handle these errors: https://hardhat.org/ignition-errors
Finally, this is the code of my ignition module:
Can someone help me solve this problem?