Closed libertylocked closed 6 years ago
@libertylocked @buendiadas @mathcrypto
Is there anyway to test safe math?
Can you add a test trying to set the hth score to a negative value?
Also is there any way to test for race conditions? What if two requests to increment hthscore happen at the same time? Will one of the updates be lost?
Safemath is audited already so we dont test it. All open zeppelin contracts are. Transactions are executed in order so there will never be race condition