Open code423n4 opened 3 years ago
I don't think there should be a payment for this, we're not using this version of solidity.
Duplicate of #47
I think this is a reasonable suggestion pointing out a possibility for refactoring to improve readability of the code.
I don't think it's a duplicate of #47
Handle
hrkrshnn
Vulnerability details
Replacing the assembly
extcodesize
checks for versions>0.8.1
There are several instances in the codebase where the following is used:
If using solidity version
>0.8.1
, one can replace this by<address>.code.length
. The same also works for other versions, but not as efficient.