diff --git a/helpers/configuration.ts b/helpers/configuration.ts index f3423eb3..2dc73f5a 100644 --- a/helpers/configuration.ts +++ b/helpers/configuration.ts @@ -113,7 +113,7 @@ export const getWethAddress = async (config: ICommonConfiguration) => { return weth.address; }; -export const getWrappedNativeTokenddress = async (config: ICommonConfiguration) => { +export const getWrappedNativeTokenAddress = async (config: ICommonConfiguration) => { const currentNetwork = process.env.MAINNET_FORK === 'true' ? 'main' : DRE.network.name; const wethAddress = getParamPerNetwork(config.WrappedNativeToken, <eNetwork>currentNetwork); if (wethAddress) { diff --git a/tasks/full/5-deploy-wethGateWay.ts b/tasks/full/5-deploy-wethGateWay.ts index bac606ac..6240693a 100644 --- a/tasks/full/5-deploy-wethGateWay.ts +++ b/tasks/full/5-deploy-wethGateWay.ts @@ -2,7 +2,7 @@ import { task } from 'hardhat/config'; import { loadPoolConfig, ConfigNames, - getWrappedNativeTokenddress, + getWrappedNativeTokenAddress, } from '../../helpers/configuration'; import { deployWETHGateway } from '../../helpers/contracts-deployments'; @@ -14,7 +14,7 @@ task(`full-deploy-weth-gateway`, `Deploys the ${CONTRACT_NAME} contract`) .setAction(async ({ verify, pool }, localBRE) => { await localBRE.run('set-DRE'); const poolConfig = loadPoolConfig(pool); - const Weth = await getWrappedNativeTokenddress(poolConfig); + const Weth = await getWrappedNativeTokenAddress(poolConfig); if (!localBRE.network.config.chainId) { throw new Error('INVALID_CHAIN_ID');