Conversation
|
@zshipko, can you expedite this one? |
zshipko
left a comment
There was a problem hiding this comment.
Not sure what the CI failures are, but I tested this locally. It builds correctly and the libirmin tests pass.
This also seems to work on macos so I think will make another PR to re-enable libirmin for macos.
|
I have other problems with libirmin. Its tests are failing when executed in docker. Very strange |
|
I was able to reproduce this, looking into it. |
|
Maybe it makes sense to merge this #2318 before starting to debug the libirmin test failures? |
|
However, now, when doing First, create an irmin-unix store module which uses Create a tree which contains the accounts and their balance for 3 customers: Ben, Bob and Eve. The bank is ready. let pp_merkle_proof = Irmin.Type.pp Store.Tree.Proof.tree_t The proof of Eve's balance is a Merkle proof. It is a path in the tree of all the accounts in the bank, it doesn't leaks Bob and Ben's balance, it only reveals the hash and the name of their subtree (i.e. let pp_hash = Irmin.Type.pp Store.hash_t+ # let () =
@@ -127,8 +145,8 @@ let pp_hash = Irmin.Type.pp Store.hash_t
in
Fmt.pr "proof hash: %a\n" pp_hash proof_hash
;;
- bank hash: 8e2d5291a09b98725e8525807d189eb7d9eb66d5
-proof hash: 8e2d5291a09b98725e8525807d189eb7d9eb66d5
+Line 2, characters 21-36:
+Error: Unbound module Store
|
Fix
duneexecutablestanza to remove gcc warnings. Thanks @Julow