Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review of test/role-updates: Updates to Oracle and RewardsDistro, test updates #87

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

xhad
Copy link
Contributor

@xhad xhad commented Apr 12, 2024

Contract Changes

  • Initializable import is not required on RewardsDistributor.sol as it comes with AccessControlUpgradable
  • YieldNestOracle was still using ADMIN_ROLE instead of DEFAULT_ADMIN_ROLE and thus role updates were bricked.
  • Updates to the Roles test after making role updates to Oracle.

@xhad xhad requested review from danoctavian and gearcat0 April 12, 2024 06:26
@xhad xhad changed the title Updates to Oracle and RewardsDistro, test updates Review of Role Updates: Updates to Oracle and RewardsDistro, test updates Apr 12, 2024
@xhad xhad changed the title Review of Role Updates: Updates to Oracle and RewardsDistro, test updates Review of test/role-updates: Updates to Oracle and RewardsDistro, test updates Apr 12, 2024
Copy link
Contributor

@danoctavian danoctavian left a comment

Choose a reason for hiding this comment

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

LGTM

@danoctavian danoctavian merged commit 12cdf0f into test/role-updates Apr 12, 2024
1 check failed
@xhad xhad deleted the test/role-updates-review branch April 15, 2024 21:02
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.

2 participants