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

Purs 0.15 #10

Merged
merged 13 commits into from Sep 8, 2023
Merged

Purs 0.15 #10

merged 13 commits into from Sep 8, 2023

Conversation

iostat
Copy link
Member

@iostat iostat commented Aug 27, 2023

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

@iostat iostat requested review from kejace and martyall August 27, 2023 16:23
@kejace
Copy link
Member

kejace commented Aug 27, 2023

👍

package.json Outdated
@@ -14,8 +16,9 @@
"solc": "^0.5"
Copy link
Contributor

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?

Copy link
Member Author

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+

Copy link
Member Author

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)

@iostat iostat requested a review from martyall September 8, 2023 14:06
@martyall
Copy link
Contributor

martyall commented Sep 8, 2023

lgtm, excited about the tests

@iostat iostat merged commit 7a3b930 into master Sep 8, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants