You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
readFileSync will fail on files larger than ~260MB as described here. nodejs/node#9489
This will make solidity to fail with cryptic message when calling toString on the readFileSync results.
We encountered this problem due to (relatively) large number of tests we run on our code base.
Solution: use stream to read line by line as in this commit Neufund@9a041d7
If maintainers are interested I can provide PR.
The text was updated successfully, but these errors were encountered:
@rudolfix Absolutely no pressure here but is your preference to open a PR or is it more convenient for you if we just steal this? With attribution of course.
If PR that's great, and take as long as you like :)
Do you have gitter channel? All tests are passing except app test which throws on timeout
1) app "before all" hook:
Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
I run it with npm run test. I'd like all tests passing before I push PR
readFileSync
will fail on files larger than ~260MB as described here.nodejs/node#9489
This will make solidity to fail with cryptic message when calling
toString
on thereadFileSync
results.We encountered this problem due to (relatively) large number of tests we run on our code base.
Solution: use stream to read line by line as in this commit Neufund@9a041d7
If maintainers are interested I can provide PR.
The text was updated successfully, but these errors were encountered: