From c680e5416bb23b2118151378c6ba30281de2252a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Henrique=20Costa?= Date: Thu, 21 Sep 2023 20:05:17 -0300 Subject: [PATCH] change `.solcoverjs` occurencies to `.solcover.js` (#777) --- docs/faq.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 5aca8c3..024cbf5 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,