Node.js v25: "Maximum call stack size exceeded" when using old Solidity compiler versions
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 349
- Avg merge
- 8m
- Merged PRs (30d)
- 1
Description
When running solc-js tests on Node.js v25+, compilation of older Solidity compiler versions (e.g., v0.4.20) fails with a `RangeError: Maximum call stack size exceeded error`. The issue affects older Emscripten-compiled soljson.js binaries. Node.js v24 and earlier seems to work correctly.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the solc-js tests that compile older Solidity versions, using Node.js v25+ and a known older soljson.js binary such as v0.4.20; compare the result with Node.js v24. Trace the RangeError through the older Emscripten-compiled binary and confirm that the affected versions compile successfully without the stack overflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, solidity
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100