Skip to content

Notify User of Partial Failures via Validator Action Logs #1

Description

@guptaharsh13

Currently, batch transactions are marked as successful even if one or more validator actions within the batch fail (e.g., due to invalid input). This can lead to confusion for users who receive a success confirmation but experience partial failures in expected outcomes.

Enhancement Proposal:

  • After a batch transaction is submitted, parse the transaction receipt logs.
  • Identify any failed validator actions based on event logs.
  • If any failures are detected:
    • Log the specific actions that failed and the reasons (where available).
    • Surface a message to the user indicating that while the transaction was successful overall, some validator actions did not complete as expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions