-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Enable via IR compilation / memory safe issue fix #692
Conversation
Forge code coverage:
|
… that the gas overhead subtraction in the gas snapshot library causes an underflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just update main!
80fa48e
to
daf4e2e
Compare
daf4e2e
to
e088b4c
Compare
@@ -1,8 +1,8 @@ | |||
[profile.default] | |||
optimizer_runs = 800 | |||
via_ir = false | |||
optimizer_runs = 44444444 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hahahaha nice
1630 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woah... interesting
When compiling via ir compilation fails due to memory safeness issues, unless every assembly block from this PR are annotated as
memory-safe
. Once compilation succeeds two tests fail with a panic error (over- or underflow) that do not fail when compiling without ir.