Commit f33e089
Spec - Move domainType from CommitteeMember and Share to Network (#494)
* remove domaintype from committeeMember
* remove domaintype from share
* add config for ssv containing domainType
* add custom unmarshal for baserunner to avoid error in unmarshalling config
* move domainType to Network
* add testing domain in NewTestingNetwork function
* Spec - filter committee duties per slot validator duties (#467)
* Filter shares for slot `CommitteeRunner` based on validators that have duty for that slot.
* Filter duty and create share map according to owned validators
* Add test: start duty with no shares for duty's validators
* Add test: happy flow for committee with fraction of duty's validators
* Generate JSON tests
* Apply suggestions
---------
Co-authored-by: MatheusFranco99 <[email protected]>
* Spec - check att and sync duties exist before submitting (#468)
* Meta - Update to go1.22 (#474)
* Update go1.20 to go1.22
* Update go.sum with mod tidy
* Meta - Update dependencies (#483)
* Update dependencies
* Fix lint issue
* Generate JSON tests to trigger actions
* Update fastssz
* Generate JSON tests and align ssz error
* Revert go-eth2-client version change
* Revert fastssz upgrade
* Generate SSZ and JSON tests
* Meta - Fix static analysis issues (#480)
* Solve potential file inclusion via variable
* Fix file permission (0644 to 0600)
* Add nosec comment for PRNG (pseudo-random number generator) used for testing
* Fix lint issue on nil check in []byte type
* Update permission from 0444 to 0600
* Update 0444 to 0400
* Meta - Drop unnecessary nolint comments (#477)
* Remove nolint comment and export timeout variables
* Drop unnecessary nolint
* Add comment
* Fix lint issue
* Spec - Share length validation (#478)
* Add share length validation in runner construction
* Align to error handling in runners constructions
* Add validation to committee runner
* Add runner construction tests
* Refactor runner construction in testingutil to deal with creation errors
* Generate JSON tests
* Fix lint issue
* Fix comments
* Meta - Drop redundant error (#475)
* Spec - Drop redundant validation for decided messages (#476)
* Remove redundant validation
* Align error string
* Spec - Sort signers in decided message (#484)
* Sort signers in decided message
* Add test for sorted signers in decided msg
* Generate JSON tests
* Fix lint issue
* Spec - Stop processing after decided (#487)
* Stop processing consensus messages after instance is decided
* Align error in qbft tests
* Align errors in ssv tests
* Generate JSON tests
* Fix lint issue
* Spec - Drop leftover error check (#469)
* Remove leftover err check
* Align argument variable name to type
* Spec - Secure key storage (#481)
* Implement secure key storage using PKCS8
* Fix lint issue
* Switch back PKCS8 to PKCS1
* Meta - Remove residual DKG (#502)
* Remove DKG signature type
* Remove DKG msg type
* Remove DKGOperators field from TestKeySet
* Remove unused ecdsaKeys field from TestingKeyStorage
* Remove unused "ecdsaSKFromHex" function
* Generate JSON tests
* Spec - Add GoSec action and fix issues (#505)
* Add github action and makefile command
* Fix issues in round robin proposer function
* Fix bad PutUint32 in GetCommitteeID
* Fix issue with HasQuorum and HasPartialQuorum
* Add role sanitization in GetRoleType and NewMessageType
* Add sanitization to BeaconNetwork methods
* Add sanitization in testingutils
* Add sanitization to height usage in test files
* Fix uint64 conversion in runner/postconsensus/valid_msg test
* Sanitize ValidatorIndex conversion
* Update action name
* Fix tests to use valid RunnerRoles
* Generate SSZ
* Generate JSON tests
* Revert the change on GetCommitteeID
* Add nosec G115 to GetCommitteeID
* revert the merge because it was merged with origin main by accident
---------
Co-authored-by: rehs0y <[email protected]>
Co-authored-by: MatheusFranco99 <[email protected]>1 parent cef7b80 commit f33e089
File tree
1,113 files changed
+538
-69639
lines changed- qbft
- spectest/generate
- state_comparison
- tests_ControllerSpecTest
- tests_MsgProcessingSpecTest
- ssv
- spectest/generate
- state_comparison
- committee_CommitteeSpecTest
- committee_MultiCommitteeSpecTest
- decided
- failed_than_successful_duties
- happy_flow
- past_msg_duty_does_not_exist
- past_msg_duty_finished
- past_msg_duty_not_finished
- proposal_with_consensus_data
- sequenced_decided_duties
- sequenced_happy_flow_duties
- shuffled_decided_duties
- shuffled_happy_flow_duties_with_different_validators
- shuffled_happy_flow_duties_with_same_validators
- start_duty
- valid_beacon_vote
- wrong_beacon_vote
- wrong_message_ID
- newduty_MultiStartNewRunnerDutySpecTest
- duplicate_duty_finished
- duplicate_duty_not_finished
- new_duty_consensus_not_started
- new_duty_finished
- new_duty_first_height
- new_duty_not_decided
- new_duty_post_decided
- new_duty_post_future_decided
- new_duty_post_invalid_decided
- new_duty_post_wrong_decided
- new_duty_valid
- synccommitteeaggregator_SyncCommitteeAggregatorProofSpecTest
- tests_MsgProcessingSpecTest
- tests_MultiMsgProcessingSpecTest
- blinded_proposer_accepts_normal_block_proposal
- consensus_decided_invalid_value
- consensus_future_decided_no_running_instance
- consensus_future_decided
- consensus_future_message
- consensus_invalid_signature
- consensus_past_message
- consensus_valid_decided_10_operators
- consensus_valid_decided_13_operators
- consensus_valid_decided_7_operators
- consensus_valid_decided
- consensus_valid_message
- consensus_valid_post_decided
- consensus_valid_post_finish
- different_length_of_signers_and_signatures
- empty_signature
- full_happy_flow
- mixed_committees
- nil_SSVMessage
- no_signatures
- no_signers
- non_unique_signer
- normal_proposer_accepts_blinded_block_proposal
- post_consensus_before_decided
- post_consensus_decided_invalid_value
- post_consensus_duplicate_msg_different_root_then_quorum
- post_consensus_duplicate_msg_different_roots
- post_consensus_duplicate_msg
- post_consensus_inconsistent_beacon_signer
- post_consensus_inconsistent_operator_signer
- post_consensus_invalid_and_valid_validator_index_quorum
- post_consensus_invalid_beacon_signature_in_quorum
- post_consensus_invalid_expected_roots
- post_consensus_invalid_msg_signature
- post_consensus_invalid_msg_slot
- post_consensus_invalid_msg
- post_consensus_invalid_operator_signature
- post_consensus_invalid_quorum_then_valid_quorum
- post_consensus_invalid_signed_message_different_length
- post_consensus_invalid_signed_message_empty_signature
- post_consensus_invalid_signed_message_no_signatures
- post_consensus_invalid_signed_message_no_signers
- post_consensus_invalid_then_quorum
- post_consensus_invalid_validator_index_quorum
- post_consensus_invalid_validator_index
- post_consensus_nil_ssvmessage
- post_consensus_no_running_duty
- post_consensus_partial_invalid_root_quorum_then_valid_quorum
- post_consensus_partial_invalid_sig_quorum_then_valid_quorum
- post_consensus_post_finish
- post_consensus_post_quorum
- post_consensus_quorum_10_operators
- post_consensus_quorum_13_operators
- post_consensus_quorum_7_operators
- post_consensus_quorum
- post_consensus_too_few_roots
- post_consensus_too_many_roots
- post_consensus_unknown_signer
- post_consensus_unordered_roots
- post_consensus_valid_msg_10_operators
- post_consensus_valid_msg_13_operators
- post_consensus_valid_msg_7_operators
- post_consensus_valid_msg
- pre_consensus_duplicate_msg
- pre_consensus_inconsistent_beacon_signer
- pre_consensus_inconsistent_operator_signer
- pre_consensus_invalid_beacon_signature_in_quorum
- pre_consensus_invalid_expected_roots
- pre_consensus_invalid_msg_signature
- pre_consensus_invalid_msg_slot
- pre_consensus_invalid_operator_signature
- pre_consensus_invalid_quorum_then_valid_quorum
- pre_consensus_invalid_signed_msg_different_length
- pre_consensus_invalid_signed_msg_empty_signature
- pre_consensus_invalid_signed_msg_no_signatures
- pre_consensus_invalid_signed_msg_no_signers
- pre_consensus_invalid_signed_msg
- pre_consensus_invalid_then_quorum
- pre_consensus_msg_different_roots
- pre_consensus_nil_ssvmessage
- pre_consensus_no_running_duty
- pre_consensus_post_decided
- pre_consensus_post_finish
- pre_consensus_post_quorum
- pre_consensus_quorum_10_operators
- pre_consensus_quorum_13_operators
- pre_consensus_quorum_7_operators
- pre_consensus_quorum
- pre_consensus_too_few_roots
- pre_consensus_too_many_roots
- pre_consensus_unknown_msg_signer
- pre_consensus_unordered_expected_roots
- pre_consensus_valid_msg_10_operators
- pre_consensus_valid_msg_13_operators
- pre_consensus_valid_msg_7_operators
- pre_consensus_valid_msg
- wrong_duty_pubkey
- wrong_duty_role
- zero_signers
- types
- spectest/generate
- state_comparison
- committeemember_CommitteeMemberTest
- encryption_EncryptionSpecTest
- signedssvmsg_EncodingTest
- signedssvmsg_SignedSSVMessageTest
- testingutils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,113 files changed
+538
-69639
lines changedLines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
1083 | 1077 | | |
1084 | 1078 | | |
1085 | 1079 | | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | 1080 | | |
1093 | 1081 | | |
1094 | 1082 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
1089 | 1083 | | |
1090 | 1084 | | |
1091 | 1085 | | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | 1086 | | |
1099 | 1087 | | |
1100 | 1088 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
1800 | 1794 | | |
1801 | 1795 | | |
1802 | 1796 | | |
1803 | | - | |
1804 | | - | |
1805 | | - | |
1806 | | - | |
1807 | | - | |
1808 | | - | |
1809 | 1797 | | |
1810 | 1798 | | |
1811 | 1799 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
1087 | 1081 | | |
1088 | 1082 | | |
1089 | 1083 | | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | 1084 | | |
1097 | 1085 | | |
1098 | 1086 | | |
| |||
Lines changed: 0 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
271 | 265 | | |
272 | 266 | | |
273 | 267 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 268 | | |
281 | 269 | | |
282 | 270 | | |
| |||
358 | 346 | | |
359 | 347 | | |
360 | 348 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | 349 | | |
368 | 350 | | |
369 | 351 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
147 | 141 | | |
148 | 142 | | |
149 | 143 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 144 | | |
157 | 145 | | |
158 | 146 | | |
| |||
Lines changed: 0 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
271 | 265 | | |
272 | 266 | | |
273 | 267 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 268 | | |
281 | 269 | | |
282 | 270 | | |
| |||
358 | 346 | | |
359 | 347 | | |
360 | 348 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | 349 | | |
368 | 350 | | |
369 | 351 | | |
| |||
Lines changed: 0 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
271 | 265 | | |
272 | 266 | | |
273 | 267 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 268 | | |
281 | 269 | | |
282 | 270 | | |
| |||
358 | 346 | | |
359 | 347 | | |
360 | 348 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | 349 | | |
368 | 350 | | |
369 | 351 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
147 | 141 | | |
148 | 142 | | |
149 | 143 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 144 | | |
157 | 145 | | |
158 | 146 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
147 | 141 | | |
148 | 142 | | |
149 | 143 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 144 | | |
157 | 145 | | |
158 | 146 | | |
| |||
0 commit comments