mirror of
https://github.com/logos-storage/logos-storage-proofs.git
synced 2026-01-02 13:33:10 +00:00
add mpack proof func - split mpack
This commit is contained in:
parent
bd44c7ba36
commit
ea46d0bb7f
@ -109,9 +109,13 @@ impl StorageProofs {
|
||||
let inputs = circuit
|
||||
.get_public_inputs()
|
||||
.ok_or("Unable to get public inputs!")?;
|
||||
let proof = prove(circuit, &self.params, &mut self.rng).map_err(|e| e.to_string())?;
|
||||
let proof =
|
||||
prove(circuit, &self.params, &mut self.rng)
|
||||
.map_err(|e| e.to_string())?;
|
||||
|
||||
proof.serialize(proof_bytes).map_err(|e| e.to_string())?;
|
||||
proof
|
||||
.serialize(proof_bytes)
|
||||
.map_err(|e| e.to_string())?;
|
||||
inputs
|
||||
.serialize(public_inputs_bytes)
|
||||
.map_err(|e| e.to_string())?;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user