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

Use execute_function for nested calls in CallStack::PackageRun #2285

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

vicsn
Copy link
Contributor

@vicsn vicsn commented Jan 9, 2024

Motivation

We only need to use execute_function instead of evaluate_function when using PackageRun.

Why did this happen? Because we "simply" never properly set up evaluate_function to properly handle nested calls, and I didn't spot the failed test in the previous PR. Made an issue in case we want to fix this in the future: https://github.com/AleoHQ/snarkVM/issues/2287

Fortunately, this adjustment won't have a performance hit for CheckDeployments.

Test Plan

Existing test suite should pass. Locally everything succeeds but CI has a flaky test, made an issue for it: https://github.com/AleoHQ/snarkVM/issues/2286

Related PRs

https://github.com/AleoHQ/snarkVM/pull/2230

@howardwu howardwu merged commit 2eb75c6 into testnet3 Jan 11, 2024
78 checks passed
@howardwu howardwu deleted the fix_nested_packagerun branch January 11, 2024 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants