Linked from issue in noir repo:
noir-lang/noir#1140
Here is the most updated issue:
Update:
I still got the "proof failed" error. Here I am doing it again to show you the results.
I am passing the following format:
0x [function signature] + [proof data pointer] + [length of proof data] + [public input 1] + [public input 2] + [proof data array]
Details
Function Signature
Proof Data Pointer
0000000000000000000000000000000000000000000000000000000000000020
Length of proof data array
00000000000000000000000000000000000000000000000000000000000004e0
Public Input 1
0bff8247aa94b08d1c680d7a3e10831bd8c8cf2ea2c756b0d1d89acdcad877ad
Public Input 2
2a5d7253a6ed48462fedb2d350cc768d13956310f54e73a8a47914f34a34c5c4
Proof Data Array
Doing this, I no longer get the G1 point not on curve, or is malformed] error, but I get the proof failed error. This seems like it indicates the formatting is correct, but the proof input is wrong...
If I don't prepend my proof data with the two public inputs, then I get the G1 point not on curve, or is malformed] error again, so it seems like prepending the two public inputs works, but I cannot get past this proof failed error..