-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.solcover.js
More file actions
31 lines (31 loc) · 1.02 KB
/
.solcover.js
File metadata and controls
31 lines (31 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module.exports = {
skipFiles: ["interfaces/", "mocks/", "vendor/", "test/"],
mocha: {
fgrep: "[skip-on-coverage]", // Find everything with this tag.
invert: true, // Run the grep's inverse set.
enableTimeouts: false,
parallel: false
},
// measureStatementCoverage: false,
// measureFunctionCoverage: false,
irMinimum: !!process.env.VIA_IR, // Comment this line if "stack too deep" with `VIA_IR=true`.
// Work around "stack too deep".
configureYulOptimizer: true,
solcOptimizerDetails: {
yul: true,
yulDetails: {
optimizerSteps: ""
}
}
// Alternative configuration for the Yul optimizer. Try to use it if "stack too deep" errors with the previous one.
// solcOptimizerDetails: {
// peephole: false,
// inliner: false,
// jumpdestRemover: false,
// orderLiterals: true,
// deduplicate: false,
// cse: false,
// constantOptimizer: false,
// yul: false
// }
};