Skip to content

Conversation

@Le-Caignec
Copy link
Contributor

No description provided.

@Le-Caignec Le-Caignec self-assigned this May 19, 2025
src/RLCOFT.sol Outdated
Comment on lines 54 to 60
function owner()
public
view
override(OwnableUpgradeable, AccessControlDefaultAdminRulesUpgradeable)
returns (address)
{
return AccessControlDefaultAdminRulesUpgradeable.owner();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need a double check here @zguesmi 🙂

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to return the actual owner of the contract otherwise it can lead to errors.

@Le-Caignec Le-Caignec marked this pull request as ready for review May 19, 2025 14:51
@Le-Caignec Le-Caignec requested a review from zguesmi May 19, 2025 14:51
@Le-Caignec Le-Caignec requested a review from zguesmi May 19, 2025 15:40
@zguesmi zguesmi changed the title Feature/make contract upgradable feat: make contracts upgradable May 20, 2025
src/RLCOFT.sol Outdated
Comment on lines 54 to 60
function owner()
public
view
override(OwnableUpgradeable, AccessControlDefaultAdminRulesUpgradeable)
returns (address)
{
return AccessControlDefaultAdminRulesUpgradeable.owner();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to return the actual owner of the contract otherwise it can lead to errors.

@Le-Caignec
Copy link
Contributor Author

Le-Caignec commented May 21, 2025

i fix to change and use owner from OwnableUpgradeable
Commit: 0f7cbc6

@Le-Caignec Le-Caignec requested a review from zguesmi May 21, 2025 15:20
Copy link
Member

@zguesmi zguesmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

@Le-Caignec Le-Caignec merged commit 3dbc015 into develop May 21, 2025
2 checks passed
@Le-Caignec Le-Caignec deleted the feature/make-contract-upgradable branch May 21, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants