Skip to content

Implement __eq__() methods on Revocation, Identity, Membership, and Certification classes

  • Implement __eq__ in Document
  • Call super().__eq__() in Transaction’s __eq__() method
  • Implement __eq__() and __hash__() methods in:
  • Identity:
    • Revocation
    • Certification
  • Membership

Useful to write tests.

__eq__() is already implemented on Transation, Block, and BlockUID classes.

Edited by Moul
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information