Skip to content

[Peras 65] Split degenerate BlockSupportsPeras instance - #2240

Open
agustinmista wants to merge 2 commits into
peras/refactor-block-supports-perasfrom
peras/split-degenerate-block-supports-peras
Open

[Peras 65] Split degenerate BlockSupportsPeras instance#2240
agustinmista wants to merge 2 commits into
peras/refactor-block-supports-perasfrom
peras/split-degenerate-block-supports-peras

Conversation

@agustinmista

@agustinmista agustinmista commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

This PR replaces the degenerate BlockSupportsPeras instance 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.

Block type / era Peras implementation
ByronBlock Void
ShelleyEra through ConwayEra Void
DijkstraEra Void temporarily, pending follow-up production Peras plumbing
HardForkBlock Real, dispatched to the selected era
TestBlock, TestBlockWith, BlockA, and BlockB Mock
SimpleBlock Void

NOTE: DijkstraEra is temporarily wired to the Void implementation. Its real implementation will follow once the dependent Peras changes are in place.

@agustinmista agustinmista self-assigned this Aug 26, 2026
@agustinmista agustinmista moved this to Waiting for Client ( IoG ) review ( Q ) in cardano-peras Aug 26, 2026
@agustinmista
agustinmista force-pushed the peras/split-degenerate-block-supports-peras branch 5 times, most recently from 616b872 to 58f2c73 Compare August 28, 2026 09:55
agustinmista and others added 2 commits August 28, 2026 14:32
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
agustinmista force-pushed the peras/split-degenerate-block-supports-peras branch from 58f2c73 to ca7087d Compare August 28, 2026 13:08
@agustinmista
agustinmista marked this pull request as ready for review August 28, 2026 13:11
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.

1 participant