Closed hewison-chris closed 2 years ago
That happens on blocks with re-enrollments.
After fixing I realize that the Active
was showing the count of validators still enrolled next block excluding those enrolled in the block.
2022-04-20 06:49:46,36 Info [agora.consensus.state.Ledger.Ledger.addValidatedBlock] - Transactions: 1 - Enrollments: 6
2022-04-20 06:49:46,37 Info [agora.consensus.state.Ledger.Ledger.addValidatedBlock] - Validators: Active: 27 - Signing: 111111111111111111111111111111111 - Slashed: 0
I still think it is better to log the count of active validators in the block being added. Any other opinions?
As can be seen here taken from the log output the Active count is 26 yet the number of validators that signed is 33 (count of the bits set).