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

Add functionality to deserialize Cairo public inputs #96

Open
entropidelic opened this issue Jun 22, 2023 · 1 comment
Open

Add functionality to deserialize Cairo public inputs #96

entropidelic opened this issue Jun 22, 2023 · 1 comment

Comments

@entropidelic
Copy link
Collaborator

No description provided.

@Cevedale
Copy link

Consider understanding the nature of Cairo public inputs, which are non-secret inputs for zkSNARKs circuits, and then identifying the serialization format, such as JSON or binary, used for these inputs; proceed to implement deserialization logic using appropriate libraries or custom code based on the serialization format, ensuring to include robust error handling for potential issues with corrupted or incorrect serialized input; further, develop comprehensive test cases to validate the correct functioning of the deserialization logic under various scenarios; subsequently, integrate this deserialization logic into the Cairo codebase, updating relevant sections to utilize the deserialized inputs effectively; don't forget to document the changes made, especially the new deserialization functionality, for future reference; seek peer reviews and conduct thorough quality assurance to identify and address any potential bugs that may arise; finally, upon successful testing, proceed to deploy the updated code with the new deserialization functionality in place.

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

No branches or pull requests

2 participants