function encodeKeyName
behaves incorrectly for dynamic keys when dynamic key part is <bytesN>
#486
Labels
encodeKeyName
behaves incorrectly for dynamic keys when dynamic key part is <bytesN>
#486
I'm submitting a...
Summary
When using the
encodeKeyName
function with a data key that contains a dynamic key part of type<bytesN>
, the hex value generated is incorrect. ForbytesN
, the padding should occur on the right side ✅ instead of on the left side ❌See the following screenshots to see the error and reproduce it.
Instead, the encoding should look as follow:
Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
The text was updated successfully, but these errors were encountered: