From c31fb563c27826212b4e31e31a6de25f86aec111 Mon Sep 17 00:00:00 2001 From: Andre Matos Date: Wed, 6 May 2026 14:14:53 -0400 Subject: [PATCH] show: fix api codepath with receipt txHash with >1 execs when receipt has multiple execs (e.g. batched execs) and we're `show`ing from API (i.e. messageId provided as entrypoint), filter only execs for current request --- ccip-cli/src/commands/show.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccip-cli/src/commands/show.ts b/ccip-cli/src/commands/show.ts index 1788c2c4..31bbbcd6 100644 --- a/ccip-cli/src/commands/show.ts +++ b/ccip-cli/src/commands/show.ts @@ -271,7 +271,7 @@ export async function showRequests(ctx: Ctx, argv: Parameters[0] const res = [] for (const log of logs) { const receipt = (dest.constructor as ChainStatic).decodeReceipt(log) - if (!receipt) continue + if (receipt?.messageId !== request.message.messageId) continue res.push({ receipt, log, timestamp: request.metadata!.receiptTimestamp! }) } cancelWaitFinalized?.()