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 validation that there is only one fp key in delegation #270

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

KonradStaniec
Copy link
Collaborator

Fixes: #269

In phase-2 every delegation must have only one finality provider.
Adds:

  • validation
  • test cases

@KonradStaniec KonradStaniec requested a review from a team as a code owner November 15, 2024 07:47
@KonradStaniec KonradStaniec requested review from Lazar955 and RafilxTenfen and removed request for a team November 15, 2024 07:47
@KonradStaniec KonradStaniec merged commit 2d423a8 into main Nov 15, 2024
19 checks passed
@KonradStaniec KonradStaniec deleted the konradstaniec/require-only-one-fp-key branch November 15, 2024 12:22
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.

enforce len(msg.FpBtcPkList) == 1 for phase-2
3 participants