-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support the debug_traceCall
API
#5778
Comments
That's good advice. |
Is the call actually executed? And can you provide a return sample? |
The call is simulation executed, similar to
The result is tedious, the API should support custom trace by javascript to filter the required results. |
Thanks,it 's really tedious. |
As an Ethereum developer. the debug_traceCall API is a highly useful debugging tool in Ethereum development. It allows developers to simulate and observe the execution process of smart contracts without altering the blockchain state.
But from an implementation perspective, implementing debug_traceCall API in Java-TRON requires considering the following technical aspects:
|
The account abstract runs
|
Is there any progress on this? |
As far as I know, no progress yet. |
Background
debug_traceCall is a method in the EVM that allows developers and users to trace the execution of a particular transaction or contract function call. This functionality is primarily used for debugging purposes, to understand how smart contracts are behaving during execution or to diagnose issues with transactions.
The EVM then executes the transaction or call in a special mode where it records detailed information about each step of the execution process. This information typically includes details such as:
The account abstract ERC4337 specification need to run
debug_traceCall
to enforce the validation rules on opcode and storage access, as well as to verify the entire batch transaction, and use the consumed gas for the actual transaction execution.But
debug_traceCall
is not supported on Tron currently, so it may influence the implement of account abstract infrastracture on TRON.Rationale
Smart contract wallets containing arbitrary verification logic instead of EOAs will be more and more popular in Web3, it is necessary to support account abstract on TRON. The
Bundler
module of account abstract infrastracture needs thedebug_traceCall
to enforce the user operation validation rules according to ERC4337 specification. So it may be necessary to support thedebug_traceCall
API on TRON.The text was updated successfully, but these errors were encountered: