Skip to content
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

Outdated py-evm version in Guide Doc: 'FrontierState' object has no attribute 'get_balance' #1983

Open
junning-tong opened this issue Mar 6, 2021 · 0 comments

Comments

@junning-tong
Copy link
Contributor

  • OS: macOS 11.2.2
  • Python Version (python --version): Python 3.6.13

What is wrong?

  1. Guide Doc building_an_app_that_uses_pyevm is outdated, py-evm old version 0.2.0a40 causes script below to fail.

chain.get_vm().state.get_balance(MOCK_ADDRESS)

  1. "Edit on GitHub" link redirects to 404 page.

https://py-evm.readthedocs.io/en/latest/guides/building_an_app_that_uses_pyevm.html

How can it be fixed

Update py-evm in doc to the latest version "py-evm==0.3.0a20"
https://github.com/ethereum/py-evm/blob/master/docs/guides/building_an_app_that_uses_pyevm.rst

@junning-tong junning-tong changed the title 'FrontierState' object has no attribute 'get_balance' Outdated py-evm version in Guide Doc: 'FrontierState' object has no attribute 'get_balance' Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant