Skip to content

Commit 02018e6

Browse files
authored
bump txm simulations from debug to error (#1314)
1 parent 901f46f commit 02018e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/solana/txm/txm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ 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.Debugw("simulated transaction error logs", "logs", res.Logs)
673+
txm.lggr.Errorw("simulated transaction error logs", "logs", res.Logs)
674674
}
675675
id, err := txm.txs.OnError(msg.signatures[0], txm.cfg.TxRetentionTimeout(), txState, errType)
676676
if err != nil {
@@ -987,7 +987,7 @@ func (txm *Txm) EstimateComputeUnitLimit(ctx context.Context, tx *solanaGo.Trans
987987
// Certain errors can be considered not to be failures during simulation to allow the process to continue
988988
if txState, errType := txm.ProcessError(ctx, sig, res.Err, true, id); errType != NoFailure {
989989
if len(res.Logs) > 0 {
990-
txm.lggr.Debugw("simulated transaction error logs", "logs", res.Logs)
990+
txm.lggr.Errorw("simulated transaction error logs", "logs", res.Logs)
991991
}
992992
err := txm.txs.OnPrebroadcastError(id, txm.cfg.TxRetentionTimeout(), txState, errType)
993993
if err != nil {

0 commit comments

Comments
 (0)