Skip to content

Commit

Permalink
chore: removed logging of events due to log bloat (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsitrin authored Sep 28, 2023
1 parent 7408a95 commit 17e8622
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion block/produce.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (m *Manager) ProduceBlockLoop(ctx context.Context) {
case <-ticker.C:
err := m.produceBlock(ctx, produceEmptyBlock)
if err == types.ErrSkippedEmptyBlock {
m.logger.Debug("Skipped empty block")
// m.logger.Debug("Skipped empty block")
continue
}
if err != nil {
Expand Down
6 changes: 4 additions & 2 deletions block/testutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ func getManager(conf config.BlockManagerConfig, settlementlc settlement.LayerI,

logger := log.TestingLogger()
pubsubServer := pubsub.NewServer()
pubsubServer.Start()

err := pubsubServer.Start()
if err != nil {
return nil, err
}
// Init the settlement layer mock
if settlementlc == nil {
settlementlc = slregistry.GetClient(slregistry.Mock)
Expand Down
3 changes: 2 additions & 1 deletion rpc/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package client
import (
"context"
"errors"

"github.com/dymensionxyz/dymint/version"

"fmt"
Expand Down Expand Up @@ -88,7 +89,7 @@ func (c *Client) ABCIQueryWithOptions(ctx context.Context, path string, data tmb
if err != nil {
return nil, err
}
c.Logger.Debug("ABCIQuery", "path", path, "data", data, "result", resQuery)
c.Logger.Debug("ABCIQuery", "path", path, "height", resQuery.Height)
return &ctypes.ResultABCIQuery{Response: *resQuery}, nil
}

Expand Down

0 comments on commit 17e8622

Please sign in to comment.