IntersectMBO / IntersectMBO/formal-ledger-specifications

Possibly outdated documentation about type `ProtVer`

Open
#801 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Agda
Stars
52
Forks
20
Avg merge
6d 14h
Merged PRs (30d)
7

Description

In `Ledger.Conway.PParams`, there is a code snippet (shown in the PDFs):
```agda
ProtVer : Type
ProtVer = ℕ × ℕ

instance
Show-ProtVer : Show ProtVer
Show-ProtVer = Show-×

data pvCanFollow : ProtVer → ProtVer → Type where
canFollowMajor : pvCanFollow (m , n) (m + 1 , 0)
canFollowMinor : pvCanFollow (m , n) (m , n + 1)
```
Way below there is a (commented out) comment:
```agda
% Retiring ProtVer's documentation since ProtVer is retired.
% \ProtVer{} represents the protocol version used in the Cardano ledger.
% It is a pair of natural numbers, representing the major and minor version,
% respectively.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.