filecoin-project / ref-fvm

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

Replace multihash::Code with u64 in the Blockstore interfaces #504

Open Stebalien opened 2 years ago

Stebalien commented 2 years ago

Unfortunately, depending on "code" here means we need to pull in the hasher implementations themselves. This is a problem because, in the actors, we want to do hashing outside.

Stebalien commented 2 years ago

A slightly less breaking alternative is to make it generic over Code (implementing a Code that uses the sdk).