Skip to content

Commit

Permalink
Update .solcover.js
Browse files Browse the repository at this point in the history
  • Loading branch information
doublesharp committed Feb 25, 2024
1 parent 829e958 commit 1a4859a
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions .solcover.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
module.exports = {
configureYulOptimizer: true,
solcOptimizerDetails: {
yul: true,
yulDetails: {
optimizerSteps:
"dhfoDgvlfnTUtnIf" + // None of these can make stack problems worse
"[" +
"xa[r]EsLM" + // Turn into SSA and simplify
"CTUtTOntnfDIl" + // Perform structural simplification
"Ll" + // Simplify again
"Vl [j]" + // Reverse SSA
// should have good "compilability" property here.

"Tpel" + // Run functional expression inliner
"xa[rl]" + // Prune a bit more in SSA
"xa[r]L" + // Turn into SSA again and simplify
"gvf" + // Run full inliner
"CTUa[r]LSsTFOtfDna[r]Il" + // SSA plus simplify
"]" +
"jml[jl] VTOl jml : fDnTO",
},
peephole: false,
inliner: false,
jumpdestRemover: false,
orderLiterals: true, // <-- TRUE! Stack too deep when false
deduplicate: false,
cse: false,
constantOptimizer: false,
yul: false,
},
skipFiles: ["test/", "libraries/"],
};

0 comments on commit 1a4859a

Please sign in to comment.