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

Account.gas_used #518

Merged
merged 3 commits into from May 14, 2020
Merged

Account.gas_used #518

merged 3 commits into from May 14, 2020

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

Add the Account.gas_used attribute

Closes #515

How I did it

gas_used is a @property method that sums the gas_used attribute for all transactions sent from the given account.

How to verify it

Run the tests. I added a new case.

@iamdefinitelyahuman iamdefinitelyahuman merged commit 62863a2 into master May 14, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the feat-gas-used branch May 14, 2020 12:01
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.

Add Account.gas_used
1 participant