make ERC2981:royaltyInfo public#3305
Conversation
|
@Amxx and @JulissaDantes - one thought around this (I was the person who submitted this issue...) |
|
ERC define interfaces which have the function marked external. Making it public doesn't change the interfaceId or the function selector. You can see that other ERC (20, 721, ...) also define interfaces with external function that end up being implement in a public way. |
(cherry picked from commit d2832ca) Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
@Amxx - I was hoping that was the case; makes sense. |
| # Changelog | ||
|
|
||
| ## Unreleased | ||
| * `ERC2981`: make `royaltiInfo` public to allow super call in overrides. ([#3305](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3305)) |
There was a problem hiding this comment.
Nothing major, but royaltiInfo should be corrected to royaltyInfo
* 4.6.0-rc.0 * Fix release script to only release @OpenZeppelin/contracts (cherry picked from commit 2bd75a4) * make ERC2981:royaltyInfo public (#3305) (cherry picked from commit d2832ca) Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com> * add transpilation guards to the crosschain mocks (#3306) (cherry picked from commit 9af5af8) Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com> * Fix tests on upgradeable contracts after transpilation (cherry picked from commit 0762479) Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com> * Remove unused constructor argument (cherry picked from commit 69c3781) Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com> * Bump minimum Solidity version for Initializable.sol to 0.8.2 (#3328) (cherry picked from commit cb14ea3) * Fix update-comment script to ignore invalid tags (cherry picked from commit 848fef5) Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com> * 4.6.0 Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Fixes #3304
PR Checklist