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

Commit

Permalink
merge: PR #246 from chore/245-more-accurate-foundry-gas-usage-estimat…
Browse files Browse the repository at this point in the history
…ions-staging -> dev

245 - More accurate foundry gas usage estimations
  • Loading branch information
0xtekgrinder authored Mar 8, 2024
2 parents 24968cf + c5f4469 commit 7d93eb2
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 7d93eb2

Please sign in to comment.