Skip to content

Enhance CLI manual exec to cycle through multiple failed messages #111

Description

@aelmanaa

Current behavior:

When a tx has multiple messages, the CLI shows a selection prompt. After executing one message, the CLI exits.

Requested behavior:

After executing a message (success or fail), return to the selection prompt instead of exiting. This allows users to cycle through multiple failed messages without re-running the command.

Use case:

A tx with 6 failed messages currently requires running ccip manual-exec 6 times. With this change, run once and cycle through all.

Proposed flow:

  1. Show message list
  2. User selects message
  3. Execute
  4. Show result (success/fail)
  5. Return to step 1
  6. Repeat until user selects “Exit.”
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions