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
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.
DiagnosticEventWalkerto traverse diagnostic events emitted during a failed transaction.ContractIdthat 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