From e91699e24c94cfd60d4a1f0d25365e13c604400d Mon Sep 17 00:00:00 2001 From: Martin Ondejka Date: Thu, 27 Jul 2023 14:51:59 +0200 Subject: [PATCH] Fix rebase --- ocaml/dune | 2 +- ocaml/lib/snarky_js_bindings_lib.ml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ocaml/dune b/ocaml/dune index 7ac121401a..62a274e451 100644 --- a/ocaml/dune +++ b/ocaml/dune @@ -24,7 +24,7 @@ ../kimchi/js/node_js/plonk_wasm_bg.wasm) (instrumentation (backend bisect_ppx)) - (forbidden_libraries async core re2 ctypes) + (forbidden_libraries re2 ctypes) (preprocess (pps ppx_version js_of_ocaml-ppx))) diff --git a/ocaml/lib/snarky_js_bindings_lib.ml b/ocaml/lib/snarky_js_bindings_lib.ml index 67f7b125b9..c900f3a5d1 100644 --- a/ocaml/lib/snarky_js_bindings_lib.ml +++ b/ocaml/lib/snarky_js_bindings_lib.ml @@ -1,4 +1,5 @@ module Js = Js_of_ocaml.Js +open Core_kernel let rollup = let open Mina_base in @@ -200,10 +201,10 @@ let export_global () = Js.Unsafe.( let i = inject in obj - [| ("Snarky", i snarky) - ; ("Ledger", i Ledger.ledger_class) - ; ("Pickles", i pickles) - ; ("Test", i test) + [| ("Snarky", i Snarky_bindings.snarky) + ; ("Ledger", i Local_ledger.ledger_class) + ; ("Pickles", i Pickles_bindings.pickles) + ; ("Test", i Consistency_test.test) ; ("Rollup", i rollup) |]) in