iden3 / circom_tester

Provides tools for testing circom circuits.
56 stars 28 forks source link

RangeError: Invalid string length #26

Open elmol opened 5 months ago

elmol commented 5 months ago

Title: RangeError: Invalid string length when reading a large .sym file

Description:

An error was encountered when attempting to read a large .sym file, resulting in a RangeError: Invalid string length. The following details were recorded:

RangeError: Invalid string length
 at readFileHandle (node:internal/fs/promises:567:25)
 at async WasmTester.loadSymbols (node_modules/circom_tester/wasm/tester.js:118:25)

The issue appears to occur within the WasmTester.loadSymbols method while handling the file reading process.

elmol commented 5 months ago

Fixed in PR https://github.com/iden3/circom_tester/pull/27