Zondax / filecoin-solidity

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

filecoin address bytes constructor + validation #325

Closed snissn closed 1 year ago

snissn commented 1 year ago

we want to have a fromBytes constructor that runs through the validation here and throws a type error if invalid

see https://github.com/Zondax/filecoin-solidity/issues/241#issuecomment-1448750372

:link: zboto Link