Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miden VM Tracing #662

Closed
frisitano opened this issue Jan 30, 2023 · 3 comments
Closed

Miden VM Tracing #662

frisitano opened this issue Jan 30, 2023 · 3 comments

Comments

@frisitano
Copy link
Contributor

In some cases a client will need granular detail of the state of the VM as it progresses through transaction execution. For example, a blockchain indexer which wants to provide rich insights relating to the transactions execution or alternatively for a user that needs to do some debugging. The Miden VM should expose an interface where a client can subscribe to this granular information. In turn the Miden Node can then expose an RPC interface where clients can request for a trace to be produced for the execution of a transaction.

Resources:
Geth Docs - https://geth.ethereum.org/docs/developers/evm-tracing/built-in-tracers
EF Talk - https://www.youtube.com/watch?v=b8RdmGsilfU&ab_channel=EthereumFoundation
Implementation Example - https://github.com/rust-blockchain/evm/blob/master/src/tracing.rs

@bobbinth
Copy link
Contributor

I think we already have something like this exposed via execute_iter() function. Or were you thinking of something else?

@frisitano
Copy link
Contributor Author

Yes this is what I was looking for. I must have missed it.

@bobbinth
Copy link
Contributor

No worries! There are also thoughts in #580 on how this can be improved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants