Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More specific error than Broken Pipe #669

Open
Karrq opened this issue Oct 28, 2024 · 0 comments
Open

More specific error than Broken Pipe #669

Karrq opened this issue Oct 28, 2024 · 0 comments
Labels
compiler 📟 Issues specific to compiling needs triage ♟️ Issue needs to be picked up or assigned p3 🔵 Indicates low priority item

Comments

@Karrq
Copy link
Contributor

Karrq commented Oct 28, 2024

While compiling we write the compiler input as json to zksolc’s stdin - this is fine but sometimes zksolc will error and close before we are done writing the input to stdin.

This leads to the “Broken Pipe” error we often see.

A workaround for this would be to not propagate the error that serde throws immediately (with ?) but instead print the command’s stderr (if available) first, then returning the error - this way we can more easily troubleshoot the cause

@Karrq Karrq added compiler 📟 Issues specific to compiling p3 🔵 Indicates low priority item needs triage ♟️ Issue needs to be picked up or assigned labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler 📟 Issues specific to compiling needs triage ♟️ Issue needs to be picked up or assigned p3 🔵 Indicates low priority item
Projects
None yet
Development

No branches or pull requests

1 participant