Documentation
¶
Index ¶
- func DecidedSlashableAttestation() tests.SpecTest
- func EmptySignature() tests.SpecTest
- func FutureDecided() tests.SpecTest
- func FutureDecidedNoInstance() tests.SpecTest
- func FutureMessage() tests.SpecTest
- func InvalidDecidedValue() tests.SpecTest
- func InvalidSignature() tests.SpecTest
- func NilSSVMessage() tests.SpecTest
- func NoSignatures() tests.SpecTest
- func NoSigners() tests.SpecTest
- func NonUniqueSigners() tests.SpecTest
- func PastMessage() tests.SpecTest
- func PostDecided() tests.SpecTest
- func PostFinish() tests.SpecTest
- func SignersAndSignaturesWithDifferentLength() tests.SpecTest
- func ValidDecided() tests.SpecTest
- func ValidDecided10Operators() tests.SpecTest
- func ValidDecided13Operators() tests.SpecTest
- func ValidDecided7Operators() tests.SpecTest
- func ValidMessage() tests.SpecTest
- func ZeroSigner() tests.SpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecidedSlashableAttestation ¶ added in v1.0.0
DecidedSlashableAttestation tests that a slashable attestation is not signed
func EmptySignature ¶ added in v1.0.0
EmptySignature tests an invalid consensus message with an empty signature
func FutureDecided ¶
FutureDecided tests a running instance at a certain height, then processing a decided msg from a larger height. then returning an error and don't move to post consensus as it's not the same instance decided
func FutureDecidedNoInstance ¶
FutureDecidedNoInstance tests processing a decided msg from a larger height with no running instance then returning an error and don't move to post consensus as it's not the same instance decided
func FutureMessage ¶
FutureMessage tests a valid proposal future msg
func InvalidDecidedValue ¶
InvalidDecidedValue tests an invalid decided value ValidatorConsensusData.Validate() != nil (unknown duty role)
func InvalidSignature ¶
InvalidSignature tests a consensus message with an invalid signature
func NilSSVMessage ¶ added in v1.0.0
NilSSVMessage tests an invalid consensus message with a nil SSVMessage
func NoSignatures ¶ added in v1.0.0
NoSignatures tests an invalid consensus message with no signatures
func NonUniqueSigners ¶ added in v1.0.0
NonUniqueSigners tests an invalid consensus message with non unique signers
func PostDecided ¶
PostDecided tests a valid commit msg after returned decided already
func PostFinish ¶
PostFinish tests a valid commit msg after runner finished
func SignersAndSignaturesWithDifferentLength ¶ added in v1.0.0
SignersAndSignaturesWithDifferentLength tests an invalid consensus message with different length of signers and signatures
func ValidDecided10Operators ¶
ValidDecided10Operators tests a valid decided value (10 operators)
func ValidDecided13Operators ¶
ValidDecided13Operators tests a valid decided value (13 operators)
func ValidDecided7Operators ¶
ValidDecided7Operators tests a valid decided value (7 operators)
func ZeroSigner ¶ added in v1.0.0
ZeroSigner tests an invalid consensus message with a zero signer
Types ¶
This section is empty.
Source Files
¶
- decided_slashable_attestation.go
- future_decided.go
- future_decided_no_instance.go
- future_decided_sc.go
- future_msg.go
- invalid_decided_value.go
- invalid_signature.go
- past_msg.go
- post_decided.go
- post_decided_sc.go
- post_finish.go
- post_finish_sc.go
- signedssvmsg_diff_length.go
- signedssvmsg_empty_signature.go
- signedssvmsg_nil_ssvmessage.go
- signedssvmsg_no_signatures.go
- signedssvmsg_no_signers.go
- signedssvmsg_non_unique_signer.go
- signedssvmsg_zero_signer.go
- valid_decided.go
- valid_decided_10_operators.go
- valid_decided_13_operators.go
- valid_decided_7_operators.go
- valid_decided_7_operators_sc.go
- valid_decided_sc.go
- valid_message.go