Skip to content

Create visual rendering of diagnostic events #1317

@janewang

Description

@janewang

Create section based on diagnostic events.

The Vision
The eventual goal of this section is to show the execution trace by stepping through the WASM. There is a possibility to convert WASM into WASM Text (WAT), and be able to show on how the code execution path. Eventually with a sourcemap, we can connect the WAT to the actual Rust source code. However, this is currently missing and we do not have sourcemap of Rust to WASM.

What is possible Today
What is possible today is to reconstruct the functional calls and events into an execution tree. Likely we are not able to show internal contract calls, but it is possible to show external contract calls, and associated events. In some ways, Stellar Expert seeks to do this: example. But it appears that the contract invocation and related events that are raised are out of order.

Image

Metadata

Metadata

Labels

Type

No type

Projects

Status

Needs Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions