首先使用单引号geth --datadir ./data/00 --networkid 314590 --port 61910 --rpc --rpcapi 'web3,eth,debug' --rpccorsdomain '* --rpcport 8200 console
使用remix无法连接
然后换成双引号geth --datadir ./data/00 --networkid 314590 --port 61910 --rpc --rpcapi "web3,eth,debug" --rpccorsdomain "*" --rpcport 8200 console
Web3 Provider 处填入如下,http://127.0.0.1:8200,显示can't detect network.然后creation of SimpleStorage pending
最后把rpcapi中的 debug改为net geth --datadir ./data/00 --networkid 314590 --port 61910 --rpc --rpcapi "web3,eth,net" --rpccorsdomain "*" --rpcport 8200 console
可以连接了
Error encountered, bailing. Network state unknown. Review successful transactions manually.
Error: exceeds block gas limit
at Object.InvalidRes