axelarnetwork / tofn

A threshold cryptography library in Rust
Apache License 2.0
107 stars 22 forks source link

chore(domain): add domain separation between protocols #198

Closed milapsheth closed 2 years ago

milapsheth commented 2 years ago

I guess it's ok for now. I don't like this business of adding new u8 args to every function for each new layer of domain separation. Long term we need a better solution.

Yep, but since this is a breaking change, might as well do it now, and clean up the design later.