-
Notifications
You must be signed in to change notification settings - Fork 215
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
(Bug) Transaction runs out of gas during deployment step #316
(Bug) Transaction runs out of gas during deployment step #316
Comments
|
I can test it in Kovan to see that it doesn't causes problems. Is that enough or do you test this kind of things in the mainnet too, using real ether? |
@fvictorio we can deploy it on |
I've thought about this a little more and I don't think my idea will work. The networks have different gas limits by default, and web3 doesn't have an option to set a new default gas limit: you have to do it in each transaction. This, and the fact that a transaction sometimes exceeds the default of 90000, makes it necessary to use gas limits per transaction anyway. So, I'll send a PR with updated gas limits for now. @igorbarinov I created an address at |
The deployment step fails because one of the transactions runs out of gas (during the first call to
setLastCrowdsaleRecursive
, I think).One possible solution is to remove the
gasLimit
s in the code and rely on the inferred gas cost, that should work fine because these transactions should be predictable.I can send a PR with this change if you think it's a good solution.
The text was updated successfully, but these errors were encountered: