Skip to content
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 minor issues in ZRC2 ->ERC20 contract #721

Open
rrw-zilliqa opened this issue Jul 29, 2024 · 0 comments
Open

Fix minor issues in ZRC2 ->ERC20 contract #721

rrw-zilliqa opened this issue Jul 29, 2024 · 0 comments
Assignees

Comments

@rrw-zilliqa
Copy link
Contributor

... reported by HashLock:

  1. SafeMath is the default in Solidity 0.8.x
  2. Replace _UINT8_MAX and _UINT256_MAX definitions with the Solidity symbolic constants.
  3. _UINT8_MAX should be of type uint8
  4. Make immutable variables immutable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant