Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add header verification unit tests #6769

Merged
merged 12 commits into from
Feb 6, 2025

Conversation

AdoAdoAdo
Copy link
Contributor

Reasoning behind the pull request

Proposed changes

Testing procedure

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

sstanculeanu
sstanculeanu previously approved these changes Feb 3, 2025
ssd04
ssd04 previously approved these changes Feb 3, 2025
@@ -712,6 +715,208 @@ func TestHeaderSigVerifier_VerifySignatureOkWhenFallbackThresholdCouldBeApplied(
require.True(t, wasCalled)
}

func TestHeaderSigVerifier_VerifySignatureWithEquivalentProofsActivated(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add t.Parallel() ?

@ssd04 ssd04 dismissed stale reviews from sstanculeanu and themself via fcbe82a February 3, 2025 16:47
@sstanculeanu sstanculeanu marked this pull request as ready for review February 3, 2025 16:48
sstanculeanu
sstanculeanu previously approved these changes Feb 3, 2025
@AdoAdoAdo AdoAdoAdo merged commit 1694574 into feat/equivalent-messages Feb 6, 2025
4 checks passed
@AdoAdoAdo AdoAdoAdo deleted the consensus-verifier-fix branch February 6, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants