Submitted by 0xRajeev
solc version 0.8.3 and 0.8.4 fixed important bugs in the compiler. Using version 0.8.1 misses these fixes and may cause a vulnerability.
See ERC20Rewards.sol L2.
Solidity 0.8.4 fixes a bug in the ABI decoder. The release contains an important bugfix. Seedecoding from memory bugblog post for more details.
Solidity 0.8.3 is a bugfix release that fixes an important bug about how the optimizer handles the Keccak256 opcode. For details on the bug, please see thebug blog post.
Recommend considering upgrading to 0.8.3 or 0.8.4.
alcueca (Yield) confirmed and patched:
alcueca (Yield) commented:
