Skip to content

Commit 27721a0

Browse files
authored
Merge pull request #5597 from nikola-bozin-txfusion/nikola-bozin-txfusion-zksync-support
feat: add zksync as supported network
2 parents 963f91f + 8fa15e7 commit 27721a0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/ninety-walls-press.md

+5
Original file line numberDiff line numberDiff line change
@@ -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

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ async function checkIfDevelopmentNetwork(
1919

2020
cachedIsDevelopmentNetwork =
2121
version.toLowerCase().startsWith("hardhatnetwork") ||
22+
version.toLowerCase().startsWith("zksync") ||
2223
version.toLowerCase().startsWith("anvil");
2324
} catch (e) {
2425
cachedIsDevelopmentNetwork = false;

0 commit comments

Comments
 (0)