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

Implement trace_call #2011

Closed
mattsse opened this issue Mar 28, 2023 · 0 comments · Fixed by #2029
Closed

Implement trace_call #2011

mattsse opened this issue Mar 28, 2023 · 0 comments · Fixed by #2029
Labels
A-rpc Related to the RPC implementation C-enhancement New feature or request D-complex Quite challenging from either a design or technical perspective Ask for help!

Comments

@mattsse
Copy link
Collaborator

mattsse commented Mar 28, 2023

Describe the feature

ref #1225

implement missing:

/// Executes the given call and returns a number of possible traces for it.
///
/// Handler for `trace_call`
async fn trace_call(

this is kinda similar to eth_call

we basically already have this ready:

/// Executes the call request at the given [BlockId]
pub(crate) async fn execute_call_at(
&self,
request: CallRequest,
at: BlockId,
state_overrides: Option<StateOverride>,
) -> EthResult<(ResultAndState, Env)> {

we need to refactor the execute_call_at and call_with functions so that they also allow inspection

Additional context

No response

@mattsse mattsse added C-enhancement New feature or request D-complex Quite challenging from either a design or technical perspective Ask for help! A-rpc Related to the RPC implementation labels Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Related to the RPC implementation C-enhancement New feature or request D-complex Quite challenging from either a design or technical perspective Ask for help!
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant