Skip to content

Commit

Permalink
Update test/groups/upgradeableProxy/adminOperationsUpgradeableRenounc…
Browse files Browse the repository at this point in the history
…eableProxy.t.sol


improve comment clarity for internal function _upgradeToAndCall
  • Loading branch information
roleengineer authored Nov 25, 2024
1 parent 912e343 commit f4ae7e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ contract adminOperationsUpgradeableRenounceableProxy is Test, GroupSetup {
assertEq(balanceAfter, balanceBefore + _amount);
}

/// @dev makes admin (set to group) upgradeToAndCall call until admin is not renounced
/// @dev calls the upgradeToAndCall function by the proxy admin (works until admin is renounced)
function _upgradeToAndCall(address newImplementation, bytes memory data) internal {
// upgrade the proxy to the new implementation
_expectEmitUpgradedEvent(newImplementation);
Expand Down

0 comments on commit f4ae7e7

Please sign in to comment.