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

reward address change and unit tests #204

Merged
merged 6 commits into from
Sep 21, 2023
Merged

Conversation

manoj9april
Copy link

@manoj9april manoj9april commented Sep 7, 2023

  • reward address change is a 2 step process now
  • separated out reward address and opName change
  • updated unit tests

contracts/PermissionedNodeRegistry.sol Outdated Show resolved Hide resolved
contracts/PermissionedNodeRegistry.sol Show resolved Hide resolved
contracts/PermissionedNodeRegistry.sol Show resolved Hide resolved
UtilLib.checkNonZeroAddress(_rewardAddress);
uint256 _operatorId = operatorIDByAddress[_operatorAddress];
address operatorRewardAddress = operatorStructById[_operatorId].operatorRewardAddress;

Choose a reason for hiding this comment

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

currentRewardAddress

@manoj9april manoj9april merged commit ad3a4a5 into mainnet_V0 Sep 21, 2023
0 of 4 checks passed
@manoj9april manoj9april deleted the reward-address-change branch September 21, 2023 07:12
jac18281828 pushed a commit that referenced this pull request Apr 18, 2024
* reward address change and unit tests

* rename

* added ut for invalid operator

* rename

* renames and ut

* renames
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.

4 participants