code-423n4 / 2021-08-gravitybridge-findings

1 stars 0 forks source link

Upgrade to at least Solidity 0.8.4 #45

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

Handle

hrkrshnn

Vulnerability details

Upgrade to at least Solidity 0.8.4

Using newer compiler versions and the optimizer gives gas optimizations and additional safety checks for free!

The advantages of versions 0.8.* over <0.8.0 are:

jkilpatr commented 2 years ago

Especially since we're backporting abi encoding v2 a complete upgrade may be advisable. Will attempt

Duplicate of #41

loudoguno commented 2 years ago

reopening as per judges assessment as "primary issue" on findings sheet