From 6cf45f925672a73d892044f2f0c90786ded16b8b Mon Sep 17 00:00:00 2001 From: Maanav Khaitan Date: Thu, 21 Nov 2024 11:40:21 +0530 Subject: [PATCH] comments --- zkvm-utils/src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/zkvm-utils/src/main.rs b/zkvm-utils/src/main.rs index 4cedb83..892faed 100644 --- a/zkvm-utils/src/main.rs +++ b/zkvm-utils/src/main.rs @@ -130,17 +130,12 @@ async fn execute_onchain_job_ffi( max_cycles: u64, zkvm_executor: &ZkvmExecutorService>, ) -> Result<()> { - // println!("NARULA program id hex is {:?}", hex::encode(program_id.clone())); let elf = std::fs::read(elf_path).unwrap(); let (result_with_metadata, zkvm_operator_signature) = zkvm_executor .execute_onchain_job(job_id, max_cycles, program_id, onchain_input, elf, VmType::Sp1) .await .unwrap(); - // abi decode - // let result = ResultWithMetadata::abi_decode(&result_with_metadata, false).unwrap(); - // println!("NARULA program ID is {:?}", hex::encode(result.program_id.clone())); - let calldata = abi_encode_result_with_signature_calldata(result_with_metadata, zkvm_operator_signature); let output = hex::encode(calldata);