Skip to content

Commit 36b9637

Browse files
authored
chore: upgrade hardhat and add patch (#613)
* Upgrade Hardhat to v2.22.9 * Add patch for hardhat#5664
1 parent 87f2833 commit 36b9637

File tree

7 files changed

+36
-100
lines changed

7 files changed

+36
-100
lines changed

crates/tools/js/benchmark/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"eslint-plugin-import": "2.27.5",
1818
"eslint-plugin-mocha": "10.4.1",
1919
"eslint-plugin-prettier": "5.2.1",
20-
"hardhat": "2.22.7",
20+
"hardhat": "2.22.9",
2121
"lodash": "^4.17.11",
2222
"mocha": "^10.0.0",
2323
"prettier": "^3.2.5",

hardhat-tests/integration/smock/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@types/node": "^20.0.0",
1010
"chai": "^4.3.6",
1111
"ethers": "5.7.2",
12-
"hardhat": "2.22.7",
12+
"hardhat": "2.22.9",
1313
"mocha": "^10.0.0"
1414
},
1515
"keywords": [],

hardhat-tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"ethereumjs-abi": "^0.6.8",
3939
"ethers": "^6.1.0",
4040
"fs-extra": "^7.0.1",
41-
"hardhat": "2.22.7",
41+
"hardhat": "2.22.9",
4242
"mocha": "^10.0.0",
4343
"prettier": "^3.2.5",
4444
"rimraf": "^3.0.2",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"hardhat>@nomicfoundation/edr": "workspace:*"
1717
},
1818
"patchedDependencies": {
19-
"[email protected].7": "patches/[email protected].7.patch"
19+
"[email protected].9": "patches/[email protected].9.patch"
2020
}
2121
},
2222
"private": true,

patches/[email protected]

-77
This file was deleted.

patches/[email protected]

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/internal/hardhat-network/provider/provider.js b/internal/hardhat-network/provider/provider.js
2+
index 5538259ab7fcbf99b7fa82e26922510da6444613..8d230d2421d977efc22f0dfdde676c6559420e88 100644
3+
--- a/internal/hardhat-network/provider/provider.js
4+
+++ b/internal/hardhat-network/provider/provider.js
5+
@@ -415,7 +415,7 @@ async function createHardhatNetworkProvider(hardhatNetworkProviderConfig, logger
6+
log("Making tracing config");
7+
const tracingConfig = await makeTracingConfig(artifacts);
8+
log("Creating EDR provider");
9+
- const provider = EdrProviderWrapper.create(hardhatNetworkProviderConfig, loggerConfig, tracingConfig);
10+
+ const provider = await EdrProviderWrapper.create(hardhatNetworkProviderConfig, loggerConfig, tracingConfig);
11+
log("EDR provider created");
12+
return provider;
13+
}

pnpm-lock.yaml

+19-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)