Skip to content
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

[x/programs] program recursion test #910

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

iFrostizz
Copy link
Collaborator

@iFrostizz iFrostizz commented May 15, 2024

By curiosity, I wanted to write a recursion test just to make sure that unwinding works as expected and that the execution will run out of units.
This is still a WIP because although this property is verified, there is no way to assert that an execution failed. Additionally, there is an error log message from the simulator saying that the execution ran out of units which is annoying to have on the terminal.
I think that it is blocked by #865, #595, and the fact that the logging is printed on stderr because of the communication pattern.

Closes #899

edit: there is also this deserialization error which was not caught. I'm wondering if we could tune the static analysis to detect those blunders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog 🗄️
Development

Successfully merging this pull request may close these issues.

[x/programs] Write a recursive program test
1 participant