We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 963f91f + 8fa15e7 commit 27721a0Copy full SHA for 27721a0
.changeset/ninety-walls-press.md
@@ -0,0 +1,5 @@
1
+---
2
+"@nomicfoundation/hardhat-network-helpers": patch
3
4
+
5
+Add support for ZKsync's development mode
packages/hardhat-network-helpers/src/utils.ts
@@ -19,6 +19,7 @@ async function checkIfDevelopmentNetwork(
19
20
cachedIsDevelopmentNetwork =
21
version.toLowerCase().startsWith("hardhatnetwork") ||
22
+ version.toLowerCase().startsWith("zksync") ||
23
version.toLowerCase().startsWith("anvil");
24
} catch (e) {
25
cachedIsDevelopmentNetwork = false;
0 commit comments