diff --git a/.github/workflows/indexer-build-and-push-testnet.yml b/.github/workflows/indexer-build-and-push-testnet.yml index 3cee1bf285..ccf3ea10c3 100644 --- a/.github/workflows/indexer-build-and-push-testnet.yml +++ b/.github/workflows/indexer-build-and-push-testnet.yml @@ -3,6 +3,7 @@ name: Indexer Build & Push Images to AWS ECR for Testnet Branch on: # yamllint disable-line rule:truthy push: branches: + - 'vincentc/test-in-testnet' - main - 'release/indexer/v[0-9]+.[0-9]+.x' # e.g. release/indexer/v0.1.x - 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x diff --git a/indexer/services/comlink/src/controllers/api/v4/vault-controller.ts b/indexer/services/comlink/src/controllers/api/v4/vault-controller.ts index a249b50b23..0295733e25 100644 --- a/indexer/services/comlink/src/controllers/api/v4/vault-controller.ts +++ b/indexer/services/comlink/src/controllers/api/v4/vault-controller.ts @@ -702,6 +702,13 @@ function aggregateVaultPnlTicks( DateTime.fromISO(aggregatedTick.pnlTick.createdAt), (a: DateTime, b: DateTime) => { return a.diff(b).milliseconds; }, ); + logger.info({ + at: 'VaultController#aggregateVaultPnlTicks', + message: 'Comparing aggregated pnl tick to expected ticks', + vaultCreationTimes, + numVaultsCreated, + aggregatedTick, + }); // Number of ticks should be greater than number of vaults created before it as there should be // a tick for the main vault subaccount. return aggregatedTick.numTicks >= numVaultsCreated;