Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate protocol versions in cardano-tools #276

Closed
Tracked by #319
amesgen opened this issue Apr 14, 2023 · 3 comments · Fixed by #1224
Closed
Tracked by #319

Consolidate protocol versions in cardano-tools #276

amesgen opened this issue Apr 14, 2023 · 3 comments · Fixed by #1224
Assignees
Labels
enhancement New feature or request

Comments

@amesgen
Copy link
Member

amesgen commented Apr 14, 2023

Currently, the Cardano protocol versions are defined twice in ouroboros-consensus-cardano-tools:

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.

@nfrisby nfrisby transferred this issue from IntersectMBO/ouroboros-network Aug 3, 2023
@nfrisby
Copy link
Contributor

nfrisby commented Aug 3, 2023

We chatted and initially think the ouroboros-consensus-cardano package would be a natural place for this consolidated value to be exported.

@nfrisby
Copy link
Contributor

nfrisby commented Aug 3, 2023

Related to #275

@jorisdral jorisdral self-assigned this Aug 8, 2023
@jorisdral jorisdral added the enhancement New feature or request label Aug 8, 2023
@dnadales
Copy link
Member

Note that this will be superseded by #324

github-merge-queue bot pushed a commit that referenced this issue Aug 26, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
4 participants