@@ -195,6 +195,7 @@ impl SortitionsView {
195
195
{
196
196
info ! (
197
197
"Current miner timed out, marking as invalid." ;
198
+ "block_height" => block. header. chain_length,
198
199
"current_sortition_consensus_hash" => ?self . cur_sortition. consensus_hash,
199
200
) ;
200
201
self . cur_sortition . miner_status = SortitionMinerStatus :: InvalidatedBeforeFirstBlock ;
@@ -203,6 +204,7 @@ impl SortitionsView {
203
204
if last_sortition. is_timed_out ( self . config . block_proposal_timeout , signer_db) ? {
204
205
info ! (
205
206
"Last miner timed out, marking as invalid." ;
207
+ "block_height" => block. header. chain_length,
206
208
"last_sortition_consensus_hash" => ?last_sortition. consensus_hash,
207
209
) ;
208
210
last_sortition. miner_status = SortitionMinerStatus :: InvalidatedBeforeFirstBlock ;
@@ -365,6 +367,7 @@ impl SortitionsView {
365
367
"sortition_state.consensus_hash" => %sortition_state. consensus_hash,
366
368
"sortition_state.prior_sortition" => %sortition_state. prior_sortition,
367
369
"sortition_state.parent_tenure_id" => %sortition_state. parent_tenure_id,
370
+ "block_height" => block. header. chain_length,
368
371
) ;
369
372
370
373
let tenures_reorged = client. get_tenure_forking_info (
@@ -424,6 +427,7 @@ impl SortitionsView {
424
427
"Miner is not building off of most recent tenure. A tenure they reorg has already mined blocks, but the block was poorly timed, allowing the reorg." ;
425
428
"proposed_block_consensus_hash" => %block. header. consensus_hash,
426
429
"proposed_block_signer_sighash" => %block. header. signer_signature_hash( ) ,
430
+ "proposed_block_height" => block. header. chain_length,
427
431
"parent_tenure" => %sortition_state. parent_tenure_id,
428
432
"last_sortition" => %sortition_state. prior_sortition,
429
433
"violating_tenure_id" => %tenure. consensus_hash,
@@ -596,6 +600,7 @@ impl SortitionsView {
596
600
"Have no accepted blocks in the tenure, assuming block confirmation is correct" ;
597
601
"proposed_block_consensus_hash" => %block. header. consensus_hash,
598
602
"proposed_block_signer_sighash" => %block. header. signer_signature_hash( ) ,
603
+ "proposed_block_height" => block. header. chain_length,
599
604
) ;
600
605
return Ok ( true ) ;
601
606
} ;
0 commit comments