You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that even if there a re-entrancy possibility in the level contract, the main vulnerability is the underflow. Because if underflow is handled properly the re-entrancy attack will revert.
The level contract currently uses SafeMath but not for the subtraction operation and new compiler version (0.8.0 and later) handle it automatically.
So the main issue is underflow not re-entrancy.
The text was updated successfully, but these errors were encountered:
I believe that even if there a re-entrancy possibility in the level contract, the main vulnerability is the underflow. Because if underflow is handled properly the re-entrancy attack will revert.
The level contract currently uses SafeMath but not for the subtraction operation and new compiler version (0.8.0 and later) handle it automatically.
So the main issue is underflow not re-entrancy.
The text was updated successfully, but these errors were encountered: