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

Post refactor clean up: Split OCaml libs #58

Merged
merged 13 commits into from
Jun 28, 2023

Conversation

mitschabaude
Copy link
Member

@mitschabaude mitschabaude commented Jun 27, 2023

This PR splits up the OCaml bindings into several different files:

  • The main file only contains Snarky
  • pickles_bindings.ml which exports Pickles
  • local_ledger.ml which exports Ledger
  • consistency_test.ml which exports Test

Also, in support of o1-labs/o1js#1004, remove unchecked Poseidon (but keep unchecked hashToGroup as a consistency test)

@@ -1,58 +1,12 @@
open Core_kernel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Should we name this file something like snarky_bindings.ml then? wdyt

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea! How do you like it now? I also removed the top level Snarky module in snarky_bindings.ml now because there's nothing else in that file

@mitschabaude mitschabaude merged commit f52126e into main Jun 28, 2023
@mitschabaude mitschabaude deleted the feature/split-ocaml-bindings branch June 28, 2023 10:03
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

2 participants