From f4ae7e7ce30536882884e21d7598d86afc41e4bd Mon Sep 17 00:00:00 2001 From: Yevgeniy <35062472+roleengineer@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:09:23 +0100 Subject: [PATCH] Update test/groups/upgradeableProxy/adminOperationsUpgradeableRenounceableProxy.t.sol improve comment clarity for internal function _upgradeToAndCall --- .../adminOperationsUpgradeableRenounceableProxy.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/groups/upgradeableProxy/adminOperationsUpgradeableRenounceableProxy.t.sol b/test/groups/upgradeableProxy/adminOperationsUpgradeableRenounceableProxy.t.sol index 6a2f13b..bbab458 100644 --- a/test/groups/upgradeableProxy/adminOperationsUpgradeableRenounceableProxy.t.sol +++ b/test/groups/upgradeableProxy/adminOperationsUpgradeableRenounceableProxy.t.sol @@ -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);