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] Encoding array of static size bytes #292

Conversation

peerasak-u
Copy link
Contributor

Resolve #291

Summary:

  • Add property rawData: Data and open init function to public in Data1 to Data32
  • Add case for Data1 to Data32 in public static func encode(_ value: ABIType, staticSize: Int? = nil, packed: Bool = false) throws -> EncodedValue

@dioKaratzas
Copy link
Collaborator

dioKaratzas commented Dec 6, 2022

@peerasak-u Well done!
Please run scripts/prepareForPush.sh to reformat the code then commit/push.

@dioKaratzas dioKaratzas merged commit 64da203 into argentlabs:develop Dec 8, 2022
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.

How to support byte32[] type encoder ?
4 participants