We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Props to @leohhhn for identifying this.
When the gno vm encounters an infinite loop, it is never able to finish execution. It should probably stop after a certain number of CPU cycles.
Here is an example using recursion:
package main func main() { println(recurse()) } func recurse() int { return recurse() }
And an example using a for loop:
package main func main() { var n int for { n++ } println(n) }
Both of these will cause the vm to hang.
The text was updated successfully, but these errors were encountered:
Decided this is not a bug as this only happens when running gno programs, not from within the keeper when the chain is running
Sorry, something went wrong.
deelawn
No branches or pull requests
Props to @leohhhn for identifying this.
When the gno vm encounters an infinite loop, it is never able to finish execution. It should probably stop after a certain number of CPU cycles.
Here is an example using recursion:
And an example using a for loop:
Both of these will cause the vm to hang.
The text was updated successfully, but these errors were encountered: