-
Notifications
You must be signed in to change notification settings - Fork 12
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
Gas limit for deployment #12
Comments
What is the error that you got? If I'm not mistaken, But yeah, I think set default to |
@graup said, we had some deployment problems, but they now randomly disappeared.
(This message doesn't mean that the problem is the gas amount.) |
Have you managed to identify this issue? Could it be because the primary account does not have enough eth to cover the gas amount that's specified, especially since the original code is using max. @graup it makes sense to set default gas to |
Here is our main account on the testnet |
Is this issue still relevant? If you have managed to solve it, please do submit a PR or share on how it's solved. Thanks. |
For our tests, we solved it increasing the gas limit. Testrpc now offers an option for that. The raised limit is recognised by the loader. At this point I am not sure if we should still change the implementation to |
I think it's still beneficial to update
|
I agree. I will look into implementing this change then. There were, however, some issues with that in testrpc: I need to test that this actually works. |
web3-loader/index.js
Line 109 in 89e98e9
Hi, I am wondering if we could use estimateGas instead of this. We are trying to use it for deployment on a real (test) net and sometimes run into gas problems. I don't know if this is the problem, but it could be connected. I think the official Ethereum wallet deploys contracts with
estimateGas() + 20000
.The text was updated successfully, but these errors were encountered: