You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's important to be able to decode the public inputs attached to a proof however the way that JS code is returning these is not ideal. It's instead a flattened and deduplicated array of Uint8Arrays.
This then requires a good deal of knowledge on behalf of the user to be able to decode these values and interpret them.
Happy Case
We should perform a conversion from this array into a WitnessMap inside noir_js_backend_barretenberg. Once this is done a user can get human readable values out by just abi decoding the witness map.
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Problem
It's important to be able to decode the public inputs attached to a proof however the way that JS code is returning these is not ideal. It's instead a flattened and deduplicated array of Uint8Arrays.
This then requires a good deal of knowledge on behalf of the user to be able to decode these values and interpret them.
Happy Case
We should perform a conversion from this array into a
WitnessMap
inside noir_js_backend_barretenberg. Once this is done a user can get human readable values out by just abi decoding the witness map.Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: