Zondax / filecoin-solidity

Filecoin Solidity API Library
Apache License 2.0
95 stars 43 forks source link

uint64 for actor id made into its own type #310

Closed snissn closed 1 year ago

snissn commented 1 year ago

When we use uint64 as actor id, we want for type safety reasons to have that be its own type for FilecoinActorId.

The idea is that we want actor ids to explicitly be their own type to help prevent the wrong uint64 can't be passed into the library, in that the type has to be explictly declared as actor id

:link: zboto Link