Synthetixio / issues

0 stars 3 forks source link

[CHORE]: Test Solidity V8.X on new contracts #357

Closed andytcf closed 2 years ago

andytcf commented 3 years ago

Summary

Test out the new contracts with the latest version of Solidity

artdgn commented 2 years ago
  1. PR for approach #1 - minimal upgrade of a new contract: https://github.com/Synthetixio/synthetix/pull/1571

  2. The more promising approach - upgrade everything: https://github.com/Synthetixio/synthetix/pull/1576

artdgn commented 2 years ago

After discussing the tradeoff with @justinjmoses the required effort and risk seems to outweigh the benefits in view of the pending transition to V3.

In case we do decide to move to Sol8 (e.g. due to delays on V3):

In case we do decide to transition to 0.8 while still in v2x phase, the work on https://github.com/Synthetixio/synthetix/pull/1576 can be rebased and resumed.

Main takeaways and lessons for V3 from the work done in https://github.com/Synthetixio/synthetix/pull/1576: