From 0493cb95d05d6addafe7f5f241a5834cdbe4fcaf Mon Sep 17 00:00:00 2001 From: Thant Sin Toe Date: Tue, 13 Aug 2024 18:52:47 +0700 Subject: [PATCH] add acceptedTx in the debugQueueInfo and remove unnecessary POQLS related info --- src/state-manager/TransactionQueue.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/state-manager/TransactionQueue.ts b/src/state-manager/TransactionQueue.ts index 2660bb55b..b64b0109e 100644 --- a/src/state-manager/TransactionQueue.ts +++ b/src/state-manager/TransactionQueue.ts @@ -8482,6 +8482,7 @@ getDebugStuckTxs(opts): unknown { getDebugQueueInfo(queueEntry: QueueEntry): any { return { txId: queueEntry.acceptedTx.txId, + tx: queueEntry.acceptedTx, logID: queueEntry.logID, nodeId: Self.id, state: queueEntry.state, @@ -8500,18 +8501,18 @@ getDebugStuckTxs(opts): unknown { dataSharedTimestamp: queueEntry.dataSharedTimestamp, firstVoteTimestamp: queueEntry.firstVoteReceivedTimestamp, lastVoteTimestamp: queueEntry.lastVoteReceivedTimestamp, - firstConfirmationsTimestamp: queueEntry.firstConfirmOrChallengeTimestamp, - robustBestConfirmation: queueEntry.receivedBestConfirmation, - robustBestVote: queueEntry.receivedBestVote, - robustBestChallenge: queueEntry.receivedBestChallenge, - completedRobustVote: queueEntry.robustQueryVoteCompleted, - completedRobustChallenge: queueEntry.robustQueryConfirmOrChallengeCompleted, + // firstConfirmationsTimestamp: queueEntry.firstConfirmOrChallengeTimestamp, + // robustBestConfirmation: queueEntry.receivedBestConfirmation, + // robustBestVote: queueEntry.receivedBestVote, + // robustBestChallenge: queueEntry.receivedBestChallenge, + // completedRobustVote: queueEntry.robustQueryVoteCompleted, + // completedRobustChallenge: queueEntry.robustQueryConfirmOrChallengeCompleted, txDebug: queueEntry.txDebug, executionDebug: queueEntry.executionDebug, waitForReceiptOnly: queueEntry.waitForReceiptOnly, ourVote: queueEntry.ourVote || null, receipt2: this.stateManager.getReceipt2(queueEntry) || null, - uniqueChallenges: queueEntry.uniqueChallengesCount, + // uniqueChallenges: queueEntry.uniqueChallengesCount, collectedVoteCount: queueEntry.collectedVoteHashes.length, simpleDebugStr: this.app.getSimpleTxDebugValue ? this.app.getSimpleTxDebugValue(queueEntry.acceptedTx?.data) : "", }