Documentation
¶
Index ¶
- func DuplicateMsg() tests.SpecTest
- func DuplicateMsgDifferentRoots() tests.SpecTest
- func DuplicateMsgDifferentRootsThenQuorum() tests.SpecTest
- func InconsistentBeaconSigner() tests.SpecTest
- func InconsistentOperatorSigner() tests.SpecTest
- func InvalidAndValidValidatorIndexesQuorum() tests.SpecTest
- func InvalidBeaconSignatureInQuorum() tests.SpecTest
- func InvalidDecidedValue() tests.SpecTest
- func InvalidExpectedRoot() tests.SpecTest
- func InvalidMessage() tests.SpecTest
- func InvalidMessageSignature() tests.SpecTest
- func InvalidMessageSlot() tests.SpecTest
- func InvalidOperatorSignature() tests.SpecTest
- func InvalidQuorumThenValidQuorum() tests.SpecTest
- func InvalidSignedMessageDifferentLength() tests.SpecTest
- func InvalidSignedMessageEmptySignature() tests.SpecTest
- func InvalidSignedMessageNoSignature() tests.SpecTest
- func InvalidSignedMessageNoSigners() tests.SpecTest
- func InvalidThenQuorum() tests.SpecTest
- func InvalidValidatorIndex() tests.SpecTest
- func InvalidValidatorIndexQuorum() tests.SpecTest
- func MixedCommittees() tests.SpecTest
- func NilSSVMessage() tests.SpecTest
- func NoRunningDuty() tests.SpecTest
- func PartialInvalidRootQuorumThenValidQuorum() tests.SpecTest
- func PartialInvalidSigQuorumThenValidQuorum() tests.SpecTest
- func PostFinish() tests.SpecTest
- func PostQuorum() tests.SpecTest
- func PreDecided() tests.SpecTest
- func Quorum() tests.SpecTest
- func Quorum10Operators() tests.SpecTest
- func Quorum13Operators() tests.SpecTest
- func Quorum7Operators() tests.SpecTest
- func TooFewRoots() tests.SpecTest
- func TooManyRoots() tests.SpecTest
- func UnknownSigner() tests.SpecTest
- func UnorderedExpectedRoots() tests.SpecTest
- func ValidMessage() tests.SpecTest
- func ValidMessage10Operators() tests.SpecTest
- func ValidMessage13Operators() tests.SpecTest
- func ValidMessage7Operators() tests.SpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DuplicateMsg ¶
DuplicateMsg tests duplicate SignedPartialSignatureMessage
func DuplicateMsgDifferentRoots ¶
DuplicateMsgDifferentRoots tests duplicate SignedPartialSignatureMessage (from same signer) but with different roots
func DuplicateMsgDifferentRootsThenQuorum ¶
DuplicateMsgDifferentRootsThenQuorum tests that it can successfully reach a quorum and end the duty even after receiving the following error: - a duplicate SignedPartialSignatureMessage (from same signer) but with different roots
func InconsistentBeaconSigner ¶
InconsistentBeaconSigner tests a beacon signer != SignedPartialSignatureMessage.signer
func InconsistentOperatorSigner ¶
InconsistentOperatorSigner tests a SignedSSVMessage with inconsistent signer regarding its nested SignedPartialSignatureMessage
func InvalidAndValidValidatorIndexesQuorum ¶ added in v1.0.0
InvalidAndValidValidatorIndexesQuorum tests a quorum of post consensus messages with both an invalid and a valid validator index
func InvalidBeaconSignatureInQuorum ¶
InvalidBeaconSignatureInQuorum tests a quorum with an invalid PartialSignatureMessage signature
func InvalidDecidedValue ¶
InvalidDecidedValue tests an invalid decided value
func InvalidExpectedRoot ¶
InvalidExpectedRoot tests 1 expected root which doesn't match the signed root
func InvalidMessage ¶
InvalidMessage tests a valid SignedPartialSignatureMessage.valid() != nil
func InvalidMessageSignature ¶
InvalidMessageSignature tests PartialSignatureMessage signature invalid. No error is generated since the SignedPartialSignatureMessage.Signature is no longer checked
func InvalidMessageSlot ¶
InvalidMessageSlot tests a valid SignedPartialSignatureMessage with an invalid msg slot
func InvalidOperatorSignature ¶
InvalidOperatorSignature tests a SignedSSVMessage with invalid signature
func InvalidQuorumThenValidQuorum ¶
InvalidQuorumThenValidQuorum tests a runner receiving an invalid message forming an invalid quorum, then receiving a valid message forming a valid quorum, terminating successfully
func InvalidSignedMessageDifferentLength ¶ added in v1.0.0
InvalidSignedMessageDifferentLength tests an invalid SignedSSVMessage with a different number of signers and signatures
func InvalidSignedMessageEmptySignature ¶ added in v1.0.0
InvalidSignedMessageEmptySignature tests an invalid SignedSSVMessage with an empty signature
func InvalidSignedMessageNoSignature ¶ added in v1.0.0
InvalidSignedMessageNoSignature tests an invalid SignedSSVMessage with no signatures
func InvalidSignedMessageNoSigners ¶ added in v1.0.0
InvalidSignedMessageNoSigners tests an invalid SignedSSVMessage with no signers
func InvalidThenQuorum ¶
InvalidThenQuorum tests a runner receiving an invalid message then a valid quorum, terminating successfully
func InvalidValidatorIndex ¶ added in v1.0.0
InvalidValidatorIndex tests a post consensus message with an invalid validator index
func InvalidValidatorIndexQuorum ¶ added in v1.0.0
InvalidValidatorIndexQuorum tests a quorum of post consensus messages with an invalid validator index
func MixedCommittees ¶ added in v1.0.0
MixedCommittees tests a committee runner with duties with different CommitteeIndex
func NilSSVMessage ¶ added in v1.0.0
NilSSVMessage tests a SignedSSVMessage with wrong data that can't be decoded
func NoRunningDuty ¶
NoRunningDuty tests a valid SignedPartialSignatureMessage without a running duty
func PartialInvalidRootQuorumThenValidQuorum ¶ added in v1.0.0
PartialInvalidRootQuorumThenValidQuorum tests a runner receiving a partially invalid message (due to wrong roots) forming an invalid quorum, then receiving a valid message forming a valid quorum, terminating successfully
func PartialInvalidSigQuorumThenValidQuorum ¶ added in v1.0.0
PartialInvalidSigQuorumThenValidQuorum tests a runner receiving a partially invalid message (due to wrong sigs) forming an invalid quorum, then receiving a valid message forming a valid quorum, terminating successfully
func PostFinish ¶
PostFinish tests a valid SignedPartialSignatureMessage post finished runner
func PostQuorum ¶
PostQuorum tests a msg received post post-consensus quorum
func PreDecided ¶
PreDecided tests a valid SignedPartialSignatureMessage sent before decided reached, should error
func Quorum10Operators ¶
Quorum10Operators tests a quorum of valid SignedPartialSignatureMessage 10 operators
func Quorum13Operators ¶
Quorum13Operators tests a quorum of valid SignedPartialSignatureMessage 13 operators
func Quorum7Operators ¶
Quorum7Operators tests a quorum of valid SignedPartialSignatureMessage 7 operators
func TooFewRoots ¶
TooFewRoots tests a valid SignedPartialSignatureMessage with too few roots
func TooManyRoots ¶
TooManyRoots tests a valid SignedPartialSignatureMessage with too many roots
func UnorderedExpectedRoots ¶
UnorderedExpectedRoots tests a valid SignedPartialSignatureMessage with unordered roots
func ValidMessage ¶
ValidMessage tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages
func ValidMessage10Operators ¶
ValidMessage10Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages with 10 operators
func ValidMessage13Operators ¶
ValidMessage13Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages with 13 operators
func ValidMessage7Operators ¶
ValidMessage7Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages with 7 operators
Types ¶
This section is empty.
Source Files
¶
- duplicate_msg.go
- duplicate_msg_diff_root_then_quorum.go
- duplicate_msg_diff_root_then_quorum_sc.go
- duplicate_msg_different_roots.go
- duplicate_msg_different_roots_sc.go
- duplicate_msg_sc.go
- inconsistent_beacon_signer.go
- inconsistent_beacon_signer_sc.go
- inconsistent_operator_signer.go
- invalid_and_valid_validator_indexes_quorum.go
- invalid_beacon_sig_in_quorum.go
- invalid_decided_value.go
- invalid_expected_root.go
- invalid_msg.go
- invalid_msg_sig.go
- invalid_msg_slot.go
- invalid_operator_sig.go
- invalid_quorum_then_valid_quorum.go
- invalid_quorum_then_valid_quorum_sc.go
- invalid_signed_msg_diff_length.go
- invalid_signed_msg_empty_signature.go
- invalid_signed_msg_no_signature.go
- invalid_signed_msg_no_signers.go
- invalid_then_quorum.go
- invalid_then_quorum_sc.go
- invalid_validator_index.go
- invalid_validator_index_quorum.go
- mixed_committees.go
- nil_ssvmessage.go
- no_running_duty.go
- partial_invalid_root_quorum_then_valid_quorum.go
- partial_invalid_sig_quorum_then_valid_quorum.go
- post_finish.go
- post_quorum.go
- post_quorum_sc.go
- pre_decided.go
- pre_decided_sc.go
- quorum.go
- quorum_10_operators.go
- quorum_13_operators.go
- quorum_7_operators.go
- quorum_7_operators_sc.go
- quorum_sc.go
- too_few_roots.go
- too_many_roots.go
- unknown_signer.go
- unknown_signer_sc.go
- unordered_expected_roots.go
- valid_msg.go
- valid_msg_10_operators.go
- valid_msg_13_operators.go
- valid_msg_7_operators.go