From 33b76d90442e6c9d69d9fea865b955e302050f2d Mon Sep 17 00:00:00 2001 From: RafilxTenfen Date: Thu, 19 Sep 2024 21:06:02 -0300 Subject: [PATCH] chore: add test case for Registered to Active when it has voting power --- finality-provider/store/fpstore_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/finality-provider/store/fpstore_test.go b/finality-provider/store/fpstore_test.go index 1985d453..eb18a23c 100644 --- a/finality-provider/store/fpstore_test.go +++ b/finality-provider/store/fpstore_test.go @@ -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,