This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ** Upgrade to at least 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: | |
| - Safemath by default from =0.8.0= (can be more gas efficient than /some/ | |
| library based safemath). | |
| - [[https://blog.soliditylang.org/2021/03/02/saving-gas-with-simple-inliner/][Low level inliner]] from =0.8.2=, leads to cheaper runtime gas. | |
| Especially relevant when the contract has small functions. For |