Add impl PartialEq<[u8; 32]> for ContractId
#375
Labels
type:enhancement
Issues concerning code or feature improvement (performance, refactoring, etc)
Summary
Implementing the
PartialEq
trait, and its permutations, for[u8; 32]
andContractId
will allow for downstream comparisons that now have to go through theContractId::to_bytes
orContractId::from_bytes
functions to be much more concise and easy to read.Possible Solution (optional)
The text was updated successfully, but these errors were encountered: