-
Notifications
You must be signed in to change notification settings - Fork 30
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 - 'gasWanted 25000000, gasUsed: 35609914' #84
Comments
When trying to reproduce do you get this?
output:
I created #85 for this issue for now. |
@xBalbinus I think this is an M1 related issue, could you please commit the |
Thanks! Ok I was able to replicate now:
I modified the testnet node gas requirement, something we need to document and probably update in mainnet nodes as well. Steps
Try again
❌ ERROR:
if I run it again it will then give a different error message: ❌ ERROR:
I tried again with the CLI and it worked:
|
RIP this was what I was worried about in #53 What is this contract size for reference? And yeah we are likely going to have to bump mainnet max gas per tx limits for this. Thankfully its just a mempool config, so we can ask one validator to change theirs and submit to their mempool. |
ION_DAO.WASM 553Kb Hoe do you calculate gas settings vs message size? |
ION Dao is seeking to deploy their contracts to testnet and mainnet but are encountering issues with the gas limits.
Replicate by (I created a test-proposal file that emulates current inputs already in the original repo):
We are already using the optimizer here.
Do we know of any other quick contract gas optimization techniques, or if I need to delve in to try to manually minimize gas (the gas to deploy is quite a bit over the testnet / mainnet limit though, which is difficult)?
Is there any way to raise the hard cap of 25000000?
The text was updated successfully, but these errors were encountered: