Skip to content

Commit d54835c

Browse files
authored
chore: bump core fix iface changes (#352)
* chore: bump dep * fix: iface changes and param names
1 parent 865b490 commit d54835c

File tree

4 files changed

+41
-8
lines changed

4 files changed

+41
-8
lines changed

lib/eigenlayer-contracts

test/integration/User.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ contract User is Test {
271271
params[0] = IDelegationManagerTypes.QueuedWithdrawalParams({
272272
strategies: strategies,
273273
depositShares: shares,
274-
withdrawer: address(this)
274+
__deprecated_withdrawer: address(this)
275275
});
276276

277277
delegationManager.queueWithdrawals(params);

test/mocks/DelegationMock.sol

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,40 @@ contract DelegationIntermediate is IDelegationManager {
232232
uint256 wadSlashed
233233
) external virtual {}
234234

235-
function decreaseDelegatedShares(
236-
address staker,
237-
uint256 curDepositShares,
238-
uint64 beaconChainSlashingFactorDecrease
239-
) external virtual {}
235+
function decreaseDelegatedShares(
236+
address staker,
237+
uint256 curDepositShares,
238+
uint64 beaconChainSlashingFactorDecrease
239+
) external virtual {}
240+
241+
function minWithdrawalDelayBlocks()
242+
external
243+
view
244+
virtual
245+
override
246+
returns (uint32)
247+
{}
240248

241-
function minWithdrawalDelayBlocks() external view virtual override returns (uint32) {}
249+
function slashOperatorShares(
250+
address operator,
251+
IStrategy strategy,
252+
uint64 prevMaxMagnitude,
253+
uint64 newMaxMagnitude
254+
) external override {}
255+
256+
function getQueuedWithdrawal(
257+
bytes32 withdrawalRoot
258+
) external view override returns (Withdrawal memory) {}
259+
260+
function getQueuedWithdrawalRoots(
261+
address staker
262+
) external view override returns (bytes32[] memory) {}
263+
264+
function convertToDepositShares(
265+
address staker,
266+
IStrategy[] memory strategies,
267+
uint256[] memory withdrawableShares
268+
) external view override returns (uint256[] memory) {}
242269
}
243270

244271
contract DelegationMock is DelegationIntermediate {

test/mocks/EigenPodManagerMock.sol

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,10 @@ contract EigenPodManagerMock is Test, Pausable, IEigenPodManager {
9494
int256 balanceDeltaWei
9595
) external {
9696
}
97+
98+
function burnableETHShares() external view returns (uint256) {
99+
}
100+
101+
function increaseBurnableShares(IStrategy strategy, uint256 addedSharesToBurn) external {
102+
}
97103
}

0 commit comments

Comments
 (0)