我跟踪了这个回答。
因此,只需添加
--rpcapi "eth,net,web3,debug"
命令行选项即可。
我跑步的方式:
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
但是在remix
或remix-alpha
上,当我尝试调试函数调用时,我会遇到以下错误:The method debug_traceTransaction does not exist/is not available
。
问:如何修复此错误?原因可能是什么?
发布于 2018-10-12 12:15:29
我认为您需要打开txpool
rpc。
你能加上--rpcapi="db,eth,net,web3,personal,txpool,miner"
吗?
它能帮上忙。
https://ethereum.stackexchange.com/questions/54948
复制相似问题