From a6328802e4c0b95c1566395aca90a05b2b5bb016 Mon Sep 17 00:00:00 2001 From: smtmfft Date: Thu, 12 Dec 2024 20:13:14 +0800 Subject: [PATCH] fix sp1 aggregation verification error Signed-off-by: smtmfft --- provers/sp1/driver/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/provers/sp1/driver/src/lib.rs b/provers/sp1/driver/src/lib.rs index cf0fcf10..35775a54 100644 --- a/provers/sp1/driver/src/lib.rs +++ b/provers/sp1/driver/src/lib.rs @@ -266,8 +266,9 @@ impl Prover for Sp1Prover { block_inputs, }; info!( - "Aggregating {:?} proofs with input: {aggregation_input:?}", + "Collect {:?} proofs aggregation pi inputs: {:?}", input.proofs.len(), + aggregation_input.block_inputs ); let mut stdin = SP1Stdin::new(); @@ -316,7 +317,7 @@ impl Prover for Sp1Prover { let aggregation_pi = prove_result.clone().borrow_mut().public_values.raw(); let fixture = RaikoProofFixture { vkey: vk.bytes32().to_string(), - public_values: reth_primitives::hex::encode_prefixed(aggregation_pi), + public_values: aggregation_pi, proof: proof_bytes.clone(), };