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

Add automatic gas cost estimation #3132

Closed
athei opened this issue Jul 6, 2020 · 2 comments
Closed

Add automatic gas cost estimation #3132

athei opened this issue Jul 6, 2020 · 2 comments

Comments

@athei
Copy link

athei commented Jul 6, 2020

Soon the json rpc contracts_call will return a field gas_consumed that indicates how much gas was consumed by a contract execution.

The UI should use that to (automatically) run a contract call as RPC in order to suggest a sensible gas limit to the user.

@jacogr jacogr added +P5 labels Jul 6, 2020
@jacogr jacogr removed the +P5 label Aug 7, 2020
@jacogr
Copy link
Member

jacogr commented Oct 21, 2020

Actually forgot about this one, but believe it was stuck somewhere in the back of my mind when I added the estimation.

All, good, it is included in the UI.

@jacogr jacogr closed this as completed Oct 21, 2020
@polkadot-js-bot
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jun 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants