Documentation ¶
Index ¶
- func DuplicateMsg() *tests.MsgProcessingSpecTest
- func DuplicateMsgQuorum() *tests.MsgProcessingSpecTest
- func FutureRound() *tests.MsgProcessingSpecTest
- func HappyFlow() *tests.MsgProcessingSpecTest
- func ImparsableProposalData() *tests.MsgProcessingSpecTest
- func InvalidPrepareData() *tests.MsgProcessingSpecTest
- func MultiSigner() *tests.MsgProcessingSpecTest
- func NoPreviousProposal() *tests.MsgProcessingSpecTest
- func OldRound() *tests.MsgProcessingSpecTest
- func PostDecided() *tests.MsgProcessingSpecTest
- func UnknownSigner() *tests.MsgProcessingSpecTest
- func WrongData() *tests.MsgProcessingSpecTest
- func WrongHeight() *tests.MsgProcessingSpecTest
- func WrongSignature() *tests.MsgProcessingSpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DuplicateMsg ¶
func DuplicateMsg() *tests.MsgProcessingSpecTest
DuplicateMsg tests a duplicate prepare msg processing
func DuplicateMsgQuorum ¶
func DuplicateMsgQuorum() *tests.MsgProcessingSpecTest
DuplicateMsgQuorum tests a duplicate prepare msg that is added to container but shouldn't result in a quorum
func FutureRound ¶
func FutureRound() *tests.MsgProcessingSpecTest
FutureRound tests prepare for signedProposal.Message.Round > state.Round
func HappyFlow ¶
func HappyFlow() *tests.MsgProcessingSpecTest
HappyFlow tests a quorum of prepare msgs
func ImparsableProposalData ¶
func ImparsableProposalData() *tests.MsgProcessingSpecTest
ImparsableProposalData tests a prepare msg received with imparsable data
func InvalidPrepareData ¶
func InvalidPrepareData() *tests.MsgProcessingSpecTest
InvalidPrepareData tests prepare data for which prepareData.validate() != nil
func MultiSigner ¶
func MultiSigner() *tests.MsgProcessingSpecTest
MultiSigner tests prepare msg with > 1 signers
func NoPreviousProposal ¶
func NoPreviousProposal() *tests.MsgProcessingSpecTest
NoPreviousProposal tests prepare msg without receiving a previous proposal state.ProposalAcceptedForCurrentRound == nil
func OldRound ¶
func OldRound() *tests.MsgProcessingSpecTest
OldRound tests prepare for signedProposal.Message.Round < state.Round
func PostDecided ¶
func PostDecided() *tests.MsgProcessingSpecTest
PostDecided tests processing prepare msg after instance decided
func UnknownSigner ¶
func UnknownSigner() *tests.MsgProcessingSpecTest
UnknownSigner tests a single prepare received with an unknown signer
func WrongData ¶
func WrongData() *tests.MsgProcessingSpecTest
WrongData tests prepare msg with data != acceptedProposalData.Data
func WrongHeight ¶
func WrongHeight() *tests.MsgProcessingSpecTest
WrongHeight tests prepare msg received with the wrong height
func WrongSignature ¶
func WrongSignature() *tests.MsgProcessingSpecTest
WrongSignature tests a single prepare received with a wrong signature
Types ¶
This section is empty.