Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump core fix iface changes #352

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/eigenlayer-contracts
2 changes: 1 addition & 1 deletion test/integration/User.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
39 changes: 33 additions & 6 deletions test/mocks/DelegationMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 6 additions & 0 deletions test/mocks/EigenPodManagerMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
}
}
Loading