Submitted by 0xRajeev, also found by jvaqa, [Jmukesh](https://twitter.com/MukeshJeth) and cmichel_
Contracts use assert() instead of require() in multiple places. This causes a Panic error on failure and prevents the use of error strings.
Prior to solc 0.8.0, assert() used the invalid opcode which used up all the remaining gas while require() used the revert opcode which refunded the gas and therefore the importance of using require() instead of assert() was greater. However, after 0.8.0, assert() uses revert opcode just like require() but creates a Panic(uint256) error instead of Error(string) created by require(). Nevertheless, Soliditys documentation says:
whereas
Recommend using require() with informative error strings instead of assert().
Splidge (Reality Cards) labeled duplicate (removed by judge):
Splidge (Reality Cards) confirmed and resolved in a separate issue:
Note: Additional conversation regarding this vulnerability can be found here
