filecoin-project / ref-fvm

Reference implementation of the Filecoin Virtual Machine
https://fvm.filecoin.io/
Other
380 stars 134 forks source link

Cleanup/merge rust-ipld related multiformats libraries #786

Closed Stebalien closed 1 year ago

Stebalien commented 2 years ago

Motivation

We need a CID/multihash library for using both inside and outside of smart contracts, from rust. We currently have two options but neither of them are optimal.

Why Now

Unfortunately, these are base types around which we'll build the rest of the system, so we'd like to nail them down now instead of having to refactor later.

Done

We have a single multihash/cid library:

Details

Stebalien commented 1 year ago
  1. Ours now support nostd.
  2. We don't actually use nostd because it's just not worth it.