Skip to content

Commit

Permalink
Merge pull request #2004 from eqlabs/krisztian/ignore-block-commitmen…
Browse files Browse the repository at this point in the history
…t-signature-mismatch

fix(pathfinder/sync/l2): make block commitment signature mismatches a warning
  • Loading branch information
kkovaacs authored May 9, 2024
2 parents d7dfb44 + 7e0ec42 commit 14c4f9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/pathfinder/src/state/sync/l2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ where
);
(verify_result, signature, state_update)
}).await?;
verify_result.context("Verifying block commitment signature")?;
if let Err(error) = verify_result {
tracing::warn!(%error, block_number=%block.block_number, "Block commitment signature mismatch");
}
(signature, state_update)
}
BlockValidationMode::AllowMismatch => (signature, state_update),
Expand Down

0 comments on commit 14c4f9e

Please sign in to comment.