Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow to decode 0x as empty array [] for keyType Array #451

Merged
merged 2 commits into from
May 29, 2024

Conversation

CJ42
Copy link
Collaborator

@CJ42 CJ42 commented May 27, 2024

What kind of change does this PR introduce (bug fix, feature, docs update, ...)?

Bug fix

What is the current behaviour (you can also link to an open issue here)?

When value is 0x to try to decodeData for key type Array, the following error occurs.

image

What is the new behaviour (if this is a feature change)?

Allow to decode 0x as empty array [].

Other information:

@CJ42 CJ42 changed the title fix: allow to decode 0x as 0 for keyType Array fix: allow to decode 0x as empty array [] for keyType Array May 27, 2024
@CJ42 CJ42 force-pushed the fix/array-decoding branch from 5146358 to fde9f5d Compare May 27, 2024 10:37
src/lib/Untitled-1 Outdated Show resolved Hide resolved
@Hugoo Hugoo merged commit 9422444 into develop May 29, 2024
2 checks passed
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.

3 participants