commit

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentRound

func CurrentRound() *tests.MsgProcessingSpecTest

CurrentRound tests a commit msg with current round, should process

func DuplicateMsg

func DuplicateMsg() *tests.MsgProcessingSpecTest

DuplicateMsg tests a duplicate commit msg processing

func DuplicateSigners

func DuplicateSigners() *tests.MsgProcessingSpecTest

DuplicateSigners tests a multi signer commit msg with duplicate signers

func FutureRound

func FutureRound() *tests.MsgProcessingSpecTest

FutureRound tests a commit msg received with a future round, should error

func HappyFlow

func HappyFlow() *tests.MsgProcessingSpecTest

HappyFlow tests a quorum of commits received after prepare quorum

func ImparsableCommitData

func ImparsableCommitData() *tests.MsgProcessingSpecTest

ImparsableCommitData tests a commit msg received with the wrong commit data

func InvalidCommitData

func InvalidCommitData() *tests.MsgProcessingSpecTest

InvalidCommitData tests commit data for which commitData.validate() != nil

func InvalidValCheck

func InvalidValCheck() *tests.MsgProcessingSpecTest

InvalidValCheck tests a quorum of commits received with an invalid value check

func MultiSignerNoOverlap

func MultiSignerNoOverlap() *tests.MsgProcessingSpecTest

MultiSignerNoOverlap tests a multi signer commit msg which doesn't overlap previous valid commits

func MultiSignerWithOverlap

func MultiSignerWithOverlap() *tests.MsgProcessingSpecTest

MultiSignerWithOverlap tests a multi signer commit msg which does overlap previous valid commit signers

func NoPrepareQuorum

func NoPrepareQuorum() *tests.MsgProcessingSpecTest

NoPrepareQuorum tests a commit msg received without a previous prepare quorum

func NoPrevAcceptedProposal

func NoPrevAcceptedProposal() *tests.MsgProcessingSpecTest

NoPrevAcceptedProposal tests a commit msg received without a previous accepted proposal

func PastRound

func PastRound() *tests.MsgProcessingSpecTest

PastRound tests a commit msg with past round, should process but not decide

func PostDecided

func PostDecided() *tests.MsgProcessingSpecTest

PostDecided tests processing a commit msg after instance decided

func UnknownSigner

func UnknownSigner() *tests.MsgProcessingSpecTest

UnknownSigner tests a single commit received with an unknown signer

func WrongData1

func WrongData1() *tests.MsgProcessingSpecTest

WrongData1 tests commit msg with data != acceptedProposalData.Data

func WrongData2

func WrongData2() *tests.MsgProcessingSpecTest

WrongData2 tests a single commit received with a different commit data than the prepared data

func WrongHeight

func WrongHeight() *tests.MsgProcessingSpecTest

WrongHeight tests a commit msg received with the wrong height

func WrongSignature

func WrongSignature() *tests.MsgProcessingSpecTest

WrongSignature tests a single commit received with a wrong signature

Types

This section is empty.

Jump to

Keyboard shortcuts

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