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

Memory machine witgen: Handle unknown address #708

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

georgwiese
Copy link
Collaborator

@georgwiese georgwiese commented Oct 20, 2023

This fixes an issue in #706, where the address argument to the memory operation is no longer known when the lookup is being processed.

In that case, the DoubleSortedWitnesses failed hard. Instead, it should just return an "incomplete" EvalValue, just as it does when the value is not yet set.

I introduced a new IncompleteCause::NonConstantRequiredArgument(&'static str) which is used for both cases.

@georgwiese georgwiese marked this pull request as ready for review October 20, 2023 13:52
@chriseth chriseth added this pull request to the merge queue Oct 20, 2023
Merged via the queue into main with commit 125305e Oct 20, 2023
@chriseth chriseth deleted the fix-memory-witgen-unknown-address branch October 20, 2023 15:54
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