Skip to content

Commit b021221

Browse files
committed
fix: coverage script breaking after enabling viaIR
1 parent 3080c8f commit b021221

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

contracts/.solcover.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const shell = require("shelljs");
77
module.exports = {
88
istanbulReporter: ["lcov"],
99
configureYulOptimizer: true,
10+
irMinimum: true,
1011
onCompileComplete: async function (_config) {
1112
await run("typechain");
1213
},

contracts/scripts/coverage.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ else
1919
fi
2020

2121
# Generate the Hardhat coverage report
22+
sed -i '' 's/\(viaIR: \)true/\1false/' hardhat.config.ts
2223
yarn clean
2324
echo "Building contracts with Hardhat..."
2425
yarn build

0 commit comments

Comments
 (0)