add counter size output

This commit is contained in:
Solovyov1796 2025-03-04 09:43:36 +08:00
parent 14eae2e259
commit f8c338e0c0

View File

@ -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)