moonbeam icon indicating copy to clipboard operation
moonbeam copied to clipboard

Errors encountered according to the tutorial instructions

Open ytqaljn opened this issue 8 months ago • 4 comments

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:

image

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: image

Can someone help me solve this problem?

ytqaljn avatar May 29 '24 11:05 ytqaljn