From f8c338e0c0ba81250a9b0d9de2c83a791ad4edd7 Mon Sep 17 00:00:00 2001 From: Solovyov1796 Date: Tue, 4 Mar 2025 09:43:36 +0800 Subject: [PATCH] add counter size output --- app/abci_utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/abci_utils.go b/app/abci_utils.go index 9f75dae0..a164a43e 100644 --- a/app/abci_utils.go +++ b/app/abci_utils.go @@ -231,6 +231,7 @@ func (h *DefaultProposalHandler) PrepareProposalHandler() sdk.PrepareProposalHan }) ctx.Logger().Info("uncommitted txs", "count", h.mempool.CountTx()) + ctx.Logger().Info("uncommitted address", "count", len(counter)) for i := 0; i < 10 && i < len(kvSlice); i++ { ctx.Logger().Info("uncommitted txs", "top", i+1, "address", kvSlice[i].k, "count", kvSlice[i].v)