Skip to content

Commit ad7b34a

Browse files
committed
chore: update dependencies, issue with toolbox
1 parent 52f5710 commit ad7b34a

File tree

3 files changed

+532
-643
lines changed

3 files changed

+532
-643
lines changed

packages/solidity-contracts/hardhat.config.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import { config as dotEnvConfig } from 'dotenv';
22
import type { HardhatUserConfig } from 'hardhat/types';
3-
import '@nomicfoundation/hardhat-chai-matchers';
4-
import '@nomiclabs/hardhat-etherscan';
5-
import '@openzeppelin/hardhat-upgrades';
6-
import 'hardhat-typechain';
3+
// import '@nomicfoundation/hardhat-toolbox'; // Uncomment this line and the project fails
4+
// import '@nomicfoundation/hardhat-network-helpers';
5+
// import '@openzeppelin/hardhat-upgrades';
76
import 'hardhat-deploy';
87
import 'solidity-coverage';
9-
import 'hardhat-gas-reporter';
108

119
dotEnvConfig();
1210

packages/solidity-contracts/package.json

+8-23
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,14 @@
3636
"prettier": "prettier --write --plugin=prettier-plugin-solidity 'contracts/**/*.sol'",
3737
"lint": "prettier --list-different --plugin=prettier-plugin-solidity 'contracts/**/*.sol'"
3838
},
39-
"dependencies": {
40-
"@ethersproject/abi": "^5.7.0",
41-
"@ethersproject/abstract-provider": "^5.7.0",
42-
"@ethersproject/bytes": "^5.7.0",
43-
"@ethersproject/providers": "^5.7.0",
39+
"devDependencies": {
4440
"@fuel-contracts/merkle-sol": "^0.1.4",
45-
"@nomicfoundation/hardhat-chai-matchers": "^2.0.2",
46-
"@nomiclabs/hardhat-ethers": "^2.2.1",
47-
"@nomiclabs/hardhat-etherscan": "^3.1.2",
41+
"@fuel-ts/merkle": "^0.21.2",
42+
"@nomicfoundation/hardhat-network-helpers": "^1.0.10",
43+
"@nomicfoundation/hardhat-toolbox": "3.0.0",
4844
"@openzeppelin/contracts": "^4.8.3",
4945
"@openzeppelin/contracts-upgradeable": "^4.8.3",
50-
"@openzeppelin/hardhat-upgrades": "1.26.0"
51-
},
52-
"devDependencies": {
53-
"@ethersproject/abi": "^5.7.0",
54-
"@ethersproject/abstract-provider": "^5.7.0",
55-
"@ethersproject/bytes": "^5.7.0",
56-
"@ethersproject/providers": "^5.7.0",
57-
"@fuel-ts/merkle": "^0.21.2",
58-
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
59-
"@typechain/ethers-v5": "^6.0.5",
46+
"@openzeppelin/hardhat-upgrades": "^2.5.1",
6047
"@types/chai": "^4.3.4",
6148
"@types/express": "^4.17.14",
6249
"@types/lodash": "^4.14.202",
@@ -66,12 +53,10 @@
6653
"@typescript-eslint/parser": "^5.43.0",
6754
"chai": "^4.3.7",
6855
"dotenv": "^16.0.3",
69-
"ethers": "^5.7.2",
56+
"ethers": "6.11.0",
7057
"express": "^4.18.2",
71-
"hardhat": "^2.17.4",
58+
"hardhat": "2.17.4",
7259
"hardhat-deploy": "^0.11.44",
73-
"hardhat-gas-reporter": "^1.0.9",
74-
"hardhat-typechain": "^0.3.5",
7560
"lodash": "^4.17.21",
7661
"markdownlint": "^0.26.2",
7762
"markdownlint-cli": "^0.32.2",
@@ -84,7 +69,7 @@
8469
"ts-generator": "^0.1.1",
8570
"ts-node": "^10.9.1",
8671
"tsup": "^7.2.0",
87-
"typechain": "^4.0.3",
72+
"typechain": "^8.3.1",
8873
"typescript": "^4.9.3"
8974
}
9075
}

0 commit comments

Comments
 (0)