Missing HasCLReader L1Address instance
Clarification and motivation
We've added parsers for L1Address
recently, but apparently didn't add a HasCLReader
instance. It is pretty straightforward, but we want to have it in morley to avoid downstream orphans.
instance HasCLReader L1Address where
getMetavar = "CONTRACT OR IMPLICIT ADDRESS"
getReader = Opt.str >>= either (fail . pretty) pure . parseConstrainedAddress
Acceptance criteria
-
instance HasCLReader L1Address
exists.