Open code423n4 opened 3 years ago
jonah1005
Using calldata for function parameter is a slightly more gas efficient
calldata
https://github.com/code-423n4/2021-07-sherlock/blob/main/contracts/facets/SherX.sol#L192-L225
None
ref: https://mudit.blog/solidity-gas-optimization-tips/
Handle
jonah1005
Vulnerability details
Impact
Using
calldata
for function parameter is a slightly more gas efficientProof of Concept
https://github.com/code-423n4/2021-07-sherlock/blob/main/contracts/facets/SherX.sol#L192-L225
Tools Used
None
Recommended Mitigation Steps
ref: https://mudit.blog/solidity-gas-optimization-tips/