Skip to content

Commit

Permalink
fix: update zksync dev chains (#2054)
Browse files Browse the repository at this point in the history
* fix: update zksync dev chains

* Update unlucky-boxes-serve.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>
  • Loading branch information
nikola-bozin-txfusion and jxom committed Apr 2, 2024
1 parent 4d7100c commit 49219f0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/unlucky-boxes-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Updated zkSync development chains with zkSync `chainConfig`.
2 changes: 2 additions & 0 deletions src/chains/definitions/zkSyncInMemoryNode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { defineChain } from '../../utils/chain/defineChain.js'
import { chainConfig } from '../../zksync/chainConfig.js'

export const zkSyncInMemoryNode = /*#__PURE__*/ defineChain({
...chainConfig,
id: 260,
name: 'zkSync InMemory Node',
network: 'zksync-in-memory-node',
Expand Down
2 changes: 2 additions & 0 deletions src/chains/definitions/zkSyncLocalNode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { defineChain } from '../../utils/chain/defineChain.js'
import { chainConfig } from '../../zksync/chainConfig.js'

export const zkSyncLocalNode = /*#__PURE__*/ defineChain({
...chainConfig,
id: 270,
name: 'zkSync CLI Local Node',
network: 'zksync-cli-local-node',
Expand Down

0 comments on commit 49219f0

Please sign in to comment.