Missing checks for zero-addresses may lead to infunctional protocol, if the variable addresses are updated incorrectly.
Consider adding zero-address checks in the discussed constructors:
require(newAddr != address(0));.
DimaStebaev (SKALE) commented:
GalloDaSballo (judge) commented:
GalloDaSballo (judge) commented:
For this contest, 15 reports were submitted by wardens detailing gas optimizations. The report highlighted below by IllIllI received the top score from the judge.
The following wardens also submitted reports: 0x1f8b, TerrierLover, saian, CertoraInc, robee, m_smirnova2020, rfa, WatchPug, d4rk, ye0lde, gzeon, Tomio, kenta, and kyliek.
To check the actual size of the reduction, hardhat-gas-reporter is used. ( https://www.npmjs.com/package/hardhat-gas-reporter ). At each result, it lists how many size of the gas is reduced after the change.
