earthstar-project / earthstar-project/willow-utils
Area in Area encoding seems to be implemented completely differently from what is specified
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
https://willowprotocol.org/specs/encodings/index.html#enc_area_in_area
Area in area encoding ends with a concatenation of subspace ID, path, start diff and end diff, but this implementation has them ordered as start diff, end diff, path and subspace?
@AljoschaMeyer do you remember this encoding changing like this at any point? Am I losing my marbles?!
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start at the Area in Area encoding implementation and compare its output ordering with the enc_area_in_area section of the linked Willow specification. Confirm whether the implementation or specification is authoritative, then bring the encoding into agreement and verify the resulting byte order with the project's existing checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100