Skip to content

Conversation

@ilikesymmetry
Copy link
Collaborator

@ilikesymmetry ilikesymmetry commented Oct 6, 2025

Double check asks:

  1. 7201 namespace change (can use cast index-7201 command
  2. Reorder of checks for hasRole for gas optimization in more likely hot path

Comment on lines -268 to +303
return account == owner() || super.hasRole(role, account);
return super.hasRole(role, account) || account == owner();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

non-zero source change

Comment on lines -60 to +66
0xe3aaf266708e5133bd922e269bb5e8f72a7444c3b231cbf562ddc67a383e5700;
0x015aa89e92b56dd64cffc1c9b26553e653b294bc48004bbcc753732d19b11100;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

non-zero source change

@ilikesymmetry ilikesymmetry merged commit 679c558 into main Oct 6, 2025
7 checks passed
@ilikesymmetry ilikesymmetry deleted the conner/style-10-06 branch October 6, 2025 23:07
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