-
Notifications
You must be signed in to change notification settings - Fork 175
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
Purity checker does not filter STATICCALL opcode #170
Comments
Looks like this can be better handled by adding |
Actually I was wrong when I said "blacklist". It actually needs to be treated like other |
Here's a thought... blacklist EDIT: I retract this statement. I don't see a good reason to blacklist |
looks like it's handled here https://github.com/ethereum/casper/pull/169/files#diff-33d26a5c0d90fb3b88e7aed738a11fc5R71 Where
|
Where exactly? I don't see |
ah sorry, I mean |
Oh, sorry I think I misunderstood! Yes, I think |
As defined in EIP214, the
STATICCALL
opcode allows a contract to read the mutable state of another contract.The purity checker does not blacklist this opcode. I think it should.
EDIT:
STATICCALL
should not be blacklisted - instead filtered so that it may only be used upon pre-approved addresses.The text was updated successfully, but these errors were encountered: