question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debugger reports "debug_traceTransaction" does not exists when connected through Metamask with private RPC which has 'debug_traceTransaction"

See original GitHub issue

I use private RPC with available debug_traceTransaction method which successfully returns data when used from hardhat.

Remix connected with “Injected provider” which is Metamask with the same private RPC returns:

The method 'debug_traceTransaction' does not exist / is not available. { "jsonrpc": "2.0", "id": 548385060, "method": "debug_traceTransaction", "params": [ "0x5e9f9315718a0ef5ef30cb96c2216d2f75a744b47aca5a4cfa349aaef5246358", { "disableStorage": true, "disableMemory": false, "disableStack": false, "fullStorage": false } ], "origin": "https://remix.ethereum.org", "tabId": 549 }

Any suggestions?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
riceyrollingcommented, Jan 13, 2022

Same issue BSC testnet.

0reactions
yann300commented, Aug 16, 2022

if you have a node which support traceTransaction, can you try connecting it using the “External HTTP Provider” (from the run and deploy view)?

Read more comments on GitHub >

github_iconTop Results From Across the Web

debug_traceTransaction RPC method
Debug Trace Transaction. Returns all traces of given transaction (Trace Mode required). Supported chains for debug_traceTransaction. ETH.
Read more >
remix: The method debug_traceTransaction does not exist ...
So, you just need to add the --rpcapi "eth,net,web3,debug" command line option. The way I run my geth: geth --datadir /home/user/POA/private -- ...
Read more >
RPC API | MetaMask Docs
Returns a Promise that resolves to an array of Web3WalletPermission objects. If the caller has no permissions, the array will be empty. # ......
Read more >
debug Namespace | go-ethereum
The debug API gives you access to several non-standard RPC methods, ... the key preimage (i.e: the address) doesn't exist in db are...
Read more >
Metamask - Kaleido Docs
MetaMask is a secure browser wallet, providing a user interface to manage your identities on different sites and sign blockchain transactions. With MetaMask...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found