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

fix: balance contract member override #1030

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

banteg
Copy link
Collaborator

@banteg banteg commented Apr 1, 2021

What I did

Fixed a regression introduced here.

Related issue: #

How I did it

Reverted an erroneous refactor to its previous state.

Also added renaming balance Contract class member to wei_balance on name clash instead of rendering it inaccessible.

How to verify it

Contract('0x5dbcF33D8c2E976c6b560249878e6F1491Bca25c').balance() on mainnet should be non-zero.

Checklist

  • I have confirmed that my PR passes all linting checks
  • I have included test cases
  • I have updated the documentation
  • I have added an entry to the changelog

@poolpitako
Copy link
Contributor

Thanks for the fix 👍
Tested with bsc and it works.

@iamdefinitelyahuman iamdefinitelyahuman merged commit e00aef0 into eth-brownie:master Apr 1, 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

Successfully merging this pull request may close these issues.

None yet

3 participants