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 non-standard packed mode #15

Merged
merged 14 commits into from
Oct 11, 2022
Merged

Add non-standard packed mode #15

merged 14 commits into from
Oct 11, 2022

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Oct 8, 2022

Closes #14.

This adds the non-standard packed mode, which behaves the same as abi.encodePacked in Solidity.

@Mrtenz Mrtenz force-pushed the mrtenz/encode-packed branch 2 times, most recently from bba5eb6 to e904821 Compare October 10, 2022 09:55
@Mrtenz Mrtenz marked this pull request as ready for review October 10, 2022 09:56
@Mrtenz Mrtenz requested a review from a team as a code owner October 10, 2022 09:56
src/abi.ts Outdated Show resolved Hide resolved
src/parsers/number.test.ts Show resolved Hide resolved
src/parsers/fixed-bytes.ts Show resolved Hide resolved
src/parsers/bytes.ts Show resolved Hide resolved
src/parsers/number.ts Show resolved Hide resolved
src/packer.ts Show resolved Hide resolved
src/parsers/array.ts Show resolved Hide resolved
src/parsers/array.ts Show resolved Hide resolved
src/parsers/parser.ts Show resolved Hide resolved
@Mrtenz Mrtenz merged commit 5d00973 into main Oct 11, 2022
@Mrtenz Mrtenz deleted the mrtenz/encode-packed branch October 11, 2022 19:04
Copy link

@mannyad mannyad left a comment

Choose a reason for hiding this comment

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

Not bad

Copy link

@mannyad mannyad left a comment

Choose a reason for hiding this comment

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

That nice

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.

Add non-standard packed encoding
3 participants