Skip to content

Properly handle HFC dispatch for OpaquePerasCert #255

Description

@agustinmista

The existing OpaquePerasCert implementation for certificates that go into blocks uses runtime reification to dynamically dispatch the conversion routine of the different known certificate types (currently only V1.PerasCert being supported).

With proper HFC dispatch in place, this is no longer necessary and the input can be replaced with an era-indexed certificate (or a HardForkCert if that doesn't lead to cyclical imports), and allowing error-less conversions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HFCEverying related to the Hard Fork Combinator

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions