-
Notifications
You must be signed in to change notification settings - Fork 1
/
.solcover.js
24 lines (22 loc) · 1.42 KB
/
.solcover.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const shell = require('shelljs');
module.exports = {
skipFiles: ['utils/test/Import.sol', 'utils/test/ERC20Mock', 'interfaces/IBPool.sol', 'IConfiguarableRightsPool.sol'],
providerOptions: {
allowUnlimitedContractSize: true,
default_balance_ether: 0x1fffffffffffff,
},
onCompileComplete: async function(config, deployer) {
await shell.cp('./build/contracts/BalancerSafeMath.json' , './.coverage_artifacts/contracts')
await shell.cp('./build/contracts/BalancerSafeMathMock.json' , './.coverage_artifacts/contracts')
await shell.cp('./build/contracts/BFactory.json' , './.coverage_artifacts/contracts')
await shell.cp('./build/contracts/BPool.json' , './.coverage_artifacts/contracts')
await shell.cp('./build/contracts/ConfigurableRightsPool.json' , './.coverage_artifacts/contracts')
await shell.cp('./build/contracts/CRPFactory.json' , './.coverage_artifacts/contracts')
await shell.cp('./build/contracts/RightsManager.json' , './.coverage_artifacts/contracts')
await shell.cp('./build/contracts/SmartPoolManager.json' , './.coverage_artifacts/contracts')
await shell.cp('./build/contracts/WETH.json' , './.coverage_artifacts/contracts')
console.log('---------------------------------------------------------------------')
console.log('ABIs manually copied to ./.coverage_artifacts/contracts')
console.log('---------------------------------------------------------------------')
}
};