From 4aac34460205107602eac14db1642083a60e9278 Mon Sep 17 00:00:00 2001 From: Julian Rubino Date: Fri, 2 Aug 2024 16:50:05 -0300 Subject: [PATCH] add base testnet to isEthNetworkName --- v1/lib/contracts.helpers.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v1/lib/contracts.helpers.ts b/v1/lib/contracts.helpers.ts index f1ded15e..112b77d4 100644 --- a/v1/lib/contracts.helpers.ts +++ b/v1/lib/contracts.helpers.ts @@ -29,7 +29,8 @@ export const isEthNetworkName = (networkName: string) => networkName === "eth-localnet" || networkName === "goerli_testnet" || networkName === "sepolia_testnet" || - networkName === "eth_mainnet"; + networkName === "eth_mainnet" || + networkName === "base_testnet"; export const deployZetaConnectorBase = async ({ args }: { args: Parameters }) => { const Factory = (await ethers.getContractFactory("ZetaConnectorBase")) as ZetaConnectorBaseFactory;