Skip to content

Commit

Permalink
clippy & fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
CeciliaZ030 committed Jun 28, 2024
1 parent a61c87b commit 8e504ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ impl CycleTracker {
println!("cycle-tracker-end: {self.title}");
}

pub fn println(inner: impl Fn()) {
pub fn println(_inner: impl Fn()) {
#[cfg(all(
all(target_os = "zkvm", target_vendor = "succinct"),
feature = "sp1-cycle-tracker"
))]
inner()
_inner()
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/src/protocol_instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use alloy_primitives::{Address, TxHash, B256};
use alloy_sol_types::SolValue;
use anyhow::{ensure, Result};
use reth_primitives::Header;
use sha2::Digest as _;

#[cfg(not(feature = "std"))]
use crate::no_std::*;
Expand All @@ -14,6 +13,7 @@ use crate::{
};
use reth_evm_ethereum::taiko::ANCHOR_GAS_LIMIT;

#[allow(dead_code)]
const KZG_TRUST_SETUP_DATA: &[u8] = include_bytes!("../../kzg_settings_raw.bin");

#[derive(Debug, Clone)]
Expand Down
11 changes: 4 additions & 7 deletions provers/risc0/driver/src/methods/risc0_guest.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
pub const RISC0_GUEST_ELF: &[u8] =
include_bytes!("../../../guest/target/riscv32im-risc0-zkvm-elf/release/risc0-guest");
pub const RISC0_GUEST_ID: [u32; 8] = [
1651774355, 734744405, 3018462910, 4078349899, 1233289727, 863040824, 1806845319, 2266402868,
];
pub const RISC0_GUEST_PATH: &str =
r#"/home/ubuntu/raiko/provers/risc0/guest/target/riscv32im-risc0-zkvm-elf/release/risc0-guest"#;

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];
pub const RISC0_GUEST_PATH: &str = r#"/home/ubuntu/raiko/provers/risc0/guest/target/riscv32im-risc0-zkvm-elf/release/risc0-guest"#;

0 comments on commit 8e504ce

Please sign in to comment.