Make more types comparable
As @tzemanovic wrote in https://gitlab.com/cryptiumlabs/tezos/-/merge_requests/72#note_293830145:
Let's also consider making comparable
key
,chain_id
,signature
andcontract
.The
key
is not strictly necessary, as one can usekey_hash
, but some users were asking for it (https://tezos.stackexchange.com/questions/2187/ill-formed-storage-type-in-origination/2188?noredirect=1#comment2430_2188)