Description
In mappings using the function padNumHexSlotValue causes a bug on hashes of bytes32 as a key. We should be using the function padBytesHexSlotValue which is targeted for bytes values.
A different approach from #160 although it fixes the issue I believe that the usage of the padNumHexSlotValue is incorrectly when we deal with bytes type as key
Description In mappings using the function
padNumHexSlotValue
causes a bug on hashes of bytes32 as a key. We should be using the functionpadBytesHexSlotValue
which is targeted for bytes values.A different approach from #160 although it fixes the issue I believe that the usage of the
padNumHexSlotValue
is incorrectly when we deal withbytes
type as key