-
Notifications
You must be signed in to change notification settings - Fork 493
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
Add support for the Debug/Trace API #703
Comments
If it seems like a good idea to have the Moonbeam code ported to Frontier's repo, I will start working on it. |
@crystalin in the past the That being said, any project can currently add Moonbeam evm-tracing modules as a dependency if they want to. |
@a-moreira Any update about this? |
hey @AsceticBear, I'm working on it, using this moonbeam-foundation/moonbeam#196 as reference. Both Substrate and Moonbeam have changed a lot since the PR, though, and I haven't been able to make everything work on Frontier yet. |
@a-moreira Why not use the latest version of frontier and moonbeam?
Nice |
hey people @AsceticBear @crystalin @tgmichel I opened a PR here #768 |
I am only getting two build errors, and they are exactly the same as reported here by another user: #737 |
I think a status update on this issue and elaboration on why it's blocked or not planned in the near future will be helpful for the community. Maybe someone will unblock it :) (tbh, I can volunteer to work on this if I can get a deeper understanding) Let me try to summarize what I gathered from my own research and also the discussion in the related pr #768. Problems
There are 2 existing implementations of
MoonbeamFrom what I've gathered, and also stated in the PR's discussion: moonbeam requires an extra node instance for tracing, and exposes a lot of tracing functionality via
AcalaCouldn't find any discussion about this online, but inspected the source-code myself. To me, it seems like acala is enabling
But I honestly don't know if their regular transactions are Why Moonbeam Approach did not work for FrontierFound this in the closed PR:
These problems are still not 100% clear to me, and most probably to some others in the community who might want to help. So, further elaboration on them may be helpful. Using Acala's Approach?The PR #768 was following the Moonbeam's approach. Does it make sense to use Acala's approach and implement |
Motivation
The debug API is necessary for getting information about the so-called "internal transactions", which are very important for smart contract developers. Currently, Frontier does not support this API, so it's not possible to have a information about internal transactions in a Frontier-based chain.
Looks like Moonbeam team have implemented these APIs on their client, and it is working (check these internal transactions)
Suggested Solution
Try to port Moonbeam's RPC code to Frontier
Additional Information
check #267 for previous related issue
The text was updated successfully, but these errors were encountered: