• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MinaProtocol / mina / 3257

30 Jan 2025 10:01AM UTC coverage: 32.567% (-28.1%) from 60.689%
3257

push

buildkite

web-flow
Merge pull request #16488 from MinaProtocol/georgeee/proof-cache-tag-11-remove-sexp-from-snark-pool

Remove sexp derivation from Snark_pool

1 of 10 new or added lines in 2 files covered. (10.0%)

18552 existing lines in 371 files now uncovered.

23257 of 71412 relevant lines covered (32.57%)

16823.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

33.33
/src/lib/transition_handler/unprocessed_transition_cache.ml
1
(* The unprocessed transition cache is a cache of transitions which have been
2
 * ingested from the network but have not yet been processed into the transition
3
 * frontier. This is used in order to drop duplicate transitions which are still
4
 * being handled by various threads in the transition frontier controller. *)
5

4✔
6
open Core_kernel
7
open Mina_base
8
open Network_peer
9

10
module Name = struct
11
  let t = __MODULE__
12
end
13

14
module Transmuter = struct
15
  module Source = struct
16
    type t = Mina_block.initial_valid_block Envelope.Incoming.t
17
  end
18

19
  module Target = struct
20
    include State_hash
21

22
    let to_string = to_base58_check
23
  end
24

25
  let transmute enveloped_transition =
UNCOV
26
    let transition, _ = Envelope.Incoming.data enveloped_transition in
×
UNCOV
27
    State_hash.With_state_hashes.state_hash transition
×
28
end
29

30
module Registry = struct
31
  type element = State_hash.t
32

33
  let element_added _ =
UNCOV
34
    Mina_metrics.(
×
35
      Gauge.inc_one Transition_frontier_controller.transitions_being_processed)
36

37
  let element_removed _ _ =
UNCOV
38
    Mina_metrics.(
×
39
      Gauge.dec_one Transition_frontier_controller.transitions_being_processed)
40
end
41

42
include Cache_lib.Transmuter_cache.Make (Transmuter) (Registry) (Name)
8✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc