N2c local submission mini-protocol rejection structured reason
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- haskell
- Domain
- distributed-systems, networking
Research direction
Start by reading the current N2c local submission mini-protocol and its CDDL, then inspect how rejection errors are represented between the Pallas library and Mithril nodes. Trace the existing type and optional text message through all affected components. Done means the protocol consistently supports the structured reasons for invalid, already received, expired, and other errors.
Written by the indexing model from the issue text.
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:
reason = invalid
/ alreadyReceived
/ expired
/ other
invalid = [0, tstr]
alreadyReceived = [1]
expired = [2]
other = [3, tstr]
- Dominant language
- Haskell
- Stars
- 2
- Forks
- 5
- Avg merge
- 13h 24m
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from IntersectMBO/dmq-node
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
IntersectMBO/dmq-node#82 · 1 reaction ·
-
Add tracersMay be free again @coot claimed this 131 days ago, and no pull request is open. Open
IntersectMBO/dmq-node#59 · 1 assignee ·
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 25/100
IntersectMBO/dmq-node#26 · 1 comment ·
-
documentation
Difficulty 5/5 Over a week Newbie friendliness 35/100
IntersectMBO/dmq-node#25 ·
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 35/100
IntersectMBO/dmq-node#20 ·
All issues in IntersectMBO/dmq-node
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
IntersectMBO/cardano-ledger#6276 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenZeppelin/canton-contracts#92 ·
Maintainers usually reply within 1 day