ccip
ccip copied to clipboard
[DEVEL] CCIP Receiver incompatibility with AccessControlDefaultAdminRules from OpenZeppelin
Description
The CCIPReceive abstract contract is incompatible with the AccessControlDefaultAdminRules from OpenZeppelin, when implementing both, we need to override the supportsInterface(bytes4) function, but they have different state mutability, CCIPReceive uses pure, and AccessControlDefaultAdminRules uses view. So we can't override it and use super.supportsInterface(bytes4) for example
Steps to Reproduce
- Implement CCIP Receive (Latest Version)
- Implement AccessControlDefaultAdminRules (Latest Version)
Additional Information Perhaps change the state mutability to view? because pure can override view, but the inverse is not possible