79509965

Date: 2025-03-14 18:31:19
Score: 1.5
Natty:
Report link

Also, in Solidity, be careful not to use calldata as the storage type for a function’s return value. calldata is a special, read-only storage location used for function inputs in external calls, and its data only exists during the function’s execution. Once the function finishes, the calldata scope ends, making it unavailable for return values. Instead, return values must use memory or storage types always!

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Tony N.