-
Notifications
You must be signed in to change notification settings - Fork 269
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
Out of gas on 0.3.0 #141
Comments
I upgraded my testrpc and truffle 2 days ago and it's now a total nightmare with all my tests. |
@Adrion Hi, yep. It's a fork! There's a PR open at Zeppelin getting all their tests running clean which might be a good resource for non-coverage fixes. And I'm working on the problems here this morning. If you are interested in a debugging session for coverage on your project if there continue to be issues after the Zeppelin suite passes I'd be happy to do that. Are you writing in the open? |
I had similar problems with SC 0.3.0 but 0.3.2 fixed the OOG for me. Thanks again for the swift fix! |
Unfortunately the project is not open yet. It should be in a few weeks. But SC crash a lot. I will check the progress and report you any issues about this :) With SC I managed to get some to work by setting in the .solcover file
But I have crashes and not every time on the same test |
@elenadimitrova @Adrion Thank you so much. Zeppelin is also still crashing unfortunately. . .their instrumented crowd sale definitely needs more gas than the current block limit. It seems like there must be some problem with how we're modifying that. |
@elenadimitrova @Adrion Zeppelin is running clean with
Let me know if you have additional bugs or recommendations. Leaving this open for the time being. |
@Adrion Also, try increasing the gas in your config and coverage network from |
@cgewecke Just tested 0.3.5 and that fails just after compilation with
On another hand I have a branch I'm working on which fails with OOG with SC 0.3.3. Investigating now as to the cause. |
@elenadimitrova 0.3.3 will OOG because there is now a strict limit on the size of contracts in addition to their cost. That's fixed in 0.3.5 and Alex opened a PR earlier today which might resolve your other issues as long as you are using .call to retrieve values from view methods. |
@cgewecke 0.4.0 fixed the issues for me. thanks |
@cgewecke I updated everything and yes almost all of my tests worked. Good work ! 👍 i updated my code to 0.4.18 with EDIT: fixed by adding .call() 🎉 |
@Adrion Starting with 0.4.0 we have a breaking change for those modifiers. They must be invoked using the .call postfix, something Truffle allows you to omit as a convenience. See #146 for more discussion of this. Sorry and thanks for helping debug this upgrade. Oh good and thanks for your help @elenadimitrova |
The zeppelin tests running the new testrpc are running out of gas when they
new
their crowdsale contracts. Debugging this. . .The text was updated successfully, but these errors were encountered: