We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Now the generate_proof in mopro-ffi doesn't support 254-bit inputs/outputs (which is the snark scalar field in bn254)
generate_proof
https://github.com/oskarth/mopro/blob/018bb1e3075d6f75f5e8edf0037bceff3f62bfbf/mopro-ffi/src/lib.rs#L66-L69
The acceptable types are listed here: https://mozilla.github.io/uniffi-rs/udl/builtin_types.html We can change the serialize_inputs
serialize_inputs
pub fn serialize_inputs(inputs: &SerializableInputs) -> Vec<Vec<u8>>
and the generate_proof in mopro-ffi
pub fn generate_proof( &self, inputs: HashMap<String, Vec<Vec<u8>>>, ) -> Result<GenerateProofResult, MoproError>
(or other uint type e.g. u64)
u64
21888242871839275222246405745257275088548364400416034343698204186575808495616
The text was updated successfully, but these errors were encountered:
fixed by #24
Sorry, something went wrong.
No branches or pull requests
Problem
Now the
generate_proof
in mopro-ffi doesn't support 254-bit inputs/outputs(which is the snark scalar field in bn254)
https://github.com/oskarth/mopro/blob/018bb1e3075d6f75f5e8edf0037bceff3f62bfbf/mopro-ffi/src/lib.rs#L66-L69
Notes
The acceptable types are listed here: https://mozilla.github.io/uniffi-rs/udl/builtin_types.html
We can change the
serialize_inputs
and the
generate_proof
in mopro-ffi(or other uint type e.g.
u64
)Acceptance criteria
21888242871839275222246405745257275088548364400416034343698204186575808495616
The text was updated successfully, but these errors were encountered: