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

Enable Custom Gas Limit for 'Use Contract' #41

Closed
jmank88 opened this issue Dec 20, 2018 · 3 comments
Closed

Enable Custom Gas Limit for 'Use Contract' #41

jmank88 opened this issue Dec 20, 2018 · 3 comments
Assignees

Comments

@jmank88
Copy link

jmank88 commented Dec 20, 2018

When deploying a contract, the user has the option of overriding the default gas limit of 300,000:
screenshot from 2018-12-20 08-28-00
When using a contract, the user does not have that option, and the gas limit defaults to 2,000,000:
screenshot from 2018-12-20 08-28-10
(example tx)
Users should have the option to override just like when deploying.

An additional 'nice to have' feature would be to use eth_estimateGas either automatically or via a manual 'auto-fill' button to calculate an appropriate gas limit, so they don't have to guess.

@TeamDeedCoin
Copy link

It does seem to automatically use 2,000,000 by default for deploying for me. So I had success in launching a contract that uses less than 2mil.

scrn1

Result:

scrn2

@treeder
Copy link
Contributor

treeder commented Dec 20, 2018

Must be a big contract! :) fixing now.

@treeder
Copy link
Contributor

treeder commented Dec 21, 2018

PR is in: #43

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

3 participants