diff --git a/packages/addresses-tools/src/addresses.helpers.ts b/packages/addresses-tools/src/addresses.helpers.ts index dd7b33b3..9f61005c 100644 --- a/packages/addresses-tools/src/addresses.helpers.ts +++ b/packages/addresses-tools/src/addresses.helpers.ts @@ -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")); @@ -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")); diff --git a/packages/zevm-app-contracts/scripts/zeta-swap/stress-swap.ts b/packages/zevm-app-contracts/scripts/zeta-swap/stress-swap.ts index 3c55596b..41c09b40 100644 --- a/packages/zevm-app-contracts/scripts/zeta-swap/stress-swap.ts +++ b/packages/zevm-app-contracts/scripts/zeta-swap/stress-swap.ts @@ -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