Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #125

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/addresses-tools/src/addresses.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const saveAddress = (addressName: ZetaAddress, newAddress: string) => {
};

export const addNewAddress = (addressName: string, addressValue: string = "") => {
if (!addressName) throw new Error("Emtpy address name.");
if (!addressName) throw new Error("Empty address name.");

const addressesDirname = join(dirname, `./`);
const addressesFiles = readdirSync(addressesDirname).filter(fileName => fileName.includes(".json"));
Expand Down Expand Up @@ -189,7 +189,7 @@ export const addNewAddress = (addressName: string, addressValue: string = "") =>
};

export const addNewNetwork = (newNetworkName: string, addTo: ZetaNetworkName[]) => {
if (!newNetworkName) throw new Error("Emtpy networkName name.");
if (!newNetworkName) throw new Error("Empty networkName name.");
const addressesDirname = join(dirname, `./`);
const addressesFiles = readdirSync(addressesDirname).filter(fileName => fileName.includes(".json"));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ********************************* */
/* How to run this script
/* To run this script you have to setup the enviroment (yarn and setup .env) and run this command
/* To run this script you have to setup the environment (yarn and setup .env) and run this command
/* ZETA_NETWORK=athens npx hardhat run scripts/zeta-swap/stress-swap.ts --network "polygon-mumbai"
/* In the example we use "polygon-mumbai", that's the source network. Can be any valid source network
/* Be sure to have enough gas tokens to pay all the tx
Expand Down
Loading