forge-jig
forge-jig copied to clipboard
bug: no check for foundry.toml results in 'call stack size exceeded'
without a foundry.toml in root the follow error is outputed:
RangeError: Maximum call stack size exceeded
at Object.existsSync (node:fs:300:20)
yes I know it says in the README you need one, but it should check b4 cont. processes
$ jig make contracts/Wallet.sol
jig make <pattern> [options]
generate a jig for solidity contract
Positionals:
pattern [string] [required]
Options:
--version Show version number [boolean]
-h, --help Show help [boolean]
RangeError: Maximum call stack size exceeded
at Object.existsSync (node:fs:300:20)
at findNearest (/Users/sbacha/.nvm/versions/node/v18.12.1/lib/node_modules/@forge-jig/cli/node_modules/@forge-jig/foundry/dist/src/findNearest.js:48:12)
Fair point! Will do. I'm curious are you using this for a side-project or at manifold?
Fair point! Will do. I'm curious are you using this for a side-project or at manifold?
We are evaluating it, why? You interested in doing some paid work?
We are evaluating it, why? You interested in doing some paid work?
Awesome to hear! Don't think paid work is in the cards right now, most weeks I'm very focused on Stelo but going to do a some refactoring while on break. If you bump into any more rough edges, please do let me know!