diff --git a/lib/eigenlayer-contracts b/lib/eigenlayer-contracts index 85e12bab..22de8094 160000 --- a/lib/eigenlayer-contracts +++ b/lib/eigenlayer-contracts @@ -1 +1 @@ -Subproject commit 85e12bab5f3d4c6ff21790fe5909755ee7154b07 +Subproject commit 22de809403924707ccce6998e62b868bfae0fc58 diff --git a/test/integration/User.t.sol b/test/integration/User.t.sol index 4b58950a..23e9ffcc 100644 --- a/test/integration/User.t.sol +++ b/test/integration/User.t.sol @@ -271,7 +271,7 @@ contract User is Test { params[0] = IDelegationManagerTypes.QueuedWithdrawalParams({ strategies: strategies, depositShares: shares, - withdrawer: address(this) + __deprecated_withdrawer: address(this) }); delegationManager.queueWithdrawals(params); diff --git a/test/mocks/DelegationMock.sol b/test/mocks/DelegationMock.sol index e3b1ed77..36f973da 100644 --- a/test/mocks/DelegationMock.sol +++ b/test/mocks/DelegationMock.sol @@ -232,13 +232,40 @@ contract DelegationIntermediate is IDelegationManager { uint256 wadSlashed ) external virtual {} - function decreaseDelegatedShares( - address staker, - uint256 curDepositShares, - uint64 beaconChainSlashingFactorDecrease - ) external virtual {} + function decreaseDelegatedShares( + address staker, + uint256 curDepositShares, + uint64 beaconChainSlashingFactorDecrease + ) external virtual {} + + function minWithdrawalDelayBlocks() + external + view + virtual + override + returns (uint32) + {} - function minWithdrawalDelayBlocks() external view virtual override returns (uint32) {} + function slashOperatorShares( + address operator, + IStrategy strategy, + uint64 prevMaxMagnitude, + uint64 newMaxMagnitude + ) external override {} + + function getQueuedWithdrawal( + bytes32 withdrawalRoot + ) external view override returns (Withdrawal memory) {} + + function getQueuedWithdrawalRoots( + address staker + ) external view override returns (bytes32[] memory) {} + + function convertToDepositShares( + address staker, + IStrategy[] memory strategies, + uint256[] memory withdrawableShares + ) external view override returns (uint256[] memory) {} } contract DelegationMock is DelegationIntermediate { diff --git a/test/mocks/EigenPodManagerMock.sol b/test/mocks/EigenPodManagerMock.sol index cefd5b7a..700d1840 100644 --- a/test/mocks/EigenPodManagerMock.sol +++ b/test/mocks/EigenPodManagerMock.sol @@ -94,4 +94,10 @@ contract EigenPodManagerMock is Test, Pausable, IEigenPodManager { int256 balanceDeltaWei ) external { } + + function burnableETHShares() external view returns (uint256) { + } + + function increaseBurnableShares(IStrategy strategy, uint256 addedSharesToBurn) external { + } } \ No newline at end of file