Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Jan 24, 2024
1 parent 06ed0a3 commit bad17cf
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions go/enclave/nodetype/sequencer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit bad17cf

Please sign in to comment.