Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

Commit 7d93eb2

Browse files
authored
merge: PR #246 from chore/245-more-accurate-foundry-gas-usage-estimations-staging -> dev
245 - More accurate foundry gas usage estimations
2 parents 24968cf + c5f4469 commit 7d93eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchains/solidity/extension/src/gas-estimation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function gasReportTests(cwd: string): Promise<ReportDecorators> {
3333
let decorations: ReportDecorators = new Map();
3434

3535
// Gas estimation from the tests
36-
await new Promise<void>((resolve, reject) => exec("forge test --gas-report", { cwd }, async (error: any, _stdout: any, _stderr: any) => {
36+
await new Promise<void>((resolve, reject) => exec("forge test --gas-report --isolate", { cwd }, async (error: any, _stdout: any, _stderr: any) => {
3737
if (error) {
3838
console.log("error", error);
3939
reject(error);

0 commit comments

Comments
 (0)