remix-project icon indicating copy to clipboard operation
remix-project copied to clipboard

Returned error: The method "debug_traceTransaction" does not exist / is not available.

Open frankli-dev opened this issue 1 year ago • 3 comments

I am working on my local network (substrate) and added tracing capability. I deployed smart contract through Remix (through injected provider metamask) and get the transaction id.

I can successfully debug transaction by calling debug_traceTransaction rpc manually like the following screenshot. Screenshot 2024-01-19 at 8 53 25 AM

But the remix does not recognize it. I'm not sure why Remix UI can't call the rpc that I can manually run. Screenshot 2024-01-19 at 8 53 43 AM

Please help me

frankli-dev avatar Jan 19 '24 15:01 frankli-dev

cc: @yann300

Aniket-Engg avatar Jan 22 '24 05:01 Aniket-Engg

@frankli-dev when you start debugging, are you still using injected provider? could you try to directly connect to that node use external provider?

yann300 avatar Jan 22 '24 09:01 yann300

Hey @frankli-dev I have the same problem, but this is not Remix limitation, it's MetaMask. Here is the issue in their repo https://github.com/MetaMask/metamask-extension/issues/21611 Drop a comment, if you can to get the snow ball rolling.

georgi-l95 avatar Jan 24 '24 14:01 georgi-l95