Skip to content
New issue

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

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

Already on GitHub? # to your account

Properly solve the greedy exception catcher problem #174

Closed
axic opened this issue Jan 5, 2018 · 1 comment
Closed

Properly solve the greedy exception catcher problem #174

axic opened this issue Jan 5, 2018 · 1 comment
Assignees

Comments

@axic
Copy link
Member

axic commented Jan 5, 2018

Apparently there is a way in Emscripten to disable the "greedy exception catcher": https://github.com/kripken/emscripten/blob/f585dcbc2d929ef8b8bc6813e0710ec3215ac0b1/src/settings.js#L325-L328 (Officially suggested here: emscripten-core/emscripten#5957)

Found by @hugo-dc in ethereumjs/rustbn.js#11

Properly fixes #34, #44 and #113.

@axic
Copy link
Member Author

axic commented Jan 16, 2018

Once compiled with that we could remove this code: https://github.com/ethereum/solc-js/blob/master/solcjs#L9-L11

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant