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

MinaProtocol / mina / 799

04 Nov 2025 01:59PM UTC coverage: 32.34% (-4.6%) from 36.902%
799

push

buildkite

web-flow
Merge pull request #18063 from MinaProtocol/lyh/compat-into-dev-nov4-2025

Merge compatible into develop Nov. 4th 2025

87 of 228 new or added lines in 10 files covered. (38.16%)

3337 existing lines in 136 files now uncovered.

23547 of 72811 relevant lines covered (32.34%)

23810.18 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

112✔
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)
224✔
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