filecoin-project / filecoin-project/specs

cbor serialization of big integers (Uint) is undefined

Open
#445 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
363
Forks
164
PR merge metrics
No merged PRs in 30d

Description

I really thought we had this written down at some point as using a cbor big int, but i can't seem to find it.

In any case, We should use cbor big ints here (its an extension). It costs us one extra byte for the tag, but means other CBOR parsers can more easily understand our datastructures.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with issue #445 and locate the specification text defining CBOR serialization for Uint values. Compare the current rule with the CBOR big-integer extension and determine where the requirement belongs. Done means the specification clearly states the encoding and its compatibility implications.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.