Conversation
ivokub
left a comment
There was a problem hiding this comment.
Looks good - I would only change the the order of import to avoid import cycles in the future.
|
Seems like having |
I'll check the import cycle. Maybe indeed having the |
|
@Tabaie - so I tried a few options and imo this looks the best. Imo having the constructor which returns the direct type Another option would have to move But - before I'm satisfied with the PR fully, I'd still want to make the hash constants more type safe than they are right now. Imo using strings could cause issues and better to use the approach from Go std lib and gnark-crypto where we have the hash functions registered by constants. I'll do it tomorrow. |
No description provided.