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

feat: allow to pass number directly in array when encoding tuples #448

Merged
merged 1 commit into from
May 21, 2024

Conversation

CJ42
Copy link
Collaborator

@CJ42 CJ42 commented May 17, 2024

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

🌟 Feature

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

Current when encoding parts in tuples that are uintN, it is not possible to pass a plain number. The number always needs to be encoded as hex first, as tuples only accept string type.

image

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

Fix this behaviour by allowing to pass number for encoding.

Other information:

Closes #393

@Hugoo Hugoo merged commit 91363c4 into develop May 21, 2024
2 checks passed
@Hugoo Hugoo deleted the feat/tuple-types branch May 21, 2024 15:37
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.

Bug in encodeData() with tuples
2 participants