-
Notifications
You must be signed in to change notification settings - Fork 13
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
Implement Geth's tracing APIs #12
Comments
Truffle's debugger relies on |
Thanks, @DiscRiskandBisque, that's good info and definitely noted for the roadmap 👍 |
One additional note! The data for the trace can grow unbounded in size (greater than the memory allocation for most JavaScript VMs--not sure if this applies to Rust), so we'll want to provide a way to stream the trace. To be serialized across a network JSON is converted into a string, since the string has no defined length up-front there's no way to properly allocate the memory. Existing EVM implementations don't support this. This is why Truffle can't debug the most complex transactions. For example a flash loan on AAVE would present a problem because of the number of contracts it touches. We could actually have the first implementation where this is possible! |
(I would expect this to be totally trivial given this other work, but I hope you don't forget debug_traceBlockByHash ;P.) |
Any update on this? @OnlyOneJMJQ @artob |
Yes, should be live in 1-2 weeks |
Any update on this? |
@nujabes403 We are close to delivering it! We are doing it as part of a major infrastructure update, that's why it is taking longer than expected. |
@mfornet Great, could it be implemented on aurorascan as well? |
@nujabes403 Our RPC will expose this method; and most likely both major explorer (aurorascan and explorer.aurora) will use it to provide more information about transactions. With regard to if aurorascan itself will provide an RPC with this method; I'm not sure. |
When it will be released? I am expecting this major update |
Hey, Any updates on this feature? |
We have requests from partners to implement Geth's nonstandard RPC methods
debug_traceBlockByNumber
anddebug_traceTransaction
with thetracer
option (JavaScript-based tracing).References:
The text was updated successfully, but these errors were encountered: