Closed zamrokk closed 11 months ago
@zamrokk do you have an example contract I can use to test with please?
I couldn't repro this myself. Even with older ligo docker images. But, looking at the report, it looks like the issue stems from maxBuffer
of exec'd child processes.
=== Error messages for main.jsligo === stderr maxBuffer length exceeded
This could be because either, runtime was older and supported a smaller stderr buffer (recent ones support 1024 * 1024 chars) or if older lima protocol was throwing a long error message.
Ref: https://deno.land/std@0.177.0/node/child_process.ts?source=#L43
Ref: https://nodejs.org/api/child_process.html#maxbuffer-and-unicode
@mweichert Would you like me to open a PR raising the maxBuffer
limit?
Alternatively, spawn instead of exec could be used.
I cannot reproduce either on last ligoV1 version on nairobi
I close it so
๐ฅ Status (Internal Taqueria Team Use Only)
๐ What happened?
TAQ_LIGO_IMAGE=ligolang/ligo:next taq compile main.jsligo
If I run with ligo
logs :
๐ Steps to Reproduce?
real issue is that the event name lenght is too long , ligo can show the actual error
Taqueria does not propagates the real error to the developer
๐ชต Relevant log output
No response
๐ How impactful is this bug?
None
โฑ๏ธ Prevalance
No response
๐ป Operating System
None
๐ธ๏ธ System Architecture
None
๐ฎ Taqueria Version
0.28.4
๐ฟ Node.js Version
No response
โ๏ธ Contact Details
No response
Code of Conduct