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

Feature: deserialize AIR private input #1589

Merged

Conversation

odesenfans
Copy link
Contributor

Added an implementation of From<AirPrivateInputSerializable> for AirPrivateInput, making it easier to interact with already generated private inputs.

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.
    • CHANGELOG has been updated.

@odesenfans
Copy link
Contributor Author

On a related topic, I do think it would make sense to have AirPrivateInput to be a struct instead of a hashmap as it would make it easier to use. AirPrivateInputSerializable could then contain an AirPrivateInput field (+ serde(flatten)).

Any thoughts?

Copy link
Contributor

@Oppen Oppen left a comment

Choose a reason for hiding this comment

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

Any tests for this?

@odesenfans odesenfans force-pushed the msl/deserialize-private-input branch from 05288e0 to 680e633 Compare January 23, 2024 12:34
@odesenfans
Copy link
Contributor Author

Added a unit test and rebased.

@odesenfans odesenfans force-pushed the msl/deserialize-private-input branch from 680e633 to 9206a77 Compare January 29, 2024 12:59
Oppen
Oppen previously approved these changes Jan 31, 2024
fmoletta
fmoletta previously approved these changes Feb 2, 2024
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0e6a235) 97.66% compared to head (5830048) 97.67%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1589   +/-   ##
=======================================
  Coverage   97.66%   97.67%           
=======================================
  Files          91       91           
  Lines       37318    37393   +75     
=======================================
+ Hits        36448    36523   +75     
  Misses        870      870           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pefontana
pefontana previously approved these changes Feb 2, 2024
@pefontana
Copy link
Collaborator

@odesenfans Here too, just merge conflicts and we will merge it!

@odesenfans odesenfans dismissed stale reviews from pefontana, fmoletta, and Oppen via 8d8d5d8 February 5, 2024 13:43
@odesenfans odesenfans force-pushed the msl/deserialize-private-input branch 2 times, most recently from 8d8d5d8 to ca261bc Compare February 8, 2024 16:13
@pefontana
Copy link
Collaborator

@odesenfans were you able to merge main?

Added an implementation of `From<AirPrivateInputSerializable>` for
AirPrivateInput.
@odesenfans odesenfans force-pushed the msl/deserialize-private-input branch from ca261bc to 5830048 Compare February 21, 2024 22:52
@odesenfans
Copy link
Contributor Author

Hey @pefontana , sorry I was busy with something else. I just rebased the branch.

@pefontana pefontana added this pull request to the merge queue Feb 22, 2024
Merged via the queue into lambdaclass:main with commit 59254f4 Feb 22, 2024
50 of 51 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.

5 participants