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

Get complete listing of gas estimates for contract #306

Closed
fubuloubu opened this issue Aug 2, 2017 · 2 comments
Closed

Get complete listing of gas estimates for contract #306

fubuloubu opened this issue Aug 2, 2017 · 2 comments

Comments

@fubuloubu
Copy link
Member

Some way to get a gas estimate for each function in a contract would be sweet, allowing you to profile the gas-intensive functions you might have but are unaware of and also see it in client programs/editors.

@vbuterin Can this be included in the ABI output? Does that make sense? I am not familiar with the requirements or uses of that format enough

@vbuterin
Copy link
Contributor

vbuterin commented Aug 3, 2017

Yeah, I think it would be sensible to add the gas estimate into the ABI, alongside the other fields.

@fubuloubu
Copy link
Member Author

fubuloubu commented Aug 3, 2017

@vbuterin Easier than I thought, #308

Feel free to change the string used to store it in the ABI if you so choose.

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

2 participants