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

debug_traceTransaction fails with brownie #2238

Closed
2 tasks done
drawnwren opened this issue Jul 7, 2022 · 1 comment
Closed
2 tasks done

debug_traceTransaction fails with brownie #2238

drawnwren opened this issue Jul 7, 2022 · 1 comment
Labels
T-bug Type: bug

Comments

@drawnwren
Copy link
Contributor

drawnwren commented Jul 7, 2022

Component

Anvil

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (4367ce1 2022-07-07T00:35:04.586326225Z)

What command(s) is the bug in?

No response

Operating System

Linux

Describe the bug

When using brownie's TransactionReceipt.call_trace() method -- anvil returns a -32601.

The brownie debug_traceTransaction code looks like:

web3.provider.make_request(  # type: ignore
        "debug_traceTransaction",
        (approve["transactionHash"].hex(), {"disableStorage": True}),
    )

and the anvil response is:

{'jsonrpc': '2.0', 'id': 41, 'error': {'code': -32601, 'message': 'Method not found'}}
@drawnwren drawnwren added the T-bug Type: bug label Jul 7, 2022
@onbjerg
Copy link
Member

onbjerg commented Jul 8, 2022

It is not currently supported, ref #1737 (closing this as a duplicate)

@onbjerg onbjerg closed this as completed Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
None yet
Development

No branches or pull requests

2 participants