Skip to content

Find the Root Cause Error by Locating the Deepest Event in a Nested Call #245

@codeZe-us

Description

@codeZe-us

In nested contract calls, the most useful error is usually the deepest one, the root cause, not the surface re-throw. This task finds that deepest error from the event list.

Track event depth as the walker processes the diagnostic event stream
Return the event at the maximum depth that carries an error payload
Expectations: Prism surfaces the innermost error in a nested call chain rather than the outermost one.

Join the 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