Skip to content

Identify the Failing ContractId using DiagnosticEventWalker #268

Description

@codeZe-us

In complex transactions with multiple cross-contract calls, it's difficult to know which specific contract caused a failure. Traversing diagnostic events allows us to pinpoint the culprit.

  • Implement a DiagnosticEventWalker to traverse diagnostic events emitted during a failed transaction.
  • Extract and surface the ContractId that triggered the final failure event.

Expectation: Prism highlights the specific failing contract ID in the UI, saving users from manually inspecting the diagnostic event logs.

Contributor telegram group: https://t.me/+sII7WPhll2liMGNk

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions