Documentation ¶
Index ¶
- func DuplicateMsg() tests.SpecTest
- func DuplicateMsgDifferentRoots() tests.SpecTest
- func InconsistentBeaconSigner() tests.SpecTest
- func InconsistentOperatorSigner() tests.SpecTest
- func InvalidBeaconSignatureInQuorum() tests.SpecTest
- func InvalidDecode() tests.SpecTest
- func InvalidExpectedRoot() tests.SpecTest
- func InvalidMessageSignature() tests.SpecTest
- func InvalidMessageSlot() tests.SpecTest
- func InvalidOperatorSignature() tests.SpecTest
- func InvalidQuorumThenValidQuorum() tests.SpecTest
- func InvalidSignedMessage() tests.SpecTest
- func InvalidThenQuorum() tests.SpecTest
- func NoRunningDuty() tests.SpecTest
- func PostDecided() tests.SpecTest
- func PostFinish() tests.SpecTest
- func PostQuorum() 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 InconsistentBeaconSigner ¶
InconsistentBeaconSigner tests a beacon signer != SignedPartialSignatureMessage.signer
func InconsistentOperatorSigner ¶
InconsistentOperatorSigner tests a SignedSSVMessage with inconsistent signer regarding its nested SignedPartialSignatureMessage
func InvalidBeaconSignatureInQuorum ¶
InvalidBeaconSignatureInQuorum tests a quorum with an invalid PartialSignatureMessage signature
func InvalidDecode ¶
InvalidDecode tests a SignedSSVMessage with wrong data that can't be decoded
func InvalidExpectedRoot ¶
InvalidExpectedRoot tests 1 expected root which doesn't match the signed root
func InvalidMessageSignature ¶
InvalidMessageSignature tests SignedPartialSignatureMessage signature invalid. No error is generated since the SignedPartialSignatureMessage.Signature is no longer checked
func InvalidMessageSlot ¶
InvalidMessageSlot tests a valid SignedPartialSignatureMessage an invalid msg slot
func InvalidOperatorSignature ¶
InvalidOperatorSignature tests a SignedSSVMessage with invalid signature
func InvalidQuorumThenValidQuorum ¶
InvalidQuorumThenValid tests a runner receiving an invalid message forming an invalid quorum, then receiving a valid message forming a valid quorum, terminating successfully
func InvalidSignedMessage ¶
InvalidSignedMessage tests SignedPartialSignatureMessage.Validate() != nil
func InvalidThenQuorum ¶
InvalidThenQuorum tests a runner receiving an invalid message then a valid quorum, terminating successfully
func NoRunningDuty ¶
NoRunningDuty tests a valid partial pre consensus msg before duty starts
func PostDecided ¶
PostDecided tests a msg received post consensus decided (and post receiving a quorum for pre consensus)
func PostFinish ¶
PostFinish tests a msg received post runner finished
func PostQuorum ¶
PostQuorum tests a msg received post pre consensus quorum
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 UnknownSigner ¶
UnknownSigner tests SignedPartialSignatureMessage unknown signer
func UnorderedExpectedRoots ¶
UnorderedExpectedRoots tests expected roots to match but out of order, should return error
func ValidMessage ¶
ValidMessage tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages
func ValidMessage10Operators ¶
ValidMessage10Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (10 operators)
func ValidMessage13Operators ¶
ValidMessage13Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (13 operators)
func ValidMessage7Operators ¶
ValidMessage7Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (7 operators)
Types ¶
This section is empty.
Source Files ¶
- duplicate_msg.go
- duplicate_msg_different_roots.go
- duplicate_msg_sc.go
- inconsistent_beacon_signer.go
- inconsistent_operator_signer.go
- invalid_beacon_sig_in_quorum.go
- invalid_decode.go
- invalid_expected_root.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.go
- invalid_then_quorum.go
- invalid_then_quorum_sc.go
- no_running_duty.go
- no_running_duty_sc.go
- post_decided.go
- post_decided_sc.go
- post_finish.go
- post_finish_sc.go
- post_quorum.go
- post_quorum_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