Skip to content

Commit

Permalink
zeta_testnet in the hello example
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Jul 4, 2023
1 parent d370ff3 commit 961b530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnichain/hello/tasks/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { HardhatRuntimeEnvironment } from "hardhat/types";
const contractName = "HelloZeta";

const main = async (args: any, hre: HardhatRuntimeEnvironment) => {
if (hre.network.name !== "athens") {
if (hre.network.name !== "zeta_testnet") {
throw new Error(
'🚨 Please use the "athens" network to deploy to ZetaChain.'
);
Expand Down

0 comments on commit 961b530

Please sign in to comment.