diff --git a/internal/consensus/common_test.go b/internal/consensus/common_test.go index 538b5f819f..ec85c9f7df 100644 --- a/internal/consensus/common_test.go +++ b/internal/consensus/common_test.go @@ -295,9 +295,10 @@ func signAddVotes( voteType types.SignedMsgType, chainID string, blockID types.BlockID, - extEnabled bool, + _ bool, vss ...*validatorStub, ) { + extEnabled := false // disable vote extensions in Bearchain votes := signVotes(voteType, chainID, blockID, extEnabled, vss...) addVotes(to, votes...) } diff --git a/internal/consensus/reactor.go b/internal/consensus/reactor.go index a96026ffa5..dfa32f2da4 100644 --- a/internal/consensus/reactor.go +++ b/internal/consensus/reactor.go @@ -702,7 +702,7 @@ OUTER_LOOP: "height", prs.Height, "commit", commit) } else { - logger.Error("Commit should have been returned, instead unknown type %T.", c) + logger.Error("Commit should have been returned, instead unknown type.", "type", fmt.Sprintf("%T", c)) } } } diff --git a/internal/test/params.go b/internal/test/params.go index ed714f4c3f..485caa2629 100644 --- a/internal/test/params.go +++ b/internal/test/params.go @@ -8,8 +8,8 @@ import ( // for use in testing. func ConsensusParams() *types.ConsensusParams { c := types.DefaultConsensusParams() - // enable vote extensions - //c.Feature.VoteExtensionsEnableHeight = 1 + // disable vote extensions + c.Feature.VoteExtensionsEnableHeight = 0 // enabled PBTS c.Feature.PbtsEnableHeight = 1 return c