Skip to content

Commit

Permalink
chore: add test case for Registered to Active when it has voting power
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Sep 20, 2024
1 parent 9e8196d commit 33b76d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions finality-provider/store/fpstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ func TestUpdateFpStatusFromVotingPower(t *testing.T) {
proto.FinalityProviderStatus_ACTIVE,
nil,
},
{
"vp > 0: Registered to Active",
proto.FinalityProviderStatus_REGISTERED,
1,
proto.FinalityProviderStatus_ACTIVE,
nil,
},
{
"vp > 0: Inactive to Active",
proto.FinalityProviderStatus_INACTIVE,
Expand Down

0 comments on commit 33b76d9

Please sign in to comment.