mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Updated hardhat config
This commit is contained in:
parent
34d1dceaeb
commit
dde0349883
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
19576
package-lock.json
generated
19576
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user