[Peras 63] Add PerasState to ExtLedgerState - #2230
Open
agustinmista wants to merge 3 commits into
Open
Conversation
agustinmista
force-pushed
the
peras/add-peras-state-to-ext-ledger-state
branch
3 times, most recently
from
August 24, 2026 13:46
5bb6779 to
7745ce6
Compare
agustinmista
force-pushed
the
peras/add-peras-state-to-ext-ledger-state
branch
2 times, most recently
from
August 25, 2026 09:50
7f0317d to
aaf79c2
Compare
agustinmista
changed the base branch from
peras/default-blocksupportsperas-operations
to
peras/rewire-global-blocksupportsperas-types
August 25, 2026 09:53
agustinmista
force-pushed
the
peras/add-peras-state-to-ext-ledger-state
branch
2 times, most recently
from
August 25, 2026 11:57
dd94b59 to
9c8ee0b
Compare
agustinmista
marked this pull request as ready for review
August 25, 2026 13:44
agustinmista
requested review from
bladyjoker,
dnadales,
geo2a,
jasagredo and
nfrisby
as code owners
August 25, 2026 13:44
Co-authored-by: Agustin Mista <agustin.mista@tweag.io> Co-authored-by: Thomas BAGREL <thomas.bagrel@tweag.io> Co-authored-by: Nicolas BACQUEY <nicolas.bacquey@tweag.io>
agustinmista
force-pushed
the
peras/add-peras-state-to-ext-ledger-state
branch
from
August 31, 2026 13:28
7ca1f82 to
a9a0d38
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR:
PerasStatetoExtLedgerStateand its ticked form, tracking the Peras epoch-context resolver and latest on-chain Peras certificate round.Ouroboros.Consensus.Peras.Voting.Mock, providing mock voting-committee input derived from the mock ledger’s pool-stake distribution for Peras-enabled test blocks.mkPerasEpochContextResolverHandle).ExtLedgerStateCBOR/disk serialisation to persist Peras state (backwards compatible).ExtLedgerStategolden files.Please note that some of the new instances required here are placeholders to be updated in tandem with getting rid of the degenerate
BlockSupportsPerasinstance.Moreover, the bulk of the changes happen in a handful of files, the rest being mostly plumbing. Enabling
Hide whitespacein the diff view helps a bit :)