IntersectMBO / cardano-ledger

The ledger implementation and specifications of the Cardano blockchain.
Apache License 2.0
261 stars 157 forks source link

Audit/Compare the Conway spec to the implementation #3156

Closed JaredCorduan closed 1 month ago

JaredCorduan commented 2 years ago

Audit that the conway formal spec matches the implementation. (it would be better to have conformance tests against an executable model , but the new agda model will probably not be fully executable in time.)


Blocks branch

Level 1
Level 2
Level 3
Level 4

Ticks branch

Level 1
Level 2
Level 3
Level 4
ltouro commented 2 years ago

There is a link to conway formal spec?

JaredCorduan commented 2 years ago

There is a link to conway formal spec?

great question, there's not yet, unfortunately. CIP-1694 is the closest thing that we have so far. See this section for a loose understanding of what is in scope for conway.

Our goal for conway is to do something new and exciting with the spec: use the Agda model to produce a PDF with the relevant changes. When it is ready, I will add a link to it at the top of the table in the main README of this repo.

lehins commented 2 months ago

There is a link to conway formal spec?

Yes, the full spec is implemented in Agda: https://github.com/IntersectMBO/formal-ledger-specifications

There are links in the readme to PDF version as well.

lehins commented 1 month ago

My notes that came out of the audit with @WhatisRT and the final outcomes:

JaredCorduan commented 1 month ago

:muscle: