Skip to content

Commit

Permalink
Merge branch 'melekes/bls-signature-aggregation' of github.com:meleke…
Browse files Browse the repository at this point in the history
…s/bera-cometbft into melekes/bls-signature-aggregation
  • Loading branch information
jmalicevic committed Jan 12, 2025
2 parents 4cead62 + 1217b48 commit fe2b097
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion internal/consensus/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/consensus/reactor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions internal/test/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe2b097

Please sign in to comment.