-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(prover): enable GuestInput serialization in native path (#281)
* change native param & ProverError * change scirpt & compiled guest * fix prove-block.sh typo * fmt * fix test_proof_params * "write_guest_input_path": null * prover * fix * cargo update * api changes from AffinePoint::<Bn254, 16>::from * fix * remove default = ["enable"] & default = ["sgx"] * sgx-prover = { path = "../prover", features = ["enable"] } --------- Co-authored-by: d1onys1us <[email protected]>
- Loading branch information
1 parent
37f6c49
commit 0ba89ae
Showing
9 changed files
with
51 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,5 +16,8 @@ | |
"snark": true, | ||
"profile": false, | ||
"execution_po2": 20 | ||
} | ||
}, | ||
"native" : { | ||
"write_guest_input_path": null | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
pub const RISC0_GUEST_ELF: &[u8] = | ||
include_bytes!("../../../guest/target/riscv32im-risc0-zkvm-elf/release/risc0-guest"); | ||
pub const RISC0_GUEST_ID: [u32; 8] = [ | ||
405814261, 645472475, 3368860906, 1069727513, 2312368391, 2313520942, 2156489466, 779875178, | ||
1444642754, 3434511061, 2910616417, 2829025913, 3284452016, 1678600137, 1001540409, 1336920303, | ||
]; | ||
pub const RISC0_GUEST_PATH: &str = | ||
r#"/home/ubuntu/raiko/provers/risc0/guest/target/riscv32im-risc0-zkvm-elf/release/risc0-guest"#; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ regex = "1.5.4" | |
|
||
|
||
[features] | ||
default = ["enable"] | ||
enable = [ | ||
"serde", | ||
"serde_json", | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters