From 6bfb1c26f8f01ecd1a3095d97b7858dfef8bb06a Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Wed, 4 Dec 2024 10:28:31 -0600 Subject: [PATCH] fix: update naming from era_test_node to anvil-zksync --- packages/hardhat-zksync-node/README.md | 2 +- packages/hardhat-zksync-node/package.json | 2 +- packages/hardhat-zksync-node/src/constants.ts | 2 +- packages/hardhat-zksync-upgradable/src/core/provider.ts | 2 +- packages/hardhat-zksync/README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/hardhat-zksync-node/README.md b/packages/hardhat-zksync-node/README.md index b9cc2671..d2b8deae 100644 --- a/packages/hardhat-zksync-node/README.md +++ b/packages/hardhat-zksync-node/README.md @@ -1,6 +1,6 @@ # hardhat-zksync-node 🚀 -ZKsync Era [Hardhat](https://hardhat.org/) plugin to run the ZKsync anvil-zksync locally. +ZKsync Era [Hardhat](https://hardhat.org/) plugin to run anvil-zksync locally. ![Era Logo](https://github.com/matter-labs/era-contracts/raw/main/eraLogo.svg) diff --git a/packages/hardhat-zksync-node/package.json b/packages/hardhat-zksync-node/package.json index 8bf6e4fd..1db9000b 100644 --- a/packages/hardhat-zksync-node/package.json +++ b/packages/hardhat-zksync-node/package.json @@ -1,7 +1,7 @@ { "name": "@matterlabs/hardhat-zksync-node", "version": "1.2.0", - "description": "Hardhat plugin to run ZKsync anvil-zksync locally", + "description": "Hardhat plugin to run anvil-zksync locally", "repository": "github:matter-labs/hardhat-zksync", "homepage": "https://github.com/matter-labs/hardhat-zksync/tree/main/packages/hardhat-zksync-node", "author": "Matter Labs", diff --git a/packages/hardhat-zksync-node/src/constants.ts b/packages/hardhat-zksync-node/src/constants.ts index 797df6ad..1201a7ba 100644 --- a/packages/hardhat-zksync-node/src/constants.ts +++ b/packages/hardhat-zksync-node/src/constants.ts @@ -38,7 +38,7 @@ export const MAX_PORT_ATTEMPTS = 10; export const PORT_CHECK_DELAY = 500; export const RPC_ENDPOINT_PATH = 'eth_chainId'; -export const ZKSYNC_ERA_TEST_NODE_NETWORK_NAME = 'anvil-zksync'; +export const ZKSYNC_ERA_TEST_NODE_NETWORK_NAME = 'AnvilZKsync'; export const BASE_URL = `http://127.0.0.1`; export const NETWORK_ACCOUNTS = { REMOTE: 'remote', diff --git a/packages/hardhat-zksync-upgradable/src/core/provider.ts b/packages/hardhat-zksync-upgradable/src/core/provider.ts index 4a4eef1f..8b4bd718 100644 --- a/packages/hardhat-zksync-upgradable/src/core/provider.ts +++ b/packages/hardhat-zksync-upgradable/src/core/provider.ts @@ -10,5 +10,5 @@ export const networkNames: { [chainId in number]?: string } = Object.freeze({ 280: 'ZKsync-testnet-goerli', 270: 'ZKsync-local-setup', 300: 'ZKsync-testnet-sepolia', - 260: 'ZKsync-anvil-zksync', + 260: 'ZKsync-anvil', }); diff --git a/packages/hardhat-zksync/README.md b/packages/hardhat-zksync/README.md index 35469f9c..49c735b1 100644 --- a/packages/hardhat-zksync/README.md +++ b/packages/hardhat-zksync/README.md @@ -33,7 +33,7 @@ Here is an overview of the plugins currently available in this package when inst | hardhat-zksync-deploy | Facilitates the deployment of contracts on ZKsync, utilizing artifacts from hardhat-zksync-solc. | | hardhat-zksync-verify | Automates the process of verifying smart contracts on the ZKsync network, enhancing transparency and trust. | | hardhat-zksync-upgradeable | Enables easier deployment and upgrading of smart contracts on the ZKsync network, improving contract lifecycle management. | -| hardhat-zksync-node | Convenient plugin to run the ZKsync anvil-zksync locally. | +| hardhat-zksync-node | Convenient plugin to run anvil-zksync locally. | | hardhat-zksync-ethers | A zksync-ethers SDK wrapper providing additional methods for accelerated development on ZKsync. |