Skip to content

Commit

Permalink
Add more data to debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Santev committed Dec 3, 2024
1 parent 958e874 commit f6c522c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions consensus/polybft/consensus_runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ func (c *consensusRuntime) FSM() error {
"epoch", epoch.Number,
"endOfEpoch", isEndOfEpoch,
"endOfSprint", isEndOfSprint,
"pendingBlockNumber", pendingBlockNumber,
)

c.lock.Lock()
Expand Down
3 changes: 2 additions & 1 deletion consensus/polybft/validator/validator_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ func (vs validatorSet) HasQuorum(blockNumber uint64, signers map[types.Address]s
"signers", len(signers),
"signers voting power", aggregateVotingPower,
"quorum size", quorumSize,
"hasQuorum", hasQuorum)
"hasQuorum", hasQuorum,
"block number", blockNumber)

return hasQuorum
}
Expand Down

0 comments on commit f6c522c

Please sign in to comment.