fix: Fix grammar typos on commments

This commit is contained in:
miguelmtzinf 2021-05-18 11:40:02 +02:00
parent 34c9bf209e
commit 83d2989eb1

View File

@ -24,13 +24,13 @@ export const getDefenderRelaySigner = async () => {
const defenderAddress = await defenderSigner.getAddress(); const defenderAddress = await defenderSigner.getAddress();
console.log(' - Using Defender Relay: ', defenderAddress); console.log(' - Using Defender Relay: ', defenderAddress);
// Reemplace signer if FORK=main is active // Replace signer if FORK=main is active
if (process.env.FORK === 'main') { if (process.env.FORK === 'main') {
console.log(' - Impersonating Defender Relay'); console.log(' - Impersonating Defender Relay');
await impersonateAccountsHardhat([defenderAddress]); await impersonateAccountsHardhat([defenderAddress]);
defenderSigner = await (DRE as HardhatRuntimeEnvironment).ethers.getSigner(defenderAddress); defenderSigner = await (DRE as HardhatRuntimeEnvironment).ethers.getSigner(defenderAddress);
} }
// Reemplace signer if Tenderly network is active // Replace signer if Tenderly network is active
if (usingTenderly()) { if (usingTenderly()) {
console.log(' - Impersonating Defender Relay via Tenderly'); console.log(' - Impersonating Defender Relay via Tenderly');
defenderSigner = await (DRE as HardhatRuntimeEnvironment).ethers.getSigner(defenderAddress); defenderSigner = await (DRE as HardhatRuntimeEnvironment).ethers.getSigner(defenderAddress);