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

Important fixes in hevm equivalence #180

Merged
merged 13 commits into from
Apr 2, 2024
Merged

Important fixes in hevm equivalence #180

merged 13 commits into from
Apr 2, 2024

Conversation

zoep
Copy link
Collaborator

@zoep zoep commented Feb 5, 2024

Proper handling of initial state so that it is not threaded

Previously the state was treaded between rewrites, which is not the correct semantics of Act. Now the left hand side of all rewrites uses the initial state, as opposed to the intermediate.

Keep track of caller so that it can be used when the

The ActM monad now keeps track of the symbolic address of the caller, so that the CALLER variable is implemented correctly.

Implementation of This context variable

This is no longer a TODO.

AMM example in hevm test

This currently times out (under investigation), but trying to fix this example lead to the above fixes.

@zoep zoep merged commit e560cf2 into main Apr 2, 2024
5 checks passed
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.

1 participant