-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
fix: issue where could not handle missing memory #23
Conversation
@@ -9,6 +9,11 @@ def test_trace_frame_validation_passes(trace_frame_data): | |||
assert frame | |||
|
|||
|
|||
def test_trace_no_memory(): | |||
raw_frame = {"pc": 0, "op": "PUSH1", "gas": 4732305, "gasCost": 3, "depth": 1, "stack": []} |
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.
I get this trace from calling this method: https://github.com/fubuloubu/ERC4626/blob/main/contracts/test/Token.vy#L68-L70
which must not use any memory?
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.
I should add that I was using geth
and not hardhat
when doing this.
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.
which must not use any memory?
It might not be
9cc879b
to
2916174
Compare
2916174
to
ea5a295
Compare
ea5a295
to
f0f883e
Compare
What I did
ValidationError
with missing memory.How I did it
How to verify it
Checklist