MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / ensurePrecommit

Function ensurePrecommit

consensus/common_test.go:651–653  ·  view source on GitHub ↗
(voteCh <-chan tmpubsub.Message, height int64, round int32)

Source from the content-addressed store, hash-verified

649}
650
651func ensurePrecommit(voteCh <-chan tmpubsub.Message, height int64, round int32) {
652 ensureVote(voteCh, height, round, tmproto.PrecommitType)
653}
654
655func ensurePrevote(voteCh <-chan tmpubsub.Message, height int64, round int32) {
656 ensureVote(voteCh, height, round, tmproto.PrevoteType)

Callers 15

TestStateBadProposalFunction · 0.85
TestStateOversizedBlockFunction · 0.85
TestStateFullRound1Function · 0.85
TestStateFullRoundNilFunction · 0.85
TestStateFullRound2Function · 0.85
TestStateLockNoPOLFunction · 0.85
TestStateLockPOLRelockFunction · 0.85
TestStateLockPOLUnlockFunction · 0.85
TestStateLockPOLSafety1Function · 0.85
TestStateLockPOLSafety2Function · 0.85
TestProposeValidBlockFunction · 0.85

Calls 1

ensureVoteFunction · 0.85

Tested by

no test coverage detected