-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(raiko): update risc0 toolchain to v1.0.1 (#311)
* update risc0 toolchain to v1.0.1 Signed-off-by: smtmfft <smtm@taiko.xyz> * fix lint & fmt Signed-off-by: smtmfft <smtm@taiko.xyz> * fix fmt Signed-off-by: smtmfft <smtm@taiko.xyz> * fix ci error Signed-off-by: smtmfft <smtm@taiko.xyz> * fix CI build Signed-off-by: smtmfft <smtm@taiko.xyz> * fix CI Signed-off-by: smtmfft <smtm@taiko.xyz> * remove useless constant Signed-off-by: smtmfft <smtm@taiko.xyz> * temporarily fix unittest Signed-off-by: smtmfft <smtm@taiko.xyz> * fix fmt Signed-off-by: smtmfft <smtm@taiko.xyz> * Update script/install.sh Co-authored-by: Brecht Devos <Brechtp.Devos@gmail.com> --------- Signed-off-by: smtmfft <smtm@taiko.xyz> Co-authored-by: Brecht Devos <Brechtp.Devos@gmail.com>
- Loading branch information
Showing
18 changed files
with
323 additions
and
285 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
pub const ECDSA_ELF: &[u8] = | ||
include_bytes!("../../../guest/target/riscv32im-risc0-zkvm-elf/release/ecdsa"); | ||
pub const ECDSA_ID: [u32; 8] = [ | ||
2112349872, 662412126, 2552816809, 3712154546, 3455470029, 3928252579, 3471286672, 2002692558, | ||
3688490884, 2127892678, 3137078981, 1193344426, 4105663218, 3901516424, 3225864022, 13950036, | ||
]; | ||
pub const ECDSA_PATH: &str = | ||
r#"/home/ubuntu/raiko/provers/risc0/guest/target/riscv32im-risc0-zkvm-elf/release/ecdsa"#; |
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,5 @@ | ||
pub const RISC0_GUEST_ELF: &[u8] = | ||
include_bytes!("../../../guest/target/riscv32im-risc0-zkvm-elf/release/risc0-guest"); | ||
pub const RISC0_GUEST_ID: [u32; 8] = [ | ||
1106284168, 2121988569, 4030233466, 422073515, 2026351144, 1404012643, 690639581, 3252900346, | ||
3656027178, 4281856604, 2184891755, 3275826590, 1143313757, 1779451290, 3242125827, 14009949, | ||
]; | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
pub const SHA256_ELF: &[u8] = | ||
include_bytes!("../../../guest/target/riscv32im-risc0-zkvm-elf/release/sha256"); | ||
pub const SHA256_ID: [u32; 8] = [ | ||
3212202202, 3880734562, 3977985800, 3462182722, 1762988696, 2700707388, 359464217, 3702618422, | ||
3390470592, 1661893947, 1504130727, 2880762366, 880654584, 3550598459, 34571735, 2700164568, | ||
]; | ||
pub const SHA256_PATH: &str = | ||
r#"/home/ubuntu/raiko/provers/risc0/guest/target/riscv32im-risc0-zkvm-elf/release/sha256"#; |
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,6 @@ | ||
pub const TEST_RISC0_GUEST_ELF: &[u8] = include_bytes!( | ||
"../../../guest/target/riscv32im-risc0-zkvm-elf/release/deps/risc0_guest-f2134d0a9dc1b778" | ||
"../../../guest/target/riscv32im-risc0-zkvm-elf/release/deps/risc0_guest-9d0bc3658d2edeaa" | ||
); | ||
pub const TEST_RISC0_GUEST_ID: [u32; 8] = [ | ||
3875868406, 1668916610, 1404967724, 4014172081, 1679226880, 1967164957, 1092356078, 3079385105, | ||
1938439720, 3200608207, 3901424709, 2031136574, 850058303, 3058786714, 2432413607, 2771178900, | ||
]; | ||
pub const TEST_RISC0_GUEST_PATH: &str = r#"provers/risc0/guest/target/riscv32im-risc0-zkvm-elf/release/deps/risc0_guest-f2134d0a9dc1b778"#; |
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
Oops, something went wrong.