Proto: do not fully parse head fitness in Mempool.init
In the Mempool.init
function of lib_protocol/main.ml
, we only need to retrieve the round
and predecessor_round
from the head fitness. Therefore, we can use the corresponding dedicated functions instead of Fitness.from_raw
.
This change is not necessary, thanks to !6621 (merged) and !6633 (merged). However, it is still a minor improvement: it avoids unnecessarily parsing the other fitness fields.