postconsensus

package
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DuplicateMsg

func DuplicateMsg() tests.SpecTest

DuplicateMsg tests duplicate SignedPartialSignatureMessage

func DuplicateMsgDifferentRoots

func DuplicateMsgDifferentRoots() tests.SpecTest

DuplicateMsgDifferentRoots tests duplicate SignedPartialSignatureMessage (from same signer) but with different roots

func DuplicateMsgDifferentRootsThenQuorum added in v0.3.7

func DuplicateMsgDifferentRootsThenQuorum() tests.SpecTest

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

func InconsistentBeaconSigner() tests.SpecTest

InconsistentBeaconSigner tests a beacon signer != SignedPartialSignatureMessage.signer

func InconsistentOperatorSigner added in v0.3.8

func InconsistentOperatorSigner() tests.SpecTest

InconsistentOperatorSigner tests a SignedSSVMessage with inconsistent signer regarding its nested SignedPartialSignatureMessage

func InvalidBeaconSignatureInQuorum added in v0.3.7

func InvalidBeaconSignatureInQuorum() tests.SpecTest

InvalidBeaconSignatureInQuorum tests a quorum with an invalid PartialSignatureMessage signature

func InvalidDecidedValue

func InvalidDecidedValue() tests.SpecTest

InvalidDecidedValue tests an invalid decided value

func InvalidDecode added in v0.3.8

func InvalidDecode() tests.SpecTest

InvalidDecode tests a SignedSSVMessage with wrong data that can't be decoded

func InvalidExpectedRoot

func InvalidExpectedRoot() tests.SpecTest

InvalidExpectedRoot tests 1 expected root which doesn't match the signed root

func InvalidMessage

func InvalidMessage() tests.SpecTest

InvalidMessage tests a valid SignedPartialSignatureMessage.valid() != nil

func InvalidMessageSignature

func InvalidMessageSignature() tests.SpecTest

InvalidMessageSignature tests PartialSignatureMessage signature invalid. No error is generated since the SignedPartialSignatureMessage.Signature is no longer checked

func InvalidMessageSlot

func InvalidMessageSlot() tests.SpecTest

InvalidMessageSlot tests a valid SignedPartialSignatureMessage with an invalid msg slot

func InvalidOperatorSignature added in v0.3.8

func InvalidOperatorSignature() tests.SpecTest

InvalidOperatorSignature tests a SignedSSVMessage with invalid signature

func InvalidQuorumThenValidQuorum added in v0.3.7

func InvalidQuorumThenValidQuorum() tests.SpecTest

InvalidQuorumThenValidQuorum tests a runner receiving an invalid message forming an invalid quorum, then receiving a valid message forming a valid quorum, terminating successfully

func InvalidThenQuorum added in v0.3.7

func InvalidThenQuorum() tests.SpecTest

InvalidThenQuorum tests a runner receiving an invalid message then a valid quorum, terminating successfully

func NoRunningDuty

func NoRunningDuty() tests.SpecTest

NoRunningDuty tests a valid SignedPartialSignatureMessage without a running duty

func PostFinish

func PostFinish() tests.SpecTest

PostFinish tests a valid SignedPartialSignatureMessage post finished runner

func PostQuorum

func PostQuorum() tests.SpecTest

PostQuorum tests a msg received post post-consensus quorum

func PreDecided

func PreDecided() tests.SpecTest

PreDecided tests a valid SignedPartialSignatureMessage sent before decided reached, should error

func Quorum

func Quorum() tests.SpecTest

Quorum tests a quorum of valid SignedPartialSignatureMessage

func Quorum10Operators

func Quorum10Operators() tests.SpecTest

Quorum10Operators tests a quorum of valid SignedPartialSignatureMessage 10 operators

func Quorum13Operators

func Quorum13Operators() tests.SpecTest

Quorum13Operators tests a quorum of valid SignedPartialSignatureMessage 13 operators

func Quorum7Operators

func Quorum7Operators() tests.SpecTest

Quorum7Operators tests a quorum of valid SignedPartialSignatureMessage 7 operators

func TooFewRoots

func TooFewRoots() tests.SpecTest

TooFewRoots tests a valid SignedPartialSignatureMessage with too few roots

func TooManyRoots

func TooManyRoots() tests.SpecTest

TooManyRoots tests a valid SignedPartialSignatureMessage with too many roots

func UnknownSigner

func UnknownSigner() tests.SpecTest

UnknownSigner tests an unknown signer

func UnorderedExpectedRoots

func UnorderedExpectedRoots() tests.SpecTest

UnorderedExpectedRoots tests a valid SignedPartialSignatureMessage with unordered roots

func ValidMessage

func ValidMessage() tests.SpecTest

ValidMessage tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages

func ValidMessage10Operators

func ValidMessage10Operators() tests.SpecTest

ValidMessage10Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages with 10 operators

func ValidMessage13Operators

func ValidMessage13Operators() tests.SpecTest

ValidMessage13Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages with 13 operators

func ValidMessage7Operators

func ValidMessage7Operators() tests.SpecTest

ValidMessage7Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages with 7 operators

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL