-
Notifications
You must be signed in to change notification settings - Fork 20.1k
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
web3 version radically out of date #22521
Comments
where does geth claim: "we support all functionality of web3. Click here to view modern web3 docs that look nothing like what we actually support." ? |
Our JS interpreter is pretty old, and it doesn't support certain things in the newer ECMAScript standards, for example, it cannot handle Our console is mainly for some quick manual debugging. We've considered many times to drop it, but OTOH it's highly useful for us as developers, whenever one has to do a quick check on some basic thing, and don't want to spin up a full node environment. For any more advanced contract interaction, you should use a better environment, such as node-based or python-based, with all the bells and whistles. I'd like to close this ticket, but maybe we should highlight this somehwere in the docs -- could you point us to any specific places where you think this info should be more visible?
Now this is a lot more concerning to me. Please provide more info, because connecting to ws or http always works like a charm for me, and it's very important that this works well. |
System information
Geth version: 1.10.1 from ubuntu repos
OS & Version: Ubuntu linux 20.04.1
Expected behaviour
web3 that works and is inline with current documentation
Actual behaviour
web3 that does not work and is not in line with current documentation
Steps to reproduce the behaviour
web3.version = 0.20.1
current = 1.3.4
It would be one thing to just completely drop web3 and say geth doesn't support it (which would be insane) but it's another to claim support "we support all functionality of web3. Click here to view modern web3 docs that look nothing like what we actually support." and then not offer it. It took me hours to figure out why I couldn't get anything to work.
(Side issue: can't connect to ws or http or ipc and spent all day trying. Internally, from another computer, ports, firewalls, tried to sideload web3, etc. I finally gave up, loaded web3 into node console, started using an Infura endpoint and gave up on geth entirely.)
The text was updated successfully, but these errors were encountered: