首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >混合: debug_traceTransaction不存在/不可用的方法

混合: debug_traceTransaction不存在/不可用的方法
EN

Ethereum用户
提问于 2018-07-23 12:56:04
回答 1查看 3.5K关注 0票数 2

我跟踪了这个回答

因此,只需添加--rpcapi "eth,net,web3,debug"命令行选项即可。

我跑步的方式:

代码语言:javascript
运行
复制
geth --datadir /home/user/POA/private --rpcaddr 127.0.0.1 --rpc --rpcport
8545 --rpccorsdomain="*" --networkid 32224 --rpcapi eth,net,web3,personal,debug
--port 3000

但是在remixremix-alpha上,当我尝试调试函数调用时,我会遇到以下错误:The method debug_traceTransaction does not exist/is not available

问:如何修复此错误?原因可能是什么?

EN

回答 1

Ethereum用户

发布于 2018-10-12 12:15:29

我认为您需要打开txpool rpc。

你能加上--rpcapi="db,eth,net,web3,personal,txpool,miner"吗?

它能帮上忙。

票数 0
EN
页面原文内容由Ethereum提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://ethereum.stackexchange.com/questions/54948

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档