Open code423n4 opened 3 years ago
pauliax
Library LibSherXERC20 declares and emits Transfer event so I also expected to see the Approval event emitted in function approve.
Declare and emit Approval(_from, _to, _amount);
The library function is called one, an approval event is submitted there https://github.com/code-423n4/2021-07-sherlock/blob/main/contracts/facets/SherXERC20.sol#L90
per sponsor comment, invalid
Handle
pauliax
Vulnerability details
Impact
Library LibSherXERC20 declares and emits Transfer event so I also expected to see the Approval event emitted in function approve.
Recommended Mitigation Steps
Declare and emit Approval(_from, _to, _amount);