From bad17cfa9c785400b5ad53cdc878aa34a7ac8e38 Mon Sep 17 00:00:00 2001 From: Tudor Malene Date: Wed, 24 Jan 2024 22:06:38 +0000 Subject: [PATCH] remove logging --- go/enclave/nodetype/sequencer.go | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/go/enclave/nodetype/sequencer.go b/go/enclave/nodetype/sequencer.go index c2f1734893..25b3d71a80 100644 --- a/go/enclave/nodetype/sequencer.go +++ b/go/enclave/nodetype/sequencer.go @@ -399,19 +399,20 @@ func (s *sequencer) duplicateBatches(l1Head *types.Block, nonCanonicalL1Path []c } func (s *sequencer) SubmitTransaction(transaction *common.L2Tx) error { - s.logger.Debug("Submit tx", - log.TxKey, transaction.Hash(), - "type", transaction.Type(), - "payload", gethcommon.Bytes2Hex(transaction.Data()), - "time", transaction.Time(), - "to", transaction.To().Hex(), - "value", transaction.Value().Uint64(), - "size", transaction.Size(), - "nonce", transaction.Nonce(), - "gas", transaction.Gas(), - "gasPrice", transaction.GasPrice().Uint64(), - "chainId", transaction.ChainId().Uint64(), - ) + //if transaction.Type() + //s.logger.Debug("Submit tx", + // log.TxKey, transaction.Hash(), + // "type", transaction.Type(), + // "payload", gethcommon.Bytes2Hex(transaction.Data()), + // "time", transaction.Time(), + // "to", transaction.To().Hex(), + // "value", transaction.Value().Uint64(), + // "size", transaction.Size(), + // "nonce", transaction.Nonce(), + // "gas", transaction.Gas(), + // "gasPrice", transaction.GasPrice().Uint64(), + // "chainId", transaction.ChainId().Uint64(), + //) return s.mempool.Add(transaction) }