diff --git a/consensus/state.go b/consensus/state.go index 2fa3cd2c5..4670b1468 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -1146,7 +1146,7 @@ func (cs *ConsensusState) finalizeCommit(height int) { PanicConsensus(Fmt("+2/3 committed an invalid block: %v", err)) } - log.Notice("Finalizing commit of block", "height", block.Height, "hash", block.Hash()) + log.Notice(Fmt("Finalizing commit of block with %d txs", block.NumTxs), "height", block.Height, "hash", block.Hash()) log.Info(Fmt("%v", block)) // Fire off event for new block. diff --git a/state/execution.go b/state/execution.go index 9bde0b876..cdfe2eceb 100644 --- a/state/execution.go +++ b/state/execution.go @@ -70,6 +70,7 @@ func (s *State) execBlockOnProxyApp(evsw *events.EventSwitch, proxyAppConn proxy if res.Code == tmsp.RetCodeOK { validTxs += 1 } else { + log.Debug("Invalid tx", "code", res.Code, "log", res.Log) invalidTxs += 1 } }