Closed code423n4 closed 2 years ago
Make the ProxyVault.sol implementation immutable
ProxyVault.sol
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.
address payable immutable public factory; -> address payable immutable public implementation
We want to be able to update implementation.
Gas
Make the
ProxyVault.sol
implementation immutableaddress 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.