Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Greeter tutorial asks user to run commands that no longer exist. #759

Open
awochna opened this issue Dec 21, 2017 · 3 comments
Open

Greeter tutorial asks user to run commands that no longer exist. #759

awochna opened this issue Dec 21, 2017 · 3 comments

Comments

@awochna
Copy link

awochna commented Dec 21, 2017

The first tutorial used by new developers entering the smart contract development world start by having you run the following to make sure solidity is installed:

eth.getCompilers()

When I run this in geth (v1.7.3), I get told that it doesn't exist, despite Solidity being installed:

Error: The method eth_getCompilers does not exist/is not available
    at web3.js:3143:20
    at web3.js:6347:15
    at web3.js:5081:36
    at <anonymous>:1:1

Trying to just continue and compile the first example leads to a similar error:

Error: The method eth_compileSolidity does not exist/is not available
    at web3.js:3143:20
    at web3.js:6347:15
    at web3.js:5081:36
    at <anonymous>:1:23

From here, I have no idea how to continue the tutorial.

It seems that geth has removed the solidity parser (ethereum/go-ethereum#3793) but that this documentation has not yet been updated. It looks like the status of this feature is in flux, but in the meantime we're making the ecosystem less accessible to new developers by not at least adding a side note in these tutorials.

@jiaxyan
Copy link

jiaxyan commented Jan 31, 2018

yes, this is so unresonable! I 've notice this bugs in geth 1.6 and I was told this feature is removed in geth 1.6, but now the 1.7 version has come and the Contract Tutorial (Felix Lange edited this page on 20 Dec 2017) which updated at Dec 2017 still told us to do this... I don't know, am I missing something that make my developing contracts so difficult...

@awochna
Copy link
Author

awochna commented Jan 31, 2018

@jiaxyan I don't think you're missing anything. This documentation has been left behind and current, up-to-date introductory documentation really helps build community, so all I can think is this is an indicator of priority for Ethereum/Geth/Solidity's direction.

That being said, if you want to keep developing smart contracts using some different documentation, check out Truffle (http://truffleframework.com/docs/) and of course the Solidity documentation.

@jbarros35
Copy link

Well there is another problem on this tutorial

Error encountered, bailing. Network state unknown. Review successful transactions manually.
Error: Greeter contract constructor expected 1 arguments, received 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants
@evertonfraga @awochna @jbarros35 @jiaxyan and others