polytope-labs / hyperbridge

Hyperbridge is a hyperscalable coprocessor for verifiable, cross-chain interoperability
https://docs.hyperbridge.network/
Apache License 2.0
107 stars 33 forks source link

Derive `Eq` and `PartialEq` for ISMP Error #160

Closed Szegoo closed 5 months ago

Szegoo commented 5 months ago

I was attempting to write some tests but ran into an error while trying to compare results because the ISMP Error enum doesn't implement Eq and PartialEq. This fixes the issue.