Skip to content

Commit 3d5c6f1

Browse files
committed
fix: refine logging
1 parent 27d67ac commit 3d5c6f1

File tree

5 files changed

+4
-27
lines changed

5 files changed

+4
-27
lines changed

beacon_node/beacon_chain/src/data_availability_checker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ impl<T: BeaconChainTypes> DataAvailabilityChecker<T> {
459459
verified_proofs.push((*proof).clone());
460460
}
461461
Ok(false) => {
462-
warn!(
462+
debug!(
463463
?proof_id,
464464
?block_root,
465465
"Proof verification failed: proof is invalid"

beacon_node/beacon_chain/src/execution_proof_verification.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ fn verify_zkvm_proof<T: BeaconChainTypes>(
347347
Ok(())
348348
}
349349
Ok(false) => {
350-
warn!(%block_root, %subnet_id, "Proof verification failed: proof is invalid");
350+
debug!(%block_root, %subnet_id, "Proof verification failed: proof is invalid");
351351
Err(GossipExecutionProofError::ProofVerificationFailed(format!(
352352
"zkVM proof verification failed for block_root={}, subnet_id={}",
353353
block_root, subnet_id

beacon_node/network/src/network_beacon_processor/gossip_methods.rs

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -792,29 +792,6 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
792792
"Received execution proof via gossip"
793793
);
794794

795-
// TODO(ethproofs): Added for demo.
796-
// Check if we already have the minimum required proofs for this block
797-
// If so, skip verification to avoid unnecessary processing
798-
if let Some(min_proofs) = self.chain.min_execution_proofs_required() {
799-
if let Some(cached_proof_ids) = self
800-
.chain
801-
.data_availability_checker
802-
.cached_execution_proof_subnet_ids(&block_root)
803-
{
804-
if cached_proof_ids.len() >= min_proofs {
805-
// Already have minimum required proofs, ignore this one
806-
debug!(
807-
%block_root,
808-
%proof_id,
809-
cached_count = cached_proof_ids.len(),
810-
min_required = min_proofs,
811-
"Ignoring execution proof, minimum proofs already cached"
812-
);
813-
return;
814-
}
815-
}
816-
}
817-
818795
// Verify the execution proof for gossip
819796
match self
820797
.chain
@@ -897,7 +874,7 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
897874
)
898875
}
899876
GossipExecutionProofError::ProofVerificationFailed(ref reason) => {
900-
warn!(
877+
debug!(
901878
error = ?err,
902879
%block_root,
903880
%proof_id,

zkvm_execution_layer/src/verification_keys/zisk_zkcloud_884fcc21-d522-4b4a-b535-7cfde199485c.bin

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
T��*v[l�[�q�o��)_'q�y?$,@F�C�

0 commit comments

Comments
 (0)