diff --git a/CHANGELOG.md b/CHANGELOG.md index 871ee4de66..01e71e78db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,12 @@ See [RELEASE](./RELEASE.md) for workflow instructions. ## Release v1.6.8 ### Improvements -* [#6269](https://github.com/spacemeshos/go-spacemesh/pull/6269) Use subquery instead of left join to speed up + +* [#6269](https://github.com/spacemeshos/go-spacemesh/pull/6269) Use sub query instead of left join to speed up. transaction list query +* [#6278](https://github.com/spacemeshos/go-spacemesh/pull/6278) Reduce logging levels of some messages to reduce noise. + ## Release v1.6.7 ### Improvements diff --git a/txs/handler.go b/txs/handler.go index 223f05b0bb..6646bd5c66 100644 --- a/txs/handler.go +++ b/txs/handler.go @@ -67,7 +67,7 @@ func (th *TxHandler) HandleGossipTransaction(ctx context.Context, peer p2p.Peer, updateMetrics(err, gossipTxCount) if err != nil { if !errors.Is(err, errDuplicateTX) { - th.logger.With(log.ZContext(ctx)).Warn("failed to handle tx", zap.Error(err)) + th.logger.With(log.ZContext(ctx)).Debug("failed to handle tx", zap.Error(err)) } return err } @@ -122,7 +122,7 @@ func (th *TxHandler) verifyAndCache(ctx context.Context, expHash types.Hash32, m return fmt.Errorf("%w: %s", errVerify, raw.ID) } if err := th.state.AddToCache(ctx, tx, time.Now()); err != nil { - th.logger.With(log.ZContext(ctx)).Warn("failed to add tx to conservative cache", + th.logger.With(log.ZContext(ctx)).Debug("failed to add tx to conservative cache", zap.Stringer("tx_id", raw.ID), zap.Error(err), )