Slight cleanup

This commit is contained in:
Zer0dot 2021-01-14 18:56:18 -05:00
parent eb38932cc2
commit ccb6e36760
3 changed files with 1 additions and 5 deletions

View File

@ -73,7 +73,6 @@ export const deployLendingPoolAddressesProvider = async (marketId: string, verif
verify
)
export const deployLendingPoolAddressesProviderRegistry = async (verify?: boolean) =>
withSaveAndVerify(
await new LendingPoolAddressesProviderRegistryFactory(await getFirstSigner()).deploy(),

View File

@ -19,7 +19,6 @@ import { verifyContract } from './etherscan-verification';
import { getIErc20Detailed, getFirstSigner } from './contracts-getters';
import { addGas, totalGas } from '../gas-tracker';
export type MockTokenMap = { [symbol: string]: MintableERC20 };
export const registerContractInJsonDb = async (contractId: string, contractInstance: Contract) => {
@ -96,7 +95,7 @@ export const withSaveAndVerify = async <ContractType extends Contract>(
// console.log("TEST:", gasCost.toString());
addGas(instance.deployTransaction.gasLimit);
console.log("Current totalGas value:", totalGas);
console.log("LOGGED GAS LIMIT:", instance.deployTransaction.gasLimit);
console.log("Logged gas limit:", instance.deployTransaction.gasLimit);
await waitForTx(instance.deployTransaction);
await registerContractInJsonDb(id, instance);
if (DRE.network.name.includes('tenderly')) {

View File

@ -277,8 +277,6 @@ export enum TokenContractId {
YFI = 'YFI',
UNI = 'UNI',
ENJ = 'ENJ',
WETHDAI = 'WETHDAI',
WETHWBTC = 'WETHWBTC',
}
export interface IReserveParams extends IReserveBorrowParams, IReserveCollateralParams {