-
Notifications
You must be signed in to change notification settings - Fork 375
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
[Memeland] App broken because max CPU cycles reached #1873
Comments
How many cycles does it usually need? For basic operations? |
Facing same issue for testing bunch of contracts. Found gno/gno.land/pkg/sdk/vm/keeper.go Lines 22 to 30 in 831bb6f
IMHO(as above comments) that '10_000_000' limit can be removed, as execution (will) panic if
|
Ok, investigated this case a bit. Here's what I found.
See how The interesting thing is - the memeland UI uses There are things I can do to try to improve the speed of the Memeland code, and can probably compromise on some features and try to optimize it (like cutting down maximum fetch to be 5 memes at once), but this situation ultimately shows us that:
This app needs to be demoed on the 11th, so for now I suggest bumping the CPU cycles limit to 100_000_000, or reverting the PR that introduced it. |
@leohhhn can we close this? |
We reverted #1902 so I am closing this issue. |
Description
Seems Memeland is broken because fetching its posts overruns the max CPU cycle count set in #1807. I can try lowering the amount of computation by optimizing the package/realm code, however I think doing so might improve the state a bit, but not so where it's functional again.
I need to demo the app on the 11th of April, we should fix this before then. What can we do about this?
cc @deelawn @zivkovicmilos
The text was updated successfully, but these errors were encountered: