Skip to content

Commit

Permalink
Merge pull request #5597 from nikola-bozin-txfusion/nikola-bozin-txfu…
Browse files Browse the repository at this point in the history
…sion-zksync-support

feat: add zksync as supported network
  • Loading branch information
alcuadrado committed Sep 12, 2024
2 parents 963f91f + 8fa15e7 commit 27721a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/ninety-walls-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nomicfoundation/hardhat-network-helpers": patch
---

Add support for ZKsync's development mode
1 change: 1 addition & 0 deletions packages/hardhat-network-helpers/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async function checkIfDevelopmentNetwork(

cachedIsDevelopmentNetwork =
version.toLowerCase().startsWith("hardhatnetwork") ||
version.toLowerCase().startsWith("zksync") ||
version.toLowerCase().startsWith("anvil");
} catch (e) {
cachedIsDevelopmentNetwork = false;
Expand Down

0 comments on commit 27721a0

Please sign in to comment.