Return a better error message on malformed CIDs
Open
kind/enhancement
status/ready
- Dominant language
- Go
- Stars
- 37
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Here: https://github.com/ipfs/go-ipld-cbor/blob/50dfe7cad9e06ab6ebd7fd78be55620eaa2e9b04/node.go#L495
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at node.go around line 495, the location linked in the issue, and inspect how malformed CIDs are reported. Reproduce the malformed-CID case and determine what clearer error message is expected; done means the resulting error identifies the malformed input more usefully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100