Skip to content

Commit

Permalink
fix guest
Browse files Browse the repository at this point in the history
  • Loading branch information
CeciliaZ030 committed Jul 13, 2024
1 parent 9260858 commit 0abbeec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions provers/risc0/driver/src/methods/risc0_guest.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
pub const RISC0_GUEST_ELF: &[u8] =
include_bytes!("../../../guest/target/riscv32im-risc0-zkvm-elf/release/risc0-guest");
pub const RISC0_GUEST_ID: [u32; 8] = [
1914784930, 3634152083, 2963332796, 2630159414, 3104046433, 3092402903, 3447446567, 3034579556,
];

pub const RISC0_GUEST_ELF: &[u8] = include_bytes!("../../../guest/target/riscv32im-risc0-zkvm-elf/release/risc0-guest");
pub const RISC0_GUEST_ID: [u32; 8] = [758046821, 2154352425, 351951955, 482782642, 1508059670, 219532154, 4123449082, 1334638257];
2 changes: 1 addition & 1 deletion provers/risc0/driver/src/methods/test_risc0_guest.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pub const TEST_RISC0_GUEST_ELF: &[u8] = include_bytes!(
"../../../guest/target/riscv32im-risc0-zkvm-elf/release/deps/risc0_guest-9d0bc3658d2edeaa"
"../../../guest/target/riscv32im-risc0-zkvm-elf/release/deps/risc0_guest"
);
pub const TEST_RISC0_GUEST_ID: [u32; 8] = [
1938439720, 3200608207, 3901424709, 2031136574, 850058303, 3058786714, 2432413607, 2771178900,
Expand Down
2 changes: 1 addition & 1 deletion provers/risc0/guest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use raiko_lib::{
protocol_instance::ProtocolInstance,
};
use revm_precompile::zk_op::ZkOperation;
use risc0_zkvm::guest::env;
use zk_op::Risc0Operator;
use risc0_zkvm::guest::env;

pub mod mem;

Expand Down
4 changes: 1 addition & 3 deletions provers/sp1/guest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
harness::entrypoint!(main, tests, zk_op::tests);
use raiko_lib::{
consts::VerifierType,
builder::{BlockBuilderStrategy, TaikoStrategy},
input::{GuestInput},
builder::calculate_block_header, consts::VerifierType, input::GuestInput,
builder::calculate_block_header, input::GuestInput,
protocol_instance::ProtocolInstance,
};
use revm_precompile::zk_op::ZkOperation;
Expand Down

0 comments on commit 0abbeec

Please sign in to comment.