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
Purs 0.15 #10
Conversation
👍 |
package.json
Outdated
@@ -14,8 +16,9 @@ | |||
"solc": "^0.5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about this solc dep?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package.json deps don't matter for purescript -- it's worth noting that this library allows you to invoke /any/ version of the solidity compiler (see the FFI in Compiler.js) -- the API was just stabilized in 0.5+
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Releases.purs fetches/loads whatever version you want)
lgtm, excited about the tests |
Needed for Chanterelle.
Mostly routine, deps + CommonJS FFI.
Added purs-tidy and tidy-check to CI, as well as bumping the CI base image.
PureScript's change to ESM actually broke dynamically loading solc. There's a hack in here that requires Node v20.6+ to work, but it works. It did require a slight API change to
L.S.C.useCompiler
Added tests