-
-
Notifications
You must be signed in to change notification settings - Fork 103
Block type optional properties. #238
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingclient/TypeScriptIssues which regard the TypeScript clientIssues which regard the TypeScript clientdocumentationImprovements or additions to documentationImprovements or additions to documentationhelp welcomedGood for newcomersGood for newcomers
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingclient/TypeScriptIssues which regard the TypeScript clientIssues which regard the TypeScript clientdocumentationImprovements or additions to documentationImprovements or additions to documentationhelp welcomedGood for newcomersGood for newcomers
Type
Fields
Give feedbackNo fields configured for issues without a type.
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:
ogmios/clients/TypeScript/packages/schema/src/index.ts
Line 1349 in d4d27a7
This ? (optional) modifier should be removed, as those properties of a block are actually not optional.