You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Practically speaking, I am running into a CPU cycle overrun error by exceeding MaxCycles with a pretty simple realm (https://github.com/schollz/gno/tree/bytebeat-works) that generates audio. The realm works for 1 second of audio, but 2 seconds seems to exceed the maximum cycles. The idea for this realm was to make an audio-based nft where the contract itself generates the audio. If this is out-of-bounds of what is considered for Gno, that's okay.
The text was updated successfully, but these errors were encountered:
This is not a bug, but a question - I'm wondering how the
MaxCycles
gets set and why it is what it is. It looks like its set to10M
(https://github.com/gnolang/gno/blob/master/tm2/pkg/sdk/vm/keeper.go#L177), but what is the reasoning for that number?Practically speaking, I am running into a
CPU cycle overrun
error by exceedingMaxCycles
with a pretty simple realm (https://github.com/schollz/gno/tree/bytebeat-works) that generates audio. The realm works for 1 second of audio, but 2 seconds seems to exceed the maximum cycles. The idea for this realm was to make an audio-based nft where the contract itself generates the audio. If this is out-of-bounds of what is considered for Gno, that's okay.The text was updated successfully, but these errors were encountered: