Skip to content

Commit

Permalink
add base testnet to isEthNetworkName
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Rubino committed Aug 2, 2024
1 parent 2bef8cd commit 4aac344
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion v1/lib/contracts.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ZetaConnectorBaseFactory["deploy"]> }) => {
const Factory = (await ethers.getContractFactory("ZetaConnectorBase")) as ZetaConnectorBaseFactory;
Expand Down

0 comments on commit 4aac344

Please sign in to comment.