Skip to content

Commit

Permalink
chore: tune maxDepth of RecursiveCall test case (#192)
Browse files Browse the repository at this point in the history
fix VM error memory error: write on executable page
  • Loading branch information
Flouse authored Oct 8, 2022
1 parent 92857c2 commit dce3ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/test/RecursiveCall.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("Recursion Contract", function () {
const recurContract = await contractFact.deploy();
await recurContract.deployed();

const maxDepth = 36
const maxDepth = 35;
for (let i = 1; i <= maxDepth; i++) {
let pureSumLoop = await recurContract.pureSumLoop(i);
let sum = await recurContract.sum(i);
Expand Down

0 comments on commit dce3ddd

Please sign in to comment.