-
Notifications
You must be signed in to change notification settings - Fork 27
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
Refs #474 -- Added MixedAccounting to general/build/smart-contracts/contract-security #574
Refs #474 -- Added MixedAccounting to general/build/smart-contracts/contract-security #574
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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 think the content is generally good. Here are some questions and suggestions
- Is the title
mixed accounting
not a general term? If not, I think the title shall be altered to reflect the article content appropriately, for example,balance accounting
. - The mixed acocunting would only result in actual balance greater than the balance as local state variable, and this would not bring about securtiy issues. This idea is already implicitly conveyed in the article. But I would recommend explicitly stating it and then highlight the security issues result from the incorrect assumptions rather than the unexpected more balance itself.
- (Optional) There are some handler functions for ERCxxx tokens, e.g.
onERC20Recieved
,onERC721Received
. These handler can be mentioned in the article body.
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.
It seems the title stays unchanged. Is this a specific term or how about your idea about current title? We can discuss it here
|
From my perspective, at least the title would let reader have a basic concept about the article content. As for |
Pre-flight checklist
This change is