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

Ns/backport/fix serialized size #1701

Merged
merged 3 commits into from
Oct 21, 2024

Conversation

nsarlin-zama
Copy link
Contributor

No description provided.

@cla-bot cla-bot bot added the cla-signed label Oct 21, 2024
@nsarlin-zama nsarlin-zama changed the base branch from main to release/0.8.x October 21, 2024 09:24
@@ -508,7 +608,7 @@ mod test_shortint {

let mut buffer = vec![];

let config = SerializationConfig::new(1 << 20).disable_versioning();
let config = SerializationConfig::new_with_unlimited_size().disable_versioning();
Copy link
Contributor

Choose a reason for hiding this comment

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

Why have unlimited size here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the goal of the test is just to check the deserialization when I give exactly the size of the buffer as a limit (which was failing before), so I don't really care about the serialization size limit.

Since it does not really matter I could have left it with the original size anyways, but since it is a backport I think we should stick with what has been merged to main.

Copy link
Contributor

@mayeul-zama mayeul-zama left a comment

Choose a reason for hiding this comment

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

Thanks!

@mayeul-zama mayeul-zama merged commit 9bc70ff into release/0.8.x Oct 21, 2024
77 checks passed
@mayeul-zama mayeul-zama deleted the ns/backport/fix_serialized_size branch October 21, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants