calldata vs memory in solidity gas usage #131
Labels
bug
Something isn't working
G (Gas Optimization)
LinearVesting
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
pants
Vulnerability details
use calldata instead of memory when possible to save GAS
For example in LinearVesting.sol the following function (constructor) could be changed to:
could be changed to:
The text was updated successfully, but these errors were encountered: