functo refacto ~!

This commit is contained in:
swrup 2025-10-07 14:20:32 +02:00
parent 0fef7fbd10
commit 6ed9916974
2 changed files with 115 additions and 170 deletions

View file

@ -75,9 +75,7 @@ let () =
let () =
let open Binary_formats.Withdraw_confirmation_ps in
let str64 = String.make 64 '0' in
let dummy_t =
{ h_planchets= { hash= { hash= str64 } }; noreveal_index= 0_l }
in
let dummy_t = { h_planchets= { v= { v= str64 } }; noreveal_index= 0_l } in
let size' = Bin.size_of_value bin dummy_t |> Option.get in
assert (size = size');
assert (size = 76);