You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
nfrisby
transferred this issue from IntersectMBO/ouroboros-network
Aug 3, 2023
While giving us flexibility, using different protocol versions for all
eras increased the level of complexity and led to several errors in the
past. This PR removes this flexibility by using a single protocol
version, which determines the maximum protocol version Consensus
supports.
See #324 for more background.
Closes#324.
Closes#276.
TODOs:
- [x] Format the code.
- [x] Fix ThreadNet test failure.
- [x] Improve documentation.
- [x] Address all the `FIXME`s.
Currently, the Cardano protocol versions are defined twice in
ouroboros-consensus-cardano-tools
:For db-analyser in
Cardano.Tools.DBAnalyser.Block.Cardano
Here, e.g.
alonzoProtVer
is correctly set to7
since 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
For db-synthesizer in
Cardano.Node.Protocol.Cardano
Here, e.g.
alonzoProtVer
is incorrect:ouroboros-consensus/ouroboros-consensus-cardano-tools/src/Cardano/Node/Protocol/Cardano.hs
Line 210 in eddc225
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.
The text was updated successfully, but these errors were encountered: