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

add string utils to have packsize improvements from zkp2p #125

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

Divide-By-0
Copy link
Member

@Divide-By-0 Divide-By-0 commented Oct 26, 2023

Add a default convertPackedBytesToString(uint256[] memory packedBytes) function that automatically autofills max and packsize based on full, 31-byte packed bytes. Also fix the bug where 7 was hardcoded into the max size, which bugged fully packed packedBytes.

@Divide-By-0 Divide-By-0 merged commit 0da1281 into main Oct 26, 2023
1 of 4 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.

1 participant