Debugger reports "debug_traceTransaction" does not exists when connected through Metamask with private RPC which has 'debug_traceTransaction"
See original GitHub issueI 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:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same issue BSC testnet.
if you have a node which support traceTransaction, can you try connecting it using the “External HTTP Provider” (from the run and deploy view)?