We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pragma solidity >=0.5.0; contract EventTrackingStorageRef { mapping(address=>bool) data; /// @notice tracks-changes-in data event e(address a); /// @notice emits e function f(address a) public { mapping(address=>bool) storage ref = data; ref[a] = true; } }
In the contract above, function f should emit the event but it doesn't, this should be reported as error. Current version says
$ ./solc-verify.py issue.sol --output . EventTrackingStorageRef::f: OK EventTrackingStorageRef::[implicit_constructor]: OK Use --show-warnings to see 1 warning. No errors found.
We need to check if the reference potentially updates the tracked data which is currently not done.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the contract above, function f should emit the event but it doesn't, this should be reported as error. Current version says
We need to check if the reference potentially updates the tracked data which is currently not done.
The text was updated successfully, but these errors were encountered: