Closed sherlock-admin4 closed 4 months ago
CodeWasp
high
Edition.transferWork
Edition.transferWork does not update the work's fee route, keeps sending fee payments to initial creator.
Edition.transferWork changes the work's creator, but doesn't update the fee route in FeeManager.
FeeManager
Fee payments still go to the initial creator.
https://github.com/sherlock-audit/2024-04-titles/blob/main/wallflower-contract-v2/src/editions/Edition.sol#L412-L420
Manual Review
Update fee route when work is transferred.
Duplicate of #283
CodeWasp
high
Edition.transferWork
does not update fee routesSummary
Edition.transferWork
does not update the work's fee route, keeps sending fee payments to initial creator.Vulnerability Detail
Edition.transferWork
changes the work's creator, but doesn't update the fee route inFeeManager
.Impact
Fee payments still go to the initial creator.
Code Snippet
https://github.com/sherlock-audit/2024-04-titles/blob/main/wallflower-contract-v2/src/editions/Edition.sol#L412-L420
Tool used
Manual Review
Recommendation
Update fee route when work is transferred.
Duplicate of #283