-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Nim serialization doesn't support named tuple fields.
For example we can't use:
BLSSignMsg* = object
input*: tuple[
privkey: ValidatorPrivKey,
message: seq[byte],
domain: Domain
]
output*: SignatureBut have to introduce an extra object
BLSSignMsgInput = object
privkey*: ValidatorPrivKey
message*: seq[byte]
domain*: Domain
BLSSignMsg* = object
input*: BLSSignMsgInput
output*: SignatureMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request