Closed milapsheth closed 3 years ago
https://github.com/axelarnetwork/tofn/pull/124#discussion_r686943202
Asserts are usually used as simple sanity checks for catching bugs during development rather than production so we don't want to compile them in release.
I guess. Maybe we should keep the debug_assert
s. It would definitely be helpful in catching bugs eg here: https://github.com/axelarnetwork/tofn/pull/124#discussion_r686436337
AsRef
fork256_serde
wrappers to expose thek256
structsunwrap()
toas_ref()
assert!
todebug_assert!