Skip to content

Commit

Permalink
add test for empty block saving and loading by hash
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteSwerve committed Dec 21, 2022
1 parent c3b2550 commit 2e60777
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deku-p/src/core/block_storage/tests/block_storage_tests.ml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ let block ~default_block_size =
producer

(* NOTE: These tests generate new databases in /tmp/ for every test, for every run. *)
(* TODO: change to an in-memory databse *)
let uri () =
let file_hash =
let randn = Stdlib.Random.int 230 in
Expand Down

0 comments on commit 2e60777

Please sign in to comment.