-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Currently, the Cardano protocol versions are defined twice in ouroboros-consensus-cardano-tools:
-
For db-analyser in
Cardano.Tools.DBAnalyser.Block.CardanoHere, e.g.
alonzoProtVeris correctly set to7since db-analyser: correct protocol versions ouroboros-network#4377 (note that, somewhat confusingly, this is not the Alonzo protocol version, see this comment):
ouroboros-consensus/ouroboros-consensus-cardano-tools/src/Cardano/Tools/DBAnalyser/Block/Cardano.hs
Line 329 in eddc225
alonzoProtVer = ProtVer (SL.natVersion @7) 0 -
For db-synthesizer in
Cardano.Node.Protocol.CardanoHere, e.g.
alonzoProtVeris incorrect:
ouroboros-consensus/ouroboros-consensus-cardano-tools/src/Cardano/Node/Protocol/Cardano.hs
Line 210 in eddc225
alonzoProtVer = ProtVer (natVersion @6) 0,
The goal of this ticket is to correct these discrepancies by consolidating them. This can serve as the baseline to extract this into a library that can also be reused in the node here, cf. IntersectMBO/ouroboros-network#3925.
For your convenience: See this table from CIP-0059 for an overview of the different protocol versions.