Skip to content

Block type optional properties. #238

@MarcelKlammer

Description

@MarcelKlammer

the block types

BlockShelley
BlockAllegra
BlockMary
BlockAlonzo
BlockBabbage

in

@cardano-ogmios/schema

have the ? (optional) modifier set for their properties:

body?
headerHash?
header?

See here:

export interface BlockAlonzo {

This ? (optional) modifier should be removed, as those properties of a block are actually not optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingclient/TypeScriptIssues which regard the TypeScript clientdocumentationImprovements or additions to documentationhelp welcomedGood for newcomers

    Type

    No type
    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