Type "bytes memory" is not supported for packed encoding. #2496
Unanswered
ScreamingHawk
asked this question in
Idea / Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Check existing issues
Viem Version
2.13.6
Current Behavior
Type "bytes memory" is not supported for packed encoding.
Expected Behavior
"bytes memory" should be supported.
Steps To Reproduce
Link to Minimal Reproducible Example
No response
Anything else?
Encoding for
bytes
is similar to encoding forstring
. https://docs.soliditylang.org/en/v0.8.26/abi-spec.html#non-standard-packed-modeAdding support for this functionality should be trivial.
Beta Was this translation helpful? Give feedback.
All reactions