filecoin-project / FIPs

The Filecoin Improvement Proposal repository
313 stars 165 forks source link

FIP-0083: Clarify bigint CBOR encoding scheme #938

Closed rvagg closed 8 months ago

rvagg commented 9 months ago

Came up in https://github.com/filecoin-project/builtin-actors/pull/1516 because it's not obvious when doing serialisation that we have a bespoke bigint form that fits within the IPLD data model and is based off the Go representation. Letting a "bigint" pass through a system without special casing leads to surprise so I feel the call-out is warranted and hopefully a reminder for future events where we're going to be using these more.