Skip to content

Conversation

@jimthematrix
Copy link
Contributor

fixes #133

for a bytes parameter, to input an empty value, 0x is the expected value. It fails the packing step and returns the error as described in the issue above.

This fixes that issue by differentiating bytes vs. fixed length bytes, and returns a slice vs. fixed length array respectively

Copy link
Contributor

@peterbroadhurst peterbroadhurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@peterbroadhurst peterbroadhurst merged commit 111eb89 into hyperledger:main May 4, 2023
@peterbroadhurst peterbroadhurst deleted the empty-bytes branch May 4, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arg packing for an empty slice actually returns an array

2 participants