Skip to content

Commit

Permalink
Update hardhat-ignition.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wise4rmgodroot committed Dec 12, 2024
1 parent 6d7aa04 commit 19c15d1
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions docs/02-developers/04-quickstart/hardhat-ignition.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ npm -v

* This is like an access point that connects your computer to the Rootstock blockchain. You can use the Testnet (for testing) or Mainnet (for real transactions).

:::warning[Before running these command]

- If you find the `deployments` and `artifacts` folder inside the ignition directory, delete it.

:::

## Getting Started

<Steps>
Expand Down Expand Up @@ -357,8 +363,10 @@ The output includes the deployed contract's address, which you can use to intera

:::warning[Troubleshooting]

- **Reconciliation failed:** If you encounter this error, delete the ignition folder and artifacts folder, because they may have stored your previous deployment
1. **Reconciliation failed:** If you encounter this error, delete the ignition folder and artifacts folder, because they may have stored your previous deployment

**Error**
- `First`.
```
[ BoxModule ] reconciliation failed ⛔
Expand All @@ -369,9 +377,12 @@ BoxModule#Box:
Consider modifying your module to remove the inconsistencies with deployed futures.
```

- **Gas Fees**: If deployment fails, ensure your wallet has enough funds. Use the faucet for test tokens.
- **Incorrect URLs**: Double-check your .env file for the correct RPC URLs.
- **Compile Errors**: Review your smart contract code for mistakes.
- `Second`.
```
IgnitionError: IGN401: Error while executing BoxModule#Box: all the transactions of its network interaction 1 were dropped. Please try rerunning Hardhat Ignition.
```
2. **Gas Fees**: If deployment fails, ensure your wallet has enough funds. Use the faucet for test tokens.
3. **Incorrect URLs**: Double-check your .env file for the correct RPC URLs.
4. **Compile Errors**: Review your smart contract code for mistakes.

:::

0 comments on commit 19c15d1

Please sign in to comment.