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

You shall not have another CompilerStack aside me. #33

Open
alexreyes opened this issue Feb 16, 2023 · 2 comments
Open

You shall not have another CompilerStack aside me. #33

alexreyes opened this issue Feb 16, 2023 · 2 comments
Assignees

Comments

@alexreyes
Copy link
Member

No description provided.

@alexreyes
Copy link
Member Author

seems to happen a lot when editing contracts in vim

@alexreyes alexreyes added the bug Something isn't working label Feb 22, 2023
@alexreyes alexreyes added ETHDenver and removed bug Something isn't working labels Feb 24, 2023
@neocho neocho assigned neocho and unassigned alexreyes Feb 24, 2023
@alexreyes
Copy link
Member Author

We'll need to make changes to bagels-solc-js for this.

Idea to fix this bug:

"If that's the case then a workaround for this would probably be to unload the binary and load it again if you detect a crash in the callback."

Example gist: https://gist.github.com/alexreyes/a7c1062895593cda1fa538c141200c16?permalink_comment_id=4483136#gistcomment-4483136

The example reloads the binaries by putting in a new solc version. But to really fix this we'll need to reload the binaries with the same solc-js version.

@alexreyes alexreyes assigned alexreyes and unassigned neocho Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants