Closed XertroV closed 6 years ago
@blinky3713 & @kejace - have finished this PR
Hey @XertroV this looks good. Can we go ahead and get the proper equality done in this pr where equality is checked on lower case values like you suggested? Or maybe it's not needed? I notice that you are making them lower case in mkHexString
, but is it possible that they could enter into the system otherwise?
Yeah probs good idea. Ethereum might return checksummed addresses sometimes and not others, for example. Since we deserialize automagically we want toLower in the eq instance too.
@blinky3713 - fixed up Eq HexString
now.
toLower
toEq
instance ofHexString
Fixes #45