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

Deserialize public inputs #1625

Closed
2 tasks
MauroToscano opened this issue Feb 19, 2024 · 0 comments · Fixed by #1648
Closed
2 tasks

Deserialize public inputs #1625

MauroToscano opened this issue Feb 19, 2024 · 0 comments · Fixed by #1648
Assignees
Labels
enhancement New feature or request

Comments

@MauroToscano
Copy link
Contributor

A way to deserialize public inputs would be useful to load them outside the VM. This would be really useful for Rust provers.

For Cairo Platinum, we have created the issue here: lambdaclass/lambdaworks#727

We suggested two tasks:

  • Add a deserializator for public inputs without layout params
  • Add a deserialization for the full public inputs

To start with the first task a new Struct can be created PublicInputForDeserializer that contains the same fields but the params, and the derive can be done automatically by Serde. Then implement a to/from to convert it to the real PublicInput

@MauroToscano MauroToscano added the enhancement New feature or request label Feb 19, 2024
@fmoletta fmoletta self-assigned this Mar 5, 2024
@fmoletta fmoletta linked a pull request Mar 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants