From 7dfb107c723b40ead2ac6df33946d1ce2665d52e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Henrique=20Costa?= Date: Fri, 6 Jan 2023 14:56:52 -0300 Subject: [PATCH] change `.solcoverjs` occurencies to `.solcover.js` small change than could save people some time :) --- docs/faq.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 5aca8c31..024cbf57 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -55,7 +55,7 @@ Downloading compiler version 0.5.16 Extra non-whitespace after JSON value. ``` -...try setting the `measureStatementCoverage` option to `false` in `.solcoverjs`. This will reduce the footprint of +...try setting the `measureStatementCoverage` option to `false` in `.solcover.js`. This will reduce the footprint of the instrumentation solidity-coverage adds to your files. You'll still get line, branch and function coverage but the data Istanbul collects for statements will be omitted. @@ -92,11 +92,11 @@ If your project is large, complex and uses ABI encoder V2 or Solidity >= V8, you Work-arounds for this problem are tracked below. (These are only available in hardhat. If you're using hardhat and none of them work for you, please open an issue.) **Work-around #1** -+ Set the `.solcoverjs` option `configureYulOptimizer` to `true`. ++ Set the `.solcover.js` option `configureYulOptimizer` to `true`. **Work-around #2** -+ Set the `.solcoverjs` option: `configureYulOptimizer` to `true`. -+ Set the `.solcoverjs` option: `solcOptimizerDetails` to: ++ Set the `.solcover.js` option: `configureYulOptimizer` to `true`. ++ Set the `.solcover.js` option: `solcOptimizerDetails` to: ```js { peephole: false,