From 8981813e13e052fede78d42b295c60032cf59127 Mon Sep 17 00:00:00 2001 From: jonas pauli Date: Tue, 10 Dec 2024 16:20:33 +0100 Subject: [PATCH] fix serialization in risc0 --- prover/src/bin/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/prover/src/bin/main.rs b/prover/src/bin/main.rs index a235a07..e8bc3c9 100644 --- a/prover/src/bin/main.rs +++ b/prover/src/bin/main.rs @@ -22,10 +22,7 @@ mod tests { #[tokio::test] async fn test_generate_transaction_zk_proof_risc0() { let start_time = Instant::now(); - let proof_input = serde_json::to_vec( - &get_ethereum_transaction_proof_inputs(0u32, DEFAULT_BLOCK_HASH).await, - ) - .unwrap(); + let proof_input = get_ethereum_transaction_proof_inputs(0u32, DEFAULT_BLOCK_HASH).await; let env = ExecutorEnv::builder() .write(&proof_input) .unwrap()