mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Slight cleanup
This commit is contained in:
parent
b2123e914c
commit
ed17b5a037
|
@ -89,10 +89,6 @@ export const withSaveAndVerify = async <ContractType extends Contract>(
|
|||
args: (string | string[])[],
|
||||
verify?: boolean
|
||||
): Promise<ContractType> => {
|
||||
// const signer = await getFirstSigner();
|
||||
// const factory = ethers.ContractFactory.fromSolidity(instance);
|
||||
// const gasCost = await signer.estimateGas(await factory.getDeployTransaction());
|
||||
// console.log("TEST:", gasCost.toString());
|
||||
addGas(instance.deployTransaction.gasLimit);
|
||||
console.log("Current totalGas value:", totalGas);
|
||||
console.log("Logged gas limit:", instance.deployTransaction.gasLimit);
|
||||
|
|
|
@ -57,5 +57,5 @@ task('aave:mainnet', 'Deploy development enviroment')
|
|||
}
|
||||
console.log('\nFinished migrations');
|
||||
printContracts();
|
||||
console.log("Total gas used:", totalGas);
|
||||
console.log("Total gas used:", totalGas.toString());
|
||||
});
|
||||
|
|
|
@ -59,5 +59,5 @@ task('uniswap:mainnet', 'Deploy development enviroment')
|
|||
}
|
||||
console.log('\nFinished migrations');
|
||||
printContracts();
|
||||
console.log("Total gas used:", totalGas);
|
||||
console.log("Total gas used:", totalGas.toString());
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user