Closed andreivladbrg closed 1 month ago
The _update hook implemented from ERC721 is placed under CONSTANT header and it should be under NON-CONSTANT:
_update
ERC721
CONSTANT
NON-CONSTANT
https://github.com/sablier-labs/v2-core/blob/350fcceddd60736193b71f576093b51f31d7b1e5/src/abstracts/SablierV2Lockup.sol#L459
https://github.com/sablier-labs/v2-core/blob/350fcceddd60736193b71f576093b51f31d7b1e5/src/abstracts/SablierV2Lockup.sol#L522
The
_update
hook implemented fromERC721
is placed underCONSTANT
header and it should be underNON-CONSTANT
:https://github.com/sablier-labs/v2-core/blob/350fcceddd60736193b71f576093b51f31d7b1e5/src/abstracts/SablierV2Lockup.sol#L459
https://github.com/sablier-labs/v2-core/blob/350fcceddd60736193b71f576093b51f31d7b1e5/src/abstracts/SablierV2Lockup.sol#L522