From e630a2b90a5636d5f1b11867da9c8f0a10c57303 Mon Sep 17 00:00:00 2001 From: Shebin John Date: Tue, 5 Dec 2023 20:38:07 +0530 Subject: [PATCH] Update faq.md with a workaround https://github.com/sc-forks/solidity-coverage/issues/715#issuecomment-1840433695 --- docs/faq.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 024cbf57..4c6fb841 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -110,6 +110,18 @@ Work-arounds for this problem are tracked below. (These are only available in ha } ``` +**Work-around #3** ++ Set the `.solcover.js` option: `configureYulOptimizer` to `true`. ++ Set the `.solcover.js` option: `solcOptimizerDetails` to: + ```js + { + yul: true, + yulDetails: { + optimizerSteps: "" + }, + } + ``` + ## Notes on gas distortion Solidity-coverage instruments by injecting statements into your code, increasing its execution costs.