Submitted by HollaDieWaldfee, also found by 0xNazgul, hansfriese, cccz, and obront
On the Code4rena page of this contest there is a SALES PATTERNS section that describes the flow of how to use Sales:
https://code4rena.com/contests/2022-12-escher-contest
It contains this statement:
So an artist should be able to call the setTokenRoyalty function on the Escher721 contract.
However this function cannot be called. It does not exist. There exists a _setTokenRoyalty in ERC2981.sol from OpenZeppelin. This function however is internal (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/3d7a93876a2e5e1d7fe29b5a0e96e222afdc4cfa/contracts/token/common/ERC2981.sol#L94).
So there is no setTokenRoyalty function that can be called by the artist. So an artist cannot set a royalty individually for a token as is stated in the documentation.
I tried calling setTokenRoyalty from inside Escher721.t.sol with the following test:
This wont even compile because the setTokenRoyalty function does not exist.
VS Code
In order to expose the internal _setTokenRoyalty function to the artist, add the following function to the Escher721 contract:
mehtaculous (Escher) disputed 
