Skip to content

Commit 095d5bf

Browse files
committed
typo: rename getWrappedNativeTokenddress to getWrappedNativeTokenAddress
1 parent 6312f9a commit 095d5bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

helpers/configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const getWethAddress = async (config: ICommonConfiguration) => {
113113
return weth.address;
114114
};
115115

116-
export const getWrappedNativeTokenddress = async (config: ICommonConfiguration) => {
116+
export const getWrappedNativeTokenAddress = async (config: ICommonConfiguration) => {
117117
const currentNetwork = process.env.MAINNET_FORK === 'true' ? 'main' : DRE.network.name;
118118
const wethAddress = getParamPerNetwork(config.WrappedNativeToken, <eNetwork>currentNetwork);
119119
if (wethAddress) {

tasks/full/5-deploy-wethGateWay.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { task } from 'hardhat/config';
22
import {
33
loadPoolConfig,
44
ConfigNames,
5-
getWrappedNativeTokenddress,
5+
getWrappedNativeTokenAddress,
66
} from '../../helpers/configuration';
77
import { deployWETHGateway } from '../../helpers/contracts-deployments';
88

@@ -14,7 +14,7 @@ task(`full-deploy-weth-gateway`, `Deploys the ${CONTRACT_NAME} contract`)
1414
.setAction(async ({ verify, pool }, localBRE) => {
1515
await localBRE.run('set-DRE');
1616
const poolConfig = loadPoolConfig(pool);
17-
const Weth = await getWrappedNativeTokenddress(poolConfig);
17+
const Weth = await getWrappedNativeTokenAddress(poolConfig);
1818

1919
if (!localBRE.network.config.chainId) {
2020
throw new Error('INVALID_CHAIN_ID');

0 commit comments

Comments
 (0)