Skip to content

Commit 5eb928d

Browse files
chore: add debug log for reduntant relay (#3616)
* chore: add debug log for reduntant relay * improve debug log --------- Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
1 parent fd75790 commit 5eb928d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/core/keeper/msg_server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ func (k Keeper) RecvPacket(goCtx context.Context, msg *channeltypes.MsgRecvPacke
442442
writeFn()
443443
case channeltypes.ErrNoOpMsg:
444444
// no-ops do not need event emission as they will be ignored
445+
ctx.Logger().Debug("no-op on redundant relay", "port-id", msg.Packet.SourcePort, "channel-id", msg.Packet.SourceChannel)
445446
return &channeltypes.MsgRecvPacketResponse{Result: channeltypes.NOOP}, nil
446447
default:
447448
ctx.Logger().Error("receive packet failed", "port-id", msg.Packet.SourcePort, "channel-id", msg.Packet.SourceChannel, "error", errorsmod.Wrap(err, "receive packet verification failed"))

0 commit comments

Comments
 (0)