Skip to content

Commit c58e5a4

Browse files
committed
Upgrade the viem toolbox and project creation to viem@2
1 parent b640188 commit c58e5a4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/hardhat-core/src/internal/cli/project-creation.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const ETHERS_PROJECT_DEPENDENCIES: Dependencies = {
4646
};
4747

4848
const VIEM_PROJECT_DEPENDENCIES: Dependencies = {
49-
"@nomicfoundation/hardhat-toolbox-viem": "^2.0.0",
49+
"@nomicfoundation/hardhat-toolbox-viem": "^3.0.0",
5050
};
5151

5252
const PEER_DEPENDENCIES: Dependencies = {
@@ -68,8 +68,8 @@ const ETHERS_PEER_DEPENDENCIES: Dependencies = {
6868
};
6969

7070
const VIEM_PEER_DEPENDENCIES: Dependencies = {
71-
"@nomicfoundation/hardhat-viem": "^1.0.0",
72-
viem: "^1.15.1",
71+
"@nomicfoundation/hardhat-viem": "^2.0.0",
72+
viem: "^2.7.6",
7373
};
7474

7575
const TYPESCRIPT_DEPENDENCIES: Dependencies = {};

packages/hardhat-toolbox-viem/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@nomicfoundation/eslint-plugin-slow-imports": "workspace:^",
4848
"@nomicfoundation/hardhat-network-helpers": "workspace:^1.0.0",
4949
"@nomicfoundation/hardhat-verify": "workspace:^2.0.0",
50-
"@nomicfoundation/hardhat-viem": "workspace:^1.0.0",
50+
"@nomicfoundation/hardhat-viem": "workspace:^2.0.0",
5151
"@types/chai": "^4.2.0",
5252
"@types/chai-as-promised": "^7.1.6",
5353
"@types/mocha": ">=9.1.0",
@@ -68,12 +68,12 @@
6868
"solidity-coverage": "^0.8.1",
6969
"ts-node": "^10.8.0",
7070
"typescript": "~5.0.4",
71-
"viem": "^1.15.1"
71+
"viem": "^2.7.6"
7272
},
7373
"peerDependencies": {
7474
"@nomicfoundation/hardhat-network-helpers": "workspace:^1.0.0",
7575
"@nomicfoundation/hardhat-verify": "workspace:^2.0.0",
76-
"@nomicfoundation/hardhat-viem": "workspace:^1.0.0",
76+
"@nomicfoundation/hardhat-viem": "workspace:^2.0.0",
7777
"@types/chai": "^4.2.0",
7878
"@types/chai-as-promised": "^7.1.6",
7979
"@types/mocha": ">=9.1.0",
@@ -84,7 +84,7 @@
8484
"solidity-coverage": "^0.8.1",
8585
"ts-node": ">=8.0.0",
8686
"typescript": "~5.0.4",
87-
"viem": "^1.15.1"
87+
"viem": "^2.7.6"
8888
},
8989
"bugs": {
9090
"url": "https://github.com/nomicfoundation/hardhat/issues"

0 commit comments

Comments
 (0)