Skip to content

Conversation

tbagrel1
Copy link

@tbagrel1 tbagrel1 commented Sep 11, 2025

This pull request introduces the PerasCertDB datatype, used to hold and access all PerasCerts known by a node.


Peras types

  • Added modules Ouroboros.Consensus.Storage.PerasCertDB{,.API,.Impl}, notably defining the typesPerasCertDB, PerasCertSnapshot (read-only snapshot of certs contained in the DB), and AddPerasCertResult; alongside their respectives methods

Tests

  • Added modules Test.Ouroboros.Storage.PerasCertDB{,.StateMachine,.Model} for q-s-m testing of the PerasCertDB datatype. The corresponding tests have been included in the test suite defined by Test.Ouroboros.Storage

Regression

As the previous PR, all the components introduced by this PR are not used at the moment by the rest of the code, so no regression is expected.

@amesgen amesgen added the Peras label Sep 11, 2025
@tbagrel1 tbagrel1 force-pushed the main-pr/basic-peras-types branch from d3cd2fc to 8df7902 Compare September 12, 2025 07:59
@tbagrel1 tbagrel1 force-pushed the main-pr/peras-cert-db branch from 8a7ab97 to 0e67f26 Compare September 12, 2025 08:02
@tbagrel1 tbagrel1 changed the title Introduce PerasCertDB and related tests [Peras #2] Introduce PerasCertDB and related tests Sep 12, 2025
@tbagrel1 tbagrel1 force-pushed the main-pr/basic-peras-types branch 5 times, most recently from f3fbd4f to 01e1c69 Compare September 16, 2025 13:50
@tbagrel1 tbagrel1 force-pushed the main-pr/peras-cert-db branch from 0e67f26 to 91a270e Compare September 16, 2025 14:53
Co-authored-by: Agustin Mista <[email protected]>
Co-authored-by: Alexander Esgen <[email protected]>
Co-authored-by: Georgy Lukyanov <[email protected]>
Co-authored-by: Thomas BAGREL <[email protected]>
Co-authored-by: Nicolas BACQUEY <[email protected]>
Co-authored-by: Nicolas "Niols" Jeannerod <[email protected]>
@tbagrel1 tbagrel1 force-pushed the main-pr/peras-cert-db branch from 91a270e to 8f303af Compare September 17, 2025 08:48
tbagrel1 and others added 2 commits September 17, 2025 11:27
Co-authored-by: Agustin Mista <[email protected]>
Co-authored-by: Alexander Esgen <[email protected]>
Co-authored-by: Georgy Lukyanov <[email protected]>
Co-authored-by: Thomas BAGREL <[email protected]>
Co-authored-by: Nicolas BACQUEY <[email protected]>
Co-authored-by: Nicolas "Niols" Jeannerod <[email protected]>
Co-authored-by: Agustin Mista <[email protected]>
Co-authored-by: Alexander Esgen <[email protected]>
Co-authored-by: Georgy Lukyanov <[email protected]>
Co-authored-by: Thomas BAGREL <[email protected]>
Co-authored-by: Nicolas BACQUEY <[email protected]>
Co-authored-by: Nicolas "Niols" Jeannerod <[email protected]>
@tbagrel1 tbagrel1 force-pushed the main-pr/peras-cert-db branch from 8f303af to 6649e71 Compare September 17, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants