From 5a4f7d5ed6e5d6b2711db316e8de06cea78b54ec Mon Sep 17 00:00:00 2001 From: Estevan Castilho Date: Sat, 15 Aug 2026 00:09:22 +0000 Subject: Allow storage backend addresses to be labels rather than hashes --- test/unit/backend/Storage.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/unit/backend/Storage.ml') diff --git a/test/unit/backend/Storage.ml b/test/unit/backend/Storage.ml index 76bda8b..e184e1b 100644 --- a/test/unit/backend/Storage.ml +++ b/test/unit/backend/Storage.ml @@ -13,9 +13,9 @@ module Make (S : Abstract.Storage.STORAGE) (C : Helpers.Storage.CONFIGURATOR) = begin let open Utilities.Result in let* tx = S.start conn in - let* v = S.get tx key in - let* () = S.put tx key blob in - let* v' = S.get tx key in + let* v = S.get tx (S.Hash key) in + let* () = S.put tx (S.Hash key) blob in + let* v' = S.get tx (S.Hash key) in Ok Concepts.Representation.(Option.map value_of_blob v, Option.map value_of_blob v') end |> Helpers.condition_as_failure -- cgit v1.2.3