-
Notifications
You must be signed in to change notification settings - Fork 133
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
[main] Add mina as a git submodule for o1js #1133
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…essary compilation of mina directory
…prevent Jest from running tests in this directory
…t tests This change is temporary until 'snarkyjs' is removed from the mina repo.
…om jest tests This change was made because the 'snarkyjs' inside the mina repo has been removed, making the condition unnecessary.
… changes in the subproject
…n and README-dev.md for better clarity and consistency
…directory structure, ensuring correct files are ignored by Prettier
…5983b458dacf89211c93e
This was referenced Nov 15, 2023
…build scripts - Replace opam with Dune in the list of required tools to reflect changes in the build process - Add a new section about build scripts, explaining the role of update-snarkyjs-bindings.sh - Expand on the OCaml bindings section, detailing the use of Dune and Js_of_ocaml in the build process - Add information about the WebAssembly bindings build process, including the output files - Introduce a section about generated constant types, explaining how they are created and their role in ensuring protocol consistency
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.
Very nice how you updated the dev README!
…atures and bug fixes
…up-to-date dependencies and features
…o-date functionality
Co-authored-by: Gregor Mitscha-Baude <gregor.mitscha-baude@gmx.at>
Co-authored-by: Gregor Mitscha-Baude <gregor.mitscha-baude@gmx.at>
Co-authored-by: Gregor Mitscha-Baude <gregor.mitscha-baude@gmx.at>
…o feat/add-mina-submodule
…lity and maintainability feat(package.json): add new build commands for bindings, update-bindings, and wasm chore(src/bindings): update subproject commit hash for latest changes
…b38a3478cc08c756610be for latest changes
MartinMinkov
changed the title
Add mina as a git submodule for o1js
[main] Add mina as a git submodule for o1js
Dec 13, 2023
…a3b8dfbdb7ab72f5036c3 for latest changes
mitschabaude
approved these changes
Dec 14, 2023
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.
Pre-approving with a few more comments.
Tried it out locally, it works for me. Let's go 🚀
Co-authored-by: Gregor Mitscha-Baude <gregor.mitscha-baude@gmx.at>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Addresses #1096
🔗 Mina: MinaProtocol/mina#14461
🔗 o1js-bindings: o1-labs/o1js-bindings#159
This PR aims to add mina as a submodule of o1js and add support to build everything in the top level directory. To do so, the following changes were made:
src/mina
, and target the PR aboveREADME-dev.md
to elaborate on how to build the bindings and give contextual informationpackage-lock.json
, modifying some config files, etc.dune-project
file to let dune build all OCaml dependencies in the current root context.