Skip to content

Commit 133bbbf

Browse files
committed
fix code snippet formatting
1 parent 2a064d8 commit 133bbbf

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

smart-contracts/dev-environments/hardhat/compile-and-test.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ To compile your project, follow these instructions:
1414

1515
1. Make sure that your Hardhat configuration file matches the Solidity compiler version shown in the code snippet below:
1616

17-
```javascript title="hardhat.config.js"
18-
require("@nomicfoundation/hardhat-toolbox");
17+
```javascript title="hardhat.config.js"
18+
require("@nomicfoundation/hardhat-toolbox");
1919

20-
/** @type import('hardhat/config').HardhatUserConfig */
21-
module.exports = {
22-
solidity: "0.8.28",
23-
};
24-
```
20+
/** @type import('hardhat/config').HardhatUserConfig */
21+
module.exports = {
22+
solidity: "0.8.28",
23+
};
24+
```
2525

2626
2. Compile the contract with Hardhat:
2727

@@ -59,9 +59,9 @@ Hardhat uses [Mocha](https://mochajs.org/){target=\_blank} as its testing framew
5959

6060
To run your tests execute the following command to run your tests:
6161

62-
```bash
63-
npx hardhat test
64-
```
62+
```bash
63+
npx hardhat test
64+
```
6565

6666
This will run all test files in the `test` directory. Hardhat automatically manages the test network lifecycle, so you don't need to run `npx hardhat node` separately for testing.
6767

smart-contracts/dev-environments/hardhat/deploy-a-contract.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ This guide will use the Local Development Node as the target network. Here's how
5555
5656
Hardhat Ignition uses this module to orchestrate the deployment:
5757
58-
```bash
59-
npx hardhat ignition deploy ./ignition/modules/Lock.js --network polkadotTestNet
60-
```
58+
```bash
59+
npx hardhat ignition deploy ./ignition/modules/Lock.js --network polkadotTestNet
60+
```
6161
6262
## Interaction with Your Contract
6363

0 commit comments

Comments
 (0)