Skip to content

Commit f7ef881

Browse files
committed
Add commitment
1 parent 8724a08 commit f7ef881

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/l2/sequencer/l1_proof_verifier.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,15 @@ impl L1ProofVerifier {
178178
}
179179

180180
let verification_data = self.verification_data(prover_type, public_inputs)?;
181-
181+
let commitment = H256(verification_data.commitment());
182182
if let Some((merkle_root, merkle_path)) =
183183
self.check_proof_aggregation(verification_data).await?
184184
{
185185
info!(
186186
?batch_number,
187187
?prover_type,
188188
merkle_root = %format_args!("{merkle_root:#x}"),
189+
commitment = %format_args!("{commitment:#x}"),
189190
"Proof aggregated by Aligned"
190191
);
191192
aggregated_proofs_for_batch.insert(prover_type, merkle_path);

0 commit comments

Comments
 (0)