Skip to content

Commit

Permalink
Apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusFranco99 committed Jul 22, 2024
1 parent 1e05ab1 commit 3d5887f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ssv/spectest/all_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ var AllTests = []tests.TestF{
committeesingleduty.ProposalWithConsensusData,
committeesingleduty.WrongMessageID,
committeesingleduty.StartWithNoSharesForDuty,
committeesingleduty.SharesWithFractionOfDutyValidators,
committeesingleduty.MissingSomeShares,

committeemultipleduty.SequencedDecidedDuties,
committeemultipleduty.SequencedHappyFlowDuties,
Expand Down
Binary file modified ssv/spectest/generate/tests.json.gz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"github.com/ssvlabs/ssv-spec/types/testingutils"
)

// SharesWithFractionOfDutyValidators performs a complete duty execution for a runner that only has a fraction of the shares for the duty's validators
func SharesWithFractionOfDutyValidators() tests.SpecTest {
// MissingSomeShares performs a complete duty execution for a runner that only has a fraction of the shares for the duty's validators
func MissingSomeShares() tests.SpecTest {

// Message ID
ks := testingutils.TestingKeySetMap[phase0.ValidatorIndex(1)]
Expand All @@ -29,7 +29,7 @@ func SharesWithFractionOfDutyValidators() tests.SpecTest {
dutyValidators := []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}

multiSpecTest := &committee.MultiCommitteeSpecTest{
Name: "shares with fraction of duty validators",
Name: "start committee duty with missing shares",
Tests: []*committee.CommitteeSpecTest{
{
Name: "attestation",
Expand Down

0 comments on commit 3d5887f

Please sign in to comment.