Skip to content

Commit 50f8f67

Browse files
authored
Reverted TXM log level (#1315)
1 parent 02018e6 commit 50f8f67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/solana/txm/txm.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,9 @@ func (txm *Txm) simulate() {
670670
// Certain errors can be considered not to be failures during simulation to allow the process to continue
671671
if txState, errType := txm.ProcessError(ctx, msg.signatures[0], res.Err, true, msg.id); errType != NoFailure {
672672
if len(res.Logs) > 0 {
673-
txm.lggr.Errorw("simulated transaction error logs", "logs", res.Logs)
673+
// Although this surfaces revert errors, keep log level as Debug. Data Feeds expects stale report reverts often.
674+
// Increasing the level to Error would generate too much noise.
675+
txm.lggr.Debugw("simulated transaction error logs", "logs", res.Logs)
674676
}
675677
id, err := txm.txs.OnError(msg.signatures[0], txm.cfg.TxRetentionTimeout(), txState, errType)
676678
if err != nil {

0 commit comments

Comments
 (0)