diff --git a/src/connection-manager/agreement.ts b/src/connection-manager/agreement.ts index d4c2f65c..65910afc 100644 --- a/src/connection-manager/agreement.ts +++ b/src/connection-manager/agreement.ts @@ -153,6 +153,8 @@ class Agreement { for (const chain of agreementChains) { const ledger_hashes = chain.ledgers + log.info(`Debug: ${chain.id}:${Array.from(chain.validators).join(',')}`) + for (const signing_key of chain.validators) { promises.push( this.calculateValidatorAgreement( diff --git a/src/connection-manager/chains.ts b/src/connection-manager/chains.ts index 8bfc0e0e..73b40211 100644 --- a/src/connection-manager/chains.ts +++ b/src/connection-manager/chains.ts @@ -1,3 +1,5 @@ +/* eslint-disable max-lines-per-function -- Disable for this for debug purposes. */ +/* eslint-disable max-statements -- Disable for this for debug purposes. */ import { Knex } from 'knex' import { query } from '../shared/database' @@ -216,6 +218,11 @@ class Chains { .shift() if (chainAtThisIndex !== undefined) { + log.info( + `DebugSkipped1:${`${next}:${ledger.ledger_index}`}:${Array.from( + validators, + ).join(',')}`, + ) return } @@ -233,6 +240,12 @@ class Chains { if (skipped > 1 && skipped < 20) { chainWithThisValidator.incomplete = true addLedgerToChain(ledger, chainWithThisValidator) + } else { + log.info( + `DebugSkipped2:${`${next}:${ledger.ledger_index}`}:${Array.from( + validators, + ).join(',')}`, + ) } }