ENV:测试-RPC 松露
代码: let source = "pragma solidity ^0.4.11;contract Calc{ uint count; function add(uint a, uint b) returns(uint){ count++; return a + b; } function getCount() return (uint){返回计数;}}";
让 calc = web3.eth.compile.solidity(source);
终端告诉我:truffle(development)> Error: Error: Method eth_compileSolidity not supported。在 GethApiDouble.handleRequest (/Users/user/.nvm/versions/node/v6.10.3/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:101870:16) ......