diff --git a/block/produce.go b/block/produce.go index d07b0fde6..dc567f2b0 100644 --- a/block/produce.go +++ b/block/produce.go @@ -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 { diff --git a/block/testutil.go b/block/testutil.go index 992ab75c8..b493e7dd9 100644 --- a/block/testutil.go +++ b/block/testutil.go @@ -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) diff --git a/rpc/client/client.go b/rpc/client/client.go index d3d2fe93a..ac8da2a7b 100644 --- a/rpc/client/client.go +++ b/rpc/client/client.go @@ -3,6 +3,7 @@ package client import ( "context" "errors" + "github.com/dymensionxyz/dymint/version" "fmt" @@ -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 }