Skip to content

Commit

Permalink
partial sig validation with slot (ssvlabs#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
alonmuroch authored Dec 11, 2022
1 parent e046520 commit ebbac88
Show file tree
Hide file tree
Showing 23 changed files with 111 additions and 104 deletions.
2 changes: 1 addition & 1 deletion dkg/spectest/generate/tests.json

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions ssv/runner_validations.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,17 @@ func (b *BaseRunner) validatePostConsensusMsg(runner Runner, signedMsg *SignedPa
if b.State.RunningInstance == nil {
return errors.New("no running consensus instance")
}
if decided, _ := b.State.RunningInstance.IsDecided(); !decided {
decided, decidedValueByts := b.State.RunningInstance.IsDecided()
if !decided {
return errors.New("consensus instance not decided")
}

if err := b.validatePartialSigMsg(signedMsg, b.State.StartingDuty.Slot); err != nil {
decidedValue := &types.ConsensusData{}
if err := decidedValue.Decode(decidedValueByts); err != nil {
return errors.Wrap(err, "failed to parse decided value to ConsensusData")
}

if err := b.validatePartialSigMsg(signedMsg, decidedValue.Duty.Slot); err != nil {
return err
}

Expand Down
2 changes: 1 addition & 1 deletion ssv/spectest/generate/tests.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions ssv/spectest/tests/runner/postconsensus/duplicate_msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func DuplicateMsg() *tests.MultiMsgProcessingSpecTest {
testingutils.SSVMsgSyncCommitteeContribution(nil, testingutils.PostConsensusSyncCommitteeContributionMsg(ks.Shares[1], 1, ks)),
testingutils.SSVMsgSyncCommitteeContribution(nil, testingutils.PostConsensusSyncCommitteeContributionMsg(ks.Shares[1], 1, ks)),
},
PostDutyRunnerStateRoot: "3a7cf903b87c5d324cbd30be001051d2fe23ec54d149387e137e3e33115d32f1",
PostDutyRunnerStateRoot: "69342e5f585fab7114c65a7edbf33f4310fee81185e098861da32a4f46312f9a",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -43,7 +43,7 @@ func DuplicateMsg() *tests.MultiMsgProcessingSpecTest {
testingutils.SSVMsgSyncCommittee(nil, testingutils.PostConsensusSyncCommitteeMsg(ks.Shares[1], 1)),
testingutils.SSVMsgSyncCommittee(nil, testingutils.PostConsensusSyncCommitteeMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "b097a1ac0ebdc0f1a1ac8466fd5d9480ce718035eebced889289882baf9a1ba5",
PostDutyRunnerStateRoot: "b7a0d3be1ae21a5dfa30c33843a666a8de2fe0f820524e4151f11fcde66159c6",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -60,7 +60,7 @@ func DuplicateMsg() *tests.MultiMsgProcessingSpecTest {
testingutils.SSVMsgProposer(nil, testingutils.PostConsensusProposerMsg(ks.Shares[1], 1)),
testingutils.SSVMsgProposer(nil, testingutils.PostConsensusProposerMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "7fca24f3e2fb537799b979b23e76464d882c968e51dfec15811e4393bbb8f463",
PostDutyRunnerStateRoot: "2e867d03dad43a13c71916f47a307e609ec321e14d249b86700c1683f7ea0713",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -77,7 +77,7 @@ func DuplicateMsg() *tests.MultiMsgProcessingSpecTest {
testingutils.SSVMsgAggregator(nil, testingutils.PostConsensusAggregatorMsg(ks.Shares[1], 1)),
testingutils.SSVMsgAggregator(nil, testingutils.PostConsensusAggregatorMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "f482a10e0ccd4c48b855773092ac6937f917cf918a3c21ed19d97abe9a9d1008",
PostDutyRunnerStateRoot: "b661e397c31f654cb8809ad38ba6d09f5d1855bdd27f30f508491f15cfa80283",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -94,7 +94,7 @@ func DuplicateMsg() *tests.MultiMsgProcessingSpecTest {
testingutils.SSVMsgAttester(nil, testingutils.PostConsensusAttestationMsg(ks.Shares[1], 1, qbft.FirstHeight)),
testingutils.SSVMsgAttester(nil, testingutils.PostConsensusAttestationMsg(ks.Shares[1], 1, qbft.FirstHeight)),
},
PostDutyRunnerStateRoot: "d8176aca5a0601d77b9cd80bb85b0a248533098040dc24d29fbf2c2f85da87f8",
PostDutyRunnerStateRoot: "3bdecda8346944fe7849ba4a7abd192b1c2e5a43253916496ec46a2febfba92c",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func DuplicateMsgDifferentRoots() *tests.MultiMsgProcessingSpecTest {
testingutils.SSVMsgSyncCommitteeContribution(nil, testingutils.PostConsensusSyncCommitteeContributionMsg(ks.Shares[1], 1, ks)),
testingutils.SSVMsgSyncCommitteeContribution(nil, testingutils.PostConsensusWrongSyncCommitteeContributionMsg(ks.Shares[1], 1, ks)),
},
PostDutyRunnerStateRoot: "3a7cf903b87c5d324cbd30be001051d2fe23ec54d149387e137e3e33115d32f1",
PostDutyRunnerStateRoot: "69342e5f585fab7114c65a7edbf33f4310fee81185e098861da32a4f46312f9a",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -45,7 +45,7 @@ func DuplicateMsgDifferentRoots() *tests.MultiMsgProcessingSpecTest {
testingutils.SSVMsgSyncCommittee(nil, testingutils.PostConsensusSyncCommitteeMsg(ks.Shares[1], 1)),
testingutils.SSVMsgSyncCommittee(nil, testingutils.PostConsensusWrongSyncCommitteeMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "b097a1ac0ebdc0f1a1ac8466fd5d9480ce718035eebced889289882baf9a1ba5",
PostDutyRunnerStateRoot: "b7a0d3be1ae21a5dfa30c33843a666a8de2fe0f820524e4151f11fcde66159c6",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -63,7 +63,7 @@ func DuplicateMsgDifferentRoots() *tests.MultiMsgProcessingSpecTest {
testingutils.SSVMsgProposer(nil, testingutils.PostConsensusProposerMsg(ks.Shares[1], 1)),
testingutils.SSVMsgProposer(nil, testingutils.PostConsensusWrongProposerMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "7fca24f3e2fb537799b979b23e76464d882c968e51dfec15811e4393bbb8f463",
PostDutyRunnerStateRoot: "2e867d03dad43a13c71916f47a307e609ec321e14d249b86700c1683f7ea0713",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -81,7 +81,7 @@ func DuplicateMsgDifferentRoots() *tests.MultiMsgProcessingSpecTest {
testingutils.SSVMsgAggregator(nil, testingutils.PostConsensusAggregatorMsg(ks.Shares[1], 1)),
testingutils.SSVMsgAggregator(nil, testingutils.PostConsensusWrongAggregatorMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "f482a10e0ccd4c48b855773092ac6937f917cf918a3c21ed19d97abe9a9d1008",
PostDutyRunnerStateRoot: "b661e397c31f654cb8809ad38ba6d09f5d1855bdd27f30f508491f15cfa80283",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -99,7 +99,7 @@ func DuplicateMsgDifferentRoots() *tests.MultiMsgProcessingSpecTest {
testingutils.SSVMsgAttester(nil, testingutils.PostConsensusAttestationMsg(ks.Shares[1], 1, qbft.FirstHeight)),
testingutils.SSVMsgAttester(nil, testingutils.PostConsensusWrongAttestationMsg(ks.Shares[1], 1, qbft.FirstHeight)),
},
PostDutyRunnerStateRoot: "d8176aca5a0601d77b9cd80bb85b0a248533098040dc24d29fbf2c2f85da87f8",
PostDutyRunnerStateRoot: "3bdecda8346944fe7849ba4a7abd192b1c2e5a43253916496ec46a2febfba92c",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand Down
10 changes: 5 additions & 5 deletions ssv/spectest/tests/runner/postconsensus/invalid_beacon_sig.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func InvalidBeaconSignature() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgSyncCommitteeContribution(nil, testingutils.PostConsensusWrongSigSyncCommitteeContributionMsg(ks.Shares[1], 1, ks)),
},
PostDutyRunnerStateRoot: "637c1a239496ea1417e60a86688c3a03da2aa18981018eee18613ed1a7536527",
PostDutyRunnerStateRoot: "d12a562cba23fe156380cb61200ab8abe6aec9dd90a6842040b2ef57e50f26a2",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -43,7 +43,7 @@ func InvalidBeaconSignature() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgSyncCommittee(nil, testingutils.PostConsensusWrongSigSyncCommitteeMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "c3cd935d78e8122ecca9a6c3fdfa10043c78b4883762bf1a58c20f14c8b6523d",
PostDutyRunnerStateRoot: "4e84eca5e18d0aebcac7de43d886c04c3182c37d00f13e1040a80b215bce918e",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -60,7 +60,7 @@ func InvalidBeaconSignature() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgProposer(nil, testingutils.PostConsensusWrongSigProposerMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "b0f52e31a41c744054ecc8f9915496b581e41cde404e8a2f25563609c22558c5",
PostDutyRunnerStateRoot: "8750d044bb1d5d919c901a889a7058241744c89b8a5df42714a4af091bfa387c",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -77,7 +77,7 @@ func InvalidBeaconSignature() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgAggregator(nil, testingutils.PostConsensusWrongSigAggregatorMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "392a7dc0d9dd28e8036e31a5ea0cdcfc984fcf78e08b82b52b8c1fffe4b99962",
PostDutyRunnerStateRoot: "59756858e7fb953f3273ba26ea4e48b491eebc98abb2f86054bd1d62d7a1d620",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -94,7 +94,7 @@ func InvalidBeaconSignature() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgAttester(nil, testingutils.PostConsensusWrongSigAttestationMsg(ks.Shares[1], 1, qbft.FirstHeight)),
},
PostDutyRunnerStateRoot: "4511192d8f5499bb0081d8b929c6e2c38b4d14bfd8959ef2e8b2b3ccf6add378",
PostDutyRunnerStateRoot: "09d81b254934d9bd37b28d3e72ffc5e0fce2d3a0c61b3e4204b9ba4043270869",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand Down
10 changes: 5 additions & 5 deletions ssv/spectest/tests/runner/postconsensus/invalid_expected_root.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func InvalidExpectedRoot() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgSyncCommitteeContribution(nil, testingutils.PostConsensusWrongSyncCommitteeContributionMsg(ks.Shares[1], 1, ks)),
},
PostDutyRunnerStateRoot: "637c1a239496ea1417e60a86688c3a03da2aa18981018eee18613ed1a7536527",
PostDutyRunnerStateRoot: "d12a562cba23fe156380cb61200ab8abe6aec9dd90a6842040b2ef57e50f26a2",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -43,7 +43,7 @@ func InvalidExpectedRoot() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgSyncCommittee(nil, testingutils.PostConsensusWrongSyncCommitteeMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "c3cd935d78e8122ecca9a6c3fdfa10043c78b4883762bf1a58c20f14c8b6523d",
PostDutyRunnerStateRoot: "4e84eca5e18d0aebcac7de43d886c04c3182c37d00f13e1040a80b215bce918e",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -60,7 +60,7 @@ func InvalidExpectedRoot() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgProposer(nil, testingutils.PostConsensusWrongProposerMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "b0f52e31a41c744054ecc8f9915496b581e41cde404e8a2f25563609c22558c5",
PostDutyRunnerStateRoot: "8750d044bb1d5d919c901a889a7058241744c89b8a5df42714a4af091bfa387c",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -77,7 +77,7 @@ func InvalidExpectedRoot() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgAggregator(nil, testingutils.PostConsensusWrongAggregatorMsg(ks.Shares[1], 1)),
},
PostDutyRunnerStateRoot: "392a7dc0d9dd28e8036e31a5ea0cdcfc984fcf78e08b82b52b8c1fffe4b99962",
PostDutyRunnerStateRoot: "59756858e7fb953f3273ba26ea4e48b491eebc98abb2f86054bd1d62d7a1d620",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -94,7 +94,7 @@ func InvalidExpectedRoot() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgAttester(nil, testingutils.PostConsensusWrongAttestationMsg(ks.Shares[1], 1, qbft.FirstHeight)),
},
PostDutyRunnerStateRoot: "4511192d8f5499bb0081d8b929c6e2c38b4d14bfd8959ef2e8b2b3ccf6add378",
PostDutyRunnerStateRoot: "09d81b254934d9bd37b28d3e72ffc5e0fce2d3a0c61b3e4204b9ba4043270869",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand Down
10 changes: 5 additions & 5 deletions ssv/spectest/tests/runner/postconsensus/invalid_msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func InvalidMessage() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgSyncCommitteeContribution(nil, invaldiateMsg(testingutils.PostConsensusSyncCommitteeContributionMsg(ks.Shares[1], 1, ks))),
},
PostDutyRunnerStateRoot: "637c1a239496ea1417e60a86688c3a03da2aa18981018eee18613ed1a7536527",
PostDutyRunnerStateRoot: "d12a562cba23fe156380cb61200ab8abe6aec9dd90a6842040b2ef57e50f26a2",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -50,7 +50,7 @@ func InvalidMessage() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgSyncCommittee(nil, invaldiateMsg(testingutils.PostConsensusSyncCommitteeMsg(ks.Shares[1], 1))),
},
PostDutyRunnerStateRoot: "c3cd935d78e8122ecca9a6c3fdfa10043c78b4883762bf1a58c20f14c8b6523d",
PostDutyRunnerStateRoot: "4e84eca5e18d0aebcac7de43d886c04c3182c37d00f13e1040a80b215bce918e",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -67,7 +67,7 @@ func InvalidMessage() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgProposer(nil, invaldiateMsg(testingutils.PostConsensusProposerMsg(ks.Shares[1], 1))),
},
PostDutyRunnerStateRoot: "b0f52e31a41c744054ecc8f9915496b581e41cde404e8a2f25563609c22558c5",
PostDutyRunnerStateRoot: "8750d044bb1d5d919c901a889a7058241744c89b8a5df42714a4af091bfa387c",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -84,7 +84,7 @@ func InvalidMessage() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgAggregator(nil, invaldiateMsg(testingutils.PostConsensusAggregatorMsg(ks.Shares[1], 1))),
},
PostDutyRunnerStateRoot: "392a7dc0d9dd28e8036e31a5ea0cdcfc984fcf78e08b82b52b8c1fffe4b99962",
PostDutyRunnerStateRoot: "59756858e7fb953f3273ba26ea4e48b491eebc98abb2f86054bd1d62d7a1d620",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -101,7 +101,7 @@ func InvalidMessage() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgAttester(nil, invaldiateMsg(testingutils.PostConsensusAttestationMsg(ks.Shares[1], 1, qbft.FirstHeight))),
},
PostDutyRunnerStateRoot: "4511192d8f5499bb0081d8b929c6e2c38b4d14bfd8959ef2e8b2b3ccf6add378",
PostDutyRunnerStateRoot: "09d81b254934d9bd37b28d3e72ffc5e0fce2d3a0c61b3e4204b9ba4043270869",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand Down
10 changes: 5 additions & 5 deletions ssv/spectest/tests/runner/postconsensus/invalid_msg_sig.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func InvalidMessageSignature() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgSyncCommitteeContribution(nil, testingutils.PostConsensusSyncCommitteeContributionMsg(ks.Shares[1], 2, ks)),
},
PostDutyRunnerStateRoot: "637c1a239496ea1417e60a86688c3a03da2aa18981018eee18613ed1a7536527",
PostDutyRunnerStateRoot: "d12a562cba23fe156380cb61200ab8abe6aec9dd90a6842040b2ef57e50f26a2",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -43,7 +43,7 @@ func InvalidMessageSignature() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgSyncCommittee(nil, testingutils.PostConsensusSyncCommitteeMsg(ks.Shares[1], 2)),
},
PostDutyRunnerStateRoot: "c3cd935d78e8122ecca9a6c3fdfa10043c78b4883762bf1a58c20f14c8b6523d",
PostDutyRunnerStateRoot: "4e84eca5e18d0aebcac7de43d886c04c3182c37d00f13e1040a80b215bce918e",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -60,7 +60,7 @@ func InvalidMessageSignature() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgProposer(nil, testingutils.PostConsensusProposerMsg(ks.Shares[1], 2)),
},
PostDutyRunnerStateRoot: "b0f52e31a41c744054ecc8f9915496b581e41cde404e8a2f25563609c22558c5",
PostDutyRunnerStateRoot: "8750d044bb1d5d919c901a889a7058241744c89b8a5df42714a4af091bfa387c",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -77,7 +77,7 @@ func InvalidMessageSignature() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgAggregator(nil, testingutils.PostConsensusAggregatorMsg(ks.Shares[1], 2)),
},
PostDutyRunnerStateRoot: "392a7dc0d9dd28e8036e31a5ea0cdcfc984fcf78e08b82b52b8c1fffe4b99962",
PostDutyRunnerStateRoot: "59756858e7fb953f3273ba26ea4e48b491eebc98abb2f86054bd1d62d7a1d620",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand All @@ -94,7 +94,7 @@ func InvalidMessageSignature() *tests.MultiMsgProcessingSpecTest {
Messages: []*types.SSVMessage{
testingutils.SSVMsgAttester(nil, testingutils.PostConsensusAttestationMsg(ks.Shares[1], 2, qbft.FirstHeight)),
},
PostDutyRunnerStateRoot: "4511192d8f5499bb0081d8b929c6e2c38b4d14bfd8959ef2e8b2b3ccf6add378",
PostDutyRunnerStateRoot: "09d81b254934d9bd37b28d3e72ffc5e0fce2d3a0c61b3e4204b9ba4043270869",
OutputMessages: []*ssv.SignedPartialSignatureMessage{},
BeaconBroadcastedRoots: []string{},
DontStartDuty: true,
Expand Down
Loading

0 comments on commit ebbac88

Please sign in to comment.