code-423n4 / 2022-06-nibbl-findings

1 stars 0 forks source link

Gas Optimizations #276

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Gas

Make the ProxyVault.sol implementation immutable

address payable immutable public factory; -> address payable immutable public implementation Will save 2.1k gas each time the vault is interacted with, this is probably the biggest singe gas saving you'll find and addresses another report I sent.

mundhrakeshav commented 2 years ago

We want to be able to update implementation.