@@ -78,7 +78,7 @@ contract EigenPodManagerUnitTests is EigenLayerUnitTestSetup, IEigenPodManagerEv
78
78
79
79
if (shares >= 0 ) {
80
80
cheats.prank (address (delegationManagerMock));
81
- eigenPodManager.addShares (podOwner, beaconChainETHStrategy, IERC20 ( address ( 0 )), uint256 (shares));
81
+ eigenPodManager.addShares (podOwner, beaconChainETHStrategy, uint256 (shares));
82
82
} else {
83
83
EigenPodManagerWrapper (address (eigenPodManager)).setPodOwnerShares (podOwner, shares);
84
84
}
@@ -193,20 +193,20 @@ contract EigenPodManagerUnitTests_ShareUpdateTests is EigenPodManagerUnitTests {
193
193
cheats.assume (notDelegationManager != address (delegationManagerMock));
194
194
cheats.prank (notDelegationManager);
195
195
cheats.expectRevert (IEigenPodManagerErrors.OnlyDelegationManager.selector );
196
- eigenPodManager.addShares (defaultStaker, IStrategy (address (0 )), IERC20 ( address ( 0 )), 0 );
196
+ eigenPodManager.addShares (defaultStaker, IStrategy (address (0 )), 0 );
197
197
}
198
198
199
199
function test_addShares_revert_podOwnerZeroAddress () public {
200
200
cheats.prank (address (delegationManagerMock));
201
201
cheats.expectRevert (IEigenPodErrors.InputAddressZero.selector );
202
- eigenPodManager.addShares (address (0 ), beaconChainETHStrategy, IERC20 ( address ( 0 )), 0 );
202
+ eigenPodManager.addShares (address (0 ), beaconChainETHStrategy, 0 );
203
203
}
204
204
205
205
function testFuzz_addShares_revert_sharesNegative (int256 shares ) public {
206
206
cheats.assume (shares < 0 );
207
207
cheats.prank (address (delegationManagerMock));
208
208
cheats.expectRevert (IEigenPodManagerErrors.SharesNegative.selector );
209
- eigenPodManager.addShares (defaultStaker, beaconChainETHStrategy, IERC20 ( address ( 0 )), uint256 (shares));
209
+ eigenPodManager.addShares (defaultStaker, beaconChainETHStrategy, uint256 (shares));
210
210
}
211
211
212
212
function testFuzz_addShares (uint256 shares ) public {
@@ -217,7 +217,7 @@ contract EigenPodManagerUnitTests_ShareUpdateTests is EigenPodManagerUnitTests {
217
217
218
218
// Add shares
219
219
cheats.prank (address (delegationManagerMock));
220
- eigenPodManager.addShares (defaultStaker, beaconChainETHStrategy, IERC20 ( address ( 0 )), shares);
220
+ eigenPodManager.addShares (defaultStaker, beaconChainETHStrategy, shares);
221
221
222
222
// Check storage update
223
223
assertEq (eigenPodManager.podOwnerDepositShares (defaultStaker), int256 (shares), "Incorrect number of shares added " );
0 commit comments