Skip to content

Commit 7a6bc03

Browse files
committed
update deps
1 parent 9f4ba06 commit 7a6bc03

File tree

4 files changed

+1340
-2440
lines changed

4 files changed

+1340
-2440
lines changed

README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## INSTALL
44

55
```bash
6-
yarn
6+
pnpm i
77
```
88

99
## TEST
@@ -15,7 +15,7 @@ There are 3 flavors of tests: hardhat, dapptools and forge
1515
- One using hardhat that can leverage hardhat-deploy to reuse deployment procedures and named accounts:
1616

1717
```bash
18-
yarn test
18+
pnnpm test
1919
```
2020

2121
### [dapptools](https://dapp.tools)
@@ -59,88 +59,88 @@ Here is the list of npm scripts you can execute:
5959
Some of them relies on [./\_scripts.js](./_scripts.js) to allow parameterizing it via command line argument (have a look inside if you need modifications)
6060
<br/><br/>
6161

62-
### `yarn prepare`
62+
### `pnpm prepare`
6363

6464
As a standard lifecycle npm script, it is executed automatically upon install. It generate config file and typechain to get you started with type safe contract interactions
6565
<br/><br/>
6666

67-
### `yarn format` and `yarn format:fix`
67+
### `pnpm format` and `pnpm format:fix`
6868

6969
These will format check your code. the `:fix` version will modifiy the files to match the requirement specified in `.prettierrc.`
7070
<br/><br/>
7171

72-
### `yarn compile`
72+
### `pnpm compile`
7373

7474
These will compile your contracts
7575
<br/><br/>
7676

77-
### `yarn void:deploy`
77+
### `pnpm void:deploy`
7878

7979
This will deploy your contracts on the in-memory hardhat network and exit, leaving no trace. quick way to ensure deployments work as intended without consequences
8080
<br/><br/>
8181

82-
### `yarn test [mocha args...]`
82+
### `pnpm test [mocha args...]`
8383

8484
These will execute your tests using mocha. you can pass extra arguments to mocha
8585
<br/><br/>
8686

87-
### `yarn coverage`
87+
### `pnpm coverage`
8888

8989
These will produce a coverage report in the `coverage/` folder
9090
<br/><br/>
9191

92-
### `yarn gas`
92+
### `pnpm gas`
9393

9494
These will produce a gas report for function used in the tests
9595
<br/><br/>
9696

97-
### `yarn dev`
97+
### `pnpm dev`
9898

9999
These will run a local hardhat network on `localhost:8545` and deploy your contracts on it. Plus it will watch for any changes and redeploy them.
100100
<br/><br/>
101101

102-
### `yarn local:dev`
102+
### `pnpm local:dev`
103103

104104
This assumes a local node it running on `localhost:8545`. It will deploy your contracts on it. Plus it will watch for any changes and redeploy them.
105105
<br/><br/>
106106

107-
### `yarn execute <network> <file.ts> [args...]`
107+
### `pnpm execute <network> <file.ts> [args...]`
108108

109109
This will execute the script `<file.ts>` against the specified network
110110
<br/><br/>
111111

112-
### `yarn deploy <network> [args...]`
112+
### `pnpm deploy <network> [args...]`
113113

114114
This will deploy the contract on the specified network.
115115

116116
Behind the scene it uses `hardhat deploy` command so you can append any argument for it
117117
<br/><br/>
118118

119-
### `yarn export <network> <file.json>`
119+
### `pnpm export <network> <file.json>`
120120

121121
This will export the abi+address of deployed contract to `<file.json>`
122122
<br/><br/>
123123

124-
### `yarn fork:execute <network> [--blockNumber <blockNumber>] [--deploy] <file.ts> [args...]`
124+
### `pnpm fork:execute <network> [--blockNumber <blockNumber>] [--deploy] <file.ts> [args...]`
125125

126126
This will execute the script `<file.ts>` against a temporary fork of the specified network
127127

128128
if `--deploy` is used, deploy scripts will be executed
129129
<br/><br/>
130130

131-
### `yarn fork:deploy <network> [--blockNumber <blockNumber>] [args...]`
131+
### `pnpm fork:deploy <network> [--blockNumber <blockNumber>] [args...]`
132132

133133
This will deploy the contract against a temporary fork of the specified network.
134134

135135
Behind the scene it uses `hardhat deploy` command so you can append any argument for it
136136
<br/><br/>
137137

138-
### `yarn fork:test <network> [--blockNumber <blockNumber>] [mocha args...]`
138+
### `pnpm fork:test <network> [--blockNumber <blockNumber>] [mocha args...]`
139139

140140
This will test the contract against a temporary fork of the specified network.
141141
<br/><br/>
142142

143-
### `yarn fork:dev <network> [--blockNumber <blockNumber>] [args...]`
143+
### `pnpm fork:dev <network> [--blockNumber <blockNumber>] [args...]`
144144

145145
This will deploy the contract against a fork of the specified network and it will keep running as a node.
146146

hardhat.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ const config: HardhatUserConfig = {
7272
gasPrice: 100,
7373
enabled: process.env.REPORT_GAS ? true : false,
7474
coinmarketcap: process.env.COINMARKETCAP_API_KEY,
75-
maxMethodDiff: 10,
7675
},
7776
mocha: {
7877
timeout: 0,

package.json

+22-22
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@
33
"version": "0.0.1",
44
"description": "",
55
"devDependencies": {
6-
"@nomicfoundation/hardhat-chai-matchers": "^2.0.1",
7-
"@nomicfoundation/hardhat-ethers": "^3.0.2",
6+
"@nomicfoundation/hardhat-chai-matchers": "^2.0.8",
7+
"@nomicfoundation/hardhat-ethers": "^3.0.8",
88
"@openzeppelin/contracts": "^4.9.2",
9-
"@typechain/hardhat": "^8.0.0",
10-
"@types/chai": "^4.3.5",
11-
"@types/mocha": "^10.0.1",
12-
"@types/node": "^20.3.1",
13-
"chai": "^4.3.7",
14-
"cross-env": "^7.0.2",
15-
"dotenv": "^16.3.1",
16-
"ethers": "^6.6.1",
17-
"fs-extra": "^11.1.1",
18-
"hardhat": "^2.16.0",
19-
"hardhat-deploy": "^0.11.34",
20-
"hardhat-deploy-ethers": "^0.4.0",
21-
"hardhat-deploy-tenderly": "^0.2.0",
22-
"hardhat-gas-reporter": "^1.0.9",
23-
"mocha": "^10.2.0",
24-
"prettier": "^2.8.8",
25-
"prettier-plugin-solidity": "^1.1.3",
26-
"solidity-coverage": "^0.8.3",
27-
"ts-node": "^10.9.1",
28-
"typescript": "^5.1.3"
9+
"@typechain/hardhat": "^9.1.0",
10+
"@types/chai": "^5.0.1",
11+
"@types/mocha": "^10.0.10",
12+
"@types/node": "^22.13.1",
13+
"chai": "^5.1.2",
14+
"cross-env": "^7.0.3",
15+
"dotenv": "^16.4.7",
16+
"ethers": "^6.13.5",
17+
"fs-extra": "^11.3.0",
18+
"hardhat": "^2.22.18",
19+
"hardhat-deploy": "^0.14.0",
20+
"hardhat-deploy-ethers": "^0.4.2",
21+
"hardhat-deploy-tenderly": "^0.2.1",
22+
"hardhat-gas-reporter": "^2.2.2",
23+
"mocha": "^11.1.0",
24+
"prettier": "^3.5.0",
25+
"prettier-plugin-solidity": "^1.4.2",
26+
"solidity-coverage": "^0.8.14",
27+
"ts-node": "^10.9.2",
28+
"typescript": "^5.7.3"
2929
},
3030
"scripts": {
3131
"prepare": "node ./.setup.js && hardhat typechain",

0 commit comments

Comments
 (0)