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

Commit

Permalink
feat: add --isolate flaf to gas estimation of solidity
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed Mar 5, 2024
1 parent 68401d2 commit a2c8213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchains/solidity/extension/src/gas-estimation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function gasReportTests(cwd: string): Promise<ReportDecorators> {
let decorations: ReportDecorators = new Map();

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

0 comments on commit a2c8213

Please sign in to comment.