Skip to content

Commit

Permalink
Add log for elided tx.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeskov committed Aug 21, 2024
1 parent 9392370 commit 8771bf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/state/appender.go
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ func (a *txAppender) appendTxs(
if !isBlockWithChallenge {
return proto.BlockSnapshot{}, crypto.Digest{}, errAppendTx
}
zap.S().Debugf("Elided tx detected (ID=%q): %v", base58.Encode(txID), errAppendTx)
txSnap = txSnapshot{
regular: []proto.AtomicSnapshot{
&proto.TransactionStatusSnapshot{Status: proto.TransactionElided},
Expand Down

0 comments on commit 8771bf4

Please sign in to comment.