-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install contract #1
Comments
I got same error ... any idea on that ? |
Got the answer |
@ckl8964 - How you resolved this issue, is it by using @deprecated comment. Please guide me here. |
I meet the same error. How to resolve the error? |
Hi, the eth package has been updated in the meantime and support for in-code contract compilation was dropped, I guess I'll rewrite to use the solc compiler, let me check |
So, now it's fixed. Hopefully they will not change the rpc interface again soon. We're now using the external solc compiler, and its called from the python script.
let me know if it doesn't work :-) |
It is working now. It is very useful to learn blockchain and machine
learning with a working code. Keep doing the good work. Thank you
On Thu, Nov 30, 2017 at 5:53 AM Thomas Schmiedel ***@***.***> wrote:
So, now it's fixed. Hopefully they will not change the rpc interface again
soon.
Please git pull again, especially installContract.py, then it should work.
Also, in case you followed the setup instructions, please do:
sudo npm install -g ethereumjs-testrpc solc
We're now using the external solc compiler, and its called from the python
script.
- git pull
- sudo npm install -g ethereumjs-testrpc solc
- that's it
let me know if it doesn't work :-)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AeI8WlWkm76_nfQItec0yeEojmmMD-Fpks5s7okmgaJpZM4PICjV>
.
--
With Warm Regards, Ravishankar Subramaniam
|
Hi there,
I run into the issue when I tried to install contract. It seems the server side changed.
client software: EthereumJS TestRPC/v1.1.2/ethereum-js
block: 0
address: 0xa67b13f5a6a84ab459edb373716f8d0069f777aa
compiling contract...
Traceback (most recent call last):
File "installContract.py", line 113, in
main()
File "installContract.py", line 68, in main
compiled = rpc.eth_compileSolidity(CONTRACT_CODE)
File "/usr/local/lib/python2.7/dist-packages/ethjsonrpc/client.py", line 483, in eth_compileSolidity
return self._call('eth_compileSolidity', [code])
File "/usr/local/lib/python2.7/dist-packages/ethjsonrpc/client.py", line 65, in _call
raise BadResponseError(response)
ethjsonrpc.exceptions.BadResponseError: {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Error: Method eth_compileSolidity not supported.\n at GethApiDouble.handleRequest (/usr/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:82422:16)\n at next (/usr/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:52153:18)\n at VmSubprovider.handleRequest (/usr/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:59291:12)\n at next (/usr/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:52153:18)\n at GethDefaults.handleRequest (/usr/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:82339:12)\n at next (/usr/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:52153:18)\n at FilterSubprovider.handleRequest (/usr/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:58850:7)\n at next (/usr/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:52153:18)\n at DelayedBlockFilter.handleRequest (/usr/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:82167:3)\n at next (/usr/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:52153:18)', u'code': -32000}}
The text was updated successfully, but these errors were encountered: