fix: Update coverage calls

This commit is contained in:
Lasse Herskind 2021-05-31 16:21:41 +02:00
parent a3e11800a4
commit b3f616ce5b
3 changed files with 25810 additions and 3496 deletions

View File

@ -14,6 +14,7 @@ import 'temp-hardhat-etherscan';
import 'hardhat-gas-reporter';
import 'hardhat-typechain';
import '@tenderly/hardhat-tenderly';
import 'solidity-coverage';
const SKIP_LOAD = process.env.SKIP_LOAD === 'true';
const DEFAULT_BLOCK_GAS_LIMIT = 12450000;
@ -65,7 +66,7 @@ const getCommonNetworkConfig = (networkName: eEthereumNetwork, networkId: number
const mainnetFork = MAINNET_FORK
? {
blockNumber: 11608298,
blockNumber: 12541468,
url: ALCHEMY_KEY
? `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_KEY}`
: `https://mainnet.infura.io/v3/${INFURA_KEY}`,
@ -73,12 +74,35 @@ const mainnetFork = MAINNET_FORK
: undefined;
const buidlerConfig: HardhatUserConfig = {
gasReporter: {
enabled: true,
},
solidity: {
version: '0.6.12',
settings: {
optimizer: { enabled: true, runs: 200 },
evmVersion: 'istanbul',
},
compilers: [
{
version: '0.6.12',
settings: {
optimizer: {
enabled: true,
runs: 200,
details: {
yul: true,
yulDetails: {
stackAllocation: true,
},
},
},
evmVersion: 'istanbul',
},
},
{
version: '0.8.3',
settings: {
optimizer: { enabled: true, runs: 200 },
evmVersion: 'istanbul',
},
},
],
},
typechain: {
outDir: 'types',

29260
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -34,7 +34,7 @@
"test-uniswap": "hardhat test test/__setup.spec.ts test/uniswapAdapters*.spec.ts",
"test:main:check-list": "MAINNET_FORK=true TS_NODE_TRANSPILE_ONLY=1 hardhat test test/__setup.spec.ts test/mainnet/check-list.spec.ts",
"test:main:staticAToken": "MAINNET_FORK=true TS_NODE_TRANSPILE_ONLY=1 hardhat test test/mainnet/static-atoken.spec.ts",
"dev:coverage": "buidler compile --force && buidler coverage --network coverage",
"dev:coverage": "npm run compile && npx hardhat coverage --testfiles 'test-suites/test-aave/*.ts'",
"aave:evm:dev:migration": "npm run compile && hardhat aave:dev",
"aave:docker:full:migration": "npm run compile && npm run hardhat:docker -- aave:mainnet",
"aave:kovan:full:migration": "npm run compile && npm run hardhat:kovan -- aave:mainnet --verify",
@ -76,7 +76,7 @@
"@nomiclabs/buidler-ethers": "2.0.0",
"@nomiclabs/buidler-etherscan": "^2.1.0",
"@nomiclabs/buidler-waffle": "2.0.0",
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.0",
"@openzeppelin/contracts": "3.1.0",
"@tenderly/hardhat-tenderly": "^1.1.0-beta.3",
@ -91,7 +91,7 @@
"@types/node": "14.0.5",
"bignumber.js": "9.0.0",
"buidler-typechain": "0.1.1",
"chai": "4.2.0",
"chai": "4.3.4",
"chai-bignumber": "3.0.0",
"chai-bn": "^0.2.1",
"dotenv": "^8.2.0",
@ -100,7 +100,7 @@
"ethereumjs-util": "7.0.2",
"ethers": "^5.0.19",
"globby": "^11.0.1",
"hardhat": "^2.0.8",
"hardhat": "^2.3.0",
"hardhat-gas-reporter": "^1.0.0",
"hardhat-typechain": "^0.3.3",
"husky": "^4.2.5",
@ -108,7 +108,7 @@
"prettier": "^2.0.5",
"prettier-plugin-solidity": "^1.0.0-alpha.53",
"pretty-quick": "^2.0.1",
"solidity-coverage": "0.7.10",
"solidity-coverage": "^0.7.16",
"temp-hardhat-etherscan": "^2.0.2",
"ts-generator": "^0.1.1",
"ts-node": "^8.10.2",