`withWTPInstr_` should throw error exactly on the bad type
Clarification and motivation
The current implementation of withWTPInstr_
when used with big_map unit int
would display Type big_map unit nat is supported here because it is not comparable
.
Due to the way getWTP
is implemented, we cannot point out that unit
type is not comparable directly. As a result, we instead display the whole big_map
type which is not what we really want.
Acceptance criteria
withWTPInstr_
when used with big_map unit int
should point to unit
as not comparable instead of the whole big_map unit int
.