Skip to content

Commit 2d81fce

Browse files
committed
chore: address clippy warnings
1 parent 01098f0 commit 2d81fce

File tree

2 files changed

+6
-6
lines changed
  • aggregation_mode/batcher/src/server
  • scripts/test_files/sp1/fibonacci_proof_generator/script/src

2 files changed

+6
-6
lines changed

aggregation_mode/batcher/src/server/types.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ pub(super) struct SubmitProofRequestSP1 {
3838
pub nonce: Text<u64>,
3939
pub proof: TempFile,
4040
pub program_vk: TempFile,
41-
pub signature_hex: Text<String>,
41+
pub _signature_hex: Text<String>,
4242
}
4343

4444
#[derive(Debug, MultipartForm)]
4545
pub(super) struct SubmitProofRequestRisc0 {
46-
pub nonce: Text<u64>,
47-
pub risc0_receipt: TempFile,
48-
pub program_image_id_hex: Text<String>,
49-
pub signature_hex: Text<String>,
46+
pub _nonce: Text<u64>,
47+
pub _risc0_receipt: TempFile,
48+
pub _program_image_id_hex: Text<String>,
49+
pub _signature_hex: Text<String>,
5050
}

scripts/test_files/sp1/fibonacci_proof_generator/script/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fn main() {
5555
format!("../../sp1_fibonacci_{}_vk.bin", SP1_VERSION),
5656
bincode::serialize(&vk).unwrap()
5757
)
58-
.expect("failed to save vk hash");
58+
.expect("failed to save vk bin");
5959

6060
let elf_file_path = format!("../../sp1_fibonacci_{}.elf", SP1_VERSION);
6161
let mut file = std::fs::File::create(elf_file_path).unwrap();

0 commit comments

Comments
 (0)