Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions deku-p/src/core/block_storage/tests/block_storage_tests.ml
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ let test_200k_block_load env () =

let retrieved_block =
match Block_storage.find_block_by_level ~level block_storage with
| Some json ->
Data_encoding.Json.destruct Deku_consensus.Block.encoding json
| Some block -> block
| None -> Genesis.block
in

Expand All @@ -143,10 +142,6 @@ let test_200k_block_load env () =
Eio.Switch.fail sw Test_finished
with _ -> ()

(* TODO: Add tests with only one env threaded through all tests *)
let eio_test_case : (Eio.Stdenv.t -> unit -> unit) -> unit -> unit =
fun f () -> Eio_main.run (fun env -> f env ())

let run () =
Eio_main.run (fun env ->
let open Alcotest in
Expand Down