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

fix: array element encapsulation in ezkl_demo.ipynb #747

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

moyedx3
Copy link
Contributor

@moyedx3 moyedx3 commented Mar 20, 2024

Overview

This pull request introduces a modification to the ezkl_demo.ipynb file to address a formatting issue in the array elements. The original code outputs array elements without encapsulating them in quotes, which can lead error while interacting with verifyProof contract.

Problem
Original formatted_output output lead to transaction error while interacting with verifyProof contract.

Changes made
Encapsulated each element of the formatted_output array in quotes ("").

Additional Notes

  • Smart contract interaction was done by using Remix.
  • The error message i got was transact to Halo2Verifier.verifyProof errored: Error encoding arguments: Error: types/values length mismatch (count={"types":2,"values":3}, value={"types":["bytes","uint256[]"], ....

@alexander-camuto alexander-camuto changed the title Fix Array Element Encapsulation in ezkl_demo.ipynb fix: Array Element Encapsulation in ezkl_demo.ipynb Mar 20, 2024
@alexander-camuto alexander-camuto changed the title fix: Array Element Encapsulation in ezkl_demo.ipynb fix: array element encapsulation in ezkl_demo.ipynb Mar 20, 2024
@alexander-camuto alexander-camuto merged commit feb3b1b into zkonduit:main Mar 21, 2024
21 checks passed
@moyedx3 moyedx3 deleted the demo-modification branch March 21, 2024 12:34
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