[Peras 65] Split degenerate BlockSupportsPeras instance - #2240
Open
agustinmista wants to merge 2 commits into
Open
[Peras 65] Split degenerate BlockSupportsPeras instance#2240agustinmista wants to merge 2 commits into
agustinmista wants to merge 2 commits into
Conversation
agustinmista
force-pushed
the
peras/split-degenerate-block-supports-peras
branch
5 times, most recently
from
August 28, 2026 09:55
616b872 to
58f2c73
Compare
This commit replaces the degenerate `BlockSupportsPeras` instance with explicit block- and era-specific instances, and updates hard-fork, serialization, storage, and test support for the new non-degenerate interface. DijkstraEra is temporarily wired to the Void implementation. A later change will replace it with the real implementation once this interface is in place. 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/split-degenerate-block-supports-peras
branch
from
August 28, 2026 13:08
58f2c73 to
ca7087d
Compare
agustinmista
marked this pull request as ready for review
August 28, 2026 13:11
agustinmista
requested review from
bladyjoker,
dnadales,
geo2a,
jasagredo and
nfrisby
as code owners
August 28, 2026 13:11
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 replaces the degenerate
BlockSupportsPerasinstance with explicit block- and era-specific instances, and adapting the hard-fork combinator support, node-to-node serialization, ChainDB, LedgerDB, Peras vote/certificate storage, and test infrastructure to the new non-degenerate interface.ByronBlockShelleyErathroughConwayEraDijkstraEraHardForkBlockTestBlock,TestBlockWith,BlockA, andBlockBSimpleBlockNOTE:
DijkstraErais temporarily wired to the Void implementation. Its real implementation will follow once the dependent Peras changes are in place.