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

Bounds check API update + Metadata aritrary bytes #282

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

rooooooooob
Copy link
Contributor

Update types' APIs that have bounds restrictions e.g. metadata text/bytes, crypto primitives, etc with new codegen update. Now these types (that aren't newtypes - this was always supported) will have checks on the constructors/setters, not just in deserialization.

Moved over the arbitrary byte chunking utils for metadatums from old CML to new.

Update types' APIs that have bounds restrictions e.g. metadata
text/bytes, crypto primitives, etc with new codegen update.
Now these types (that aren't newtypes - this was always supported) will
have checks on the constructors/setters, not just in deserialization.

Moved over the arbitrary byte chunking utils for metadatums from old CML
to new.
@rooooooooob rooooooooob requested a review from gostkin December 12, 2023 19:03
@SebastienGllmt SebastienGllmt merged commit ae5b88d into develop Dec 15, 2023
1 check passed
@SebastienGllmt SebastienGllmt deleted the bounds-ctor-new-metadata branch December 15, 2023 02:27
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.

2 participants