IntersectMBO / IntersectMBO/dmq-node

N2c local submission mini-protocol rejection structured reason

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
2
Forks
4
Avg merge
2d 14h
Merged PRs (30d)
2

Description

When submitting a message on the n2c local submission mini-protocol, if an error occurs (KES signature is invalid, already expired message, ...) it is reported to the client. Today, the error is a type and optionally an error message in text. We would like to create more structured optional explanation of the errors. This would require modifications of the CIP, Pallas library, Mithril nodes.

Current CDDL:
```cddl
reason = invalid
/ alreadyReceived
/ expired
/ other

invalid = [0, tstr]
alreadyReceived = [1]
expired = [2]
other = [3, tstr]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.