Updated hardhat config

This commit is contained in:
Thrilok Kumar 2021-03-20 02:07:23 +05:30
parent 34d1dceaeb
commit dde0349883
4 changed files with 1657 additions and 17942 deletions

View File

@ -104,7 +104,7 @@ abstract contract Helpers {
_ctokens[i],
_tokens[i]
);
emit LogCTokensUpdated(_names[i], _tokens[i], _ctokens[i]);
emit LogCTokenUpdated(_names[i], _tokens[i], _ctokens[i]);
}
}

View File

@ -3,6 +3,8 @@ require("@tenderly/hardhat-tenderly");
require("@nomiclabs/hardhat-etherscan");
require('dotenv').config();
const { utils } = require("ethers");
const PRIVATE_KEY = process.env.PRIVATE_KEY;
const ALCHEMY_ID = process.env.ALCHEMY_ID;
@ -37,20 +39,19 @@ module.exports = {
url: `https://eth-kovan.alchemyapi.io/v2/${ALCHEMY_ID}`,
accounts: [`0x${PRIVATE_KEY}`]
},
tenderlyMainnet: {
url: 'https://mainnet.tenderly.co',
mainnet: {
url: `https://eth.alchemyapi.io/v2/${ALCHEMY_ID}`,
accounts: [`0x${PRIVATE_KEY}`],
chainId: 1,
gasPrice: 25120000000,
timeout: 500000
timeout: 150000,
gasPrice: parseInt(utils.parseUnits("161", "gwei"))
},
hardhat: {
forking: {
url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`,
blockNumber: 12070498,
},
blockGasLimit: 12000000,
},
tenderlyKovan: {
url: 'https://kovan.tenderly.co',
accounts: [`0x${PRIVATE_KEY}`],
chainId: 42,
gasPrice: 40000000000,
timeout: 50000
}
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY

19570
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -50,6 +50,6 @@
"sol-merger": "^2.0.1",
"solidity-coverage": "0.5.11",
"solium": "1.2.3",
"web3": "^1.2.9"
"web3": "^1.2.6"
}
}