Skip to content

Commit

Permalink
Lint unused comments and Update Interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
xhad committed Aug 15, 2024
1 parent 53e0341 commit 41c6611
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/interfaces/IStakingNode.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ interface IStakingNode {
) external;
function undelegate() external;

// function withdrawNonBeaconChainETHBalanceWei() external;
function processDelayedWithdrawals() external;

function implementation() external view returns (address);
Expand All @@ -61,14 +60,14 @@ interface IStakingNode {

/**
* @notice Verifies the withdrawal credentials and balance of validators.
* @param oracleTimestamp An array of oracle block numbers corresponding to each validator.
* @param beaconTimestamp An array of oracle block numbers corresponding to each validator.
* @param stateRootProof An array of state root proofs corresponding to each validator.
* @param validatorIndices An array of validator indices.
* @param validatorFieldsProofs An array of ValidatorFieldsAndBalanceProofs, containing the merkle proofs for validator fields and balances.
* @param validatorFields An array of arrays, each containing the validator fields to be verified.
*/
function verifyWithdrawalCredentials(
uint64 oracleTimestamp,
uint64 beaconTimestamp,
BeaconChainProofs.StateRootProof calldata stateRootProof,
uint40[] calldata validatorIndices,
bytes[] calldata validatorFieldsProofs,
Expand All @@ -89,6 +88,6 @@ interface IStakingNode {
function getUnverifiedStakedETH() external view returns (uint256);
function getQueuedSharesAmount() external view returns (uint256);
function getWithdrawnValidatorPrincipal() external view returns (uint256);

function startCheckpoint(bool revertIfNoBalance) external;
function initializeV2(uint256 initialUnverifiedStakedETH) external;
}
2 changes: 0 additions & 2 deletions src/interfaces/IStakingNodesManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
pragma solidity ^0.8.24;

import {UpgradeableBeacon} from "lib/openzeppelin-contracts/contracts/proxy/beacon/UpgradeableBeacon.sol";
// import {IDelayedWithdrawalRouter} from "lib/eigenlayer-contracts/src/contracts/interfaces/IDelayedWithdrawalRouter.sol";
import {IDelegationManager} from "lib/eigenlayer-contracts/src/contracts/interfaces/IDelegationManager.sol";
import {IStrategyManager} from "lib/eigenlayer-contracts/src/contracts/interfaces/IStrategyManager.sol";
import {RewardsType} from "src/interfaces/IRewardsDistributor.sol";
Expand Down Expand Up @@ -35,7 +34,6 @@ interface IStakingNodesManager {
function delegationManager() external view returns (IDelegationManager);
function strategyManager() external view returns (IStrategyManager);

// function delayedWithdrawalRouter() external view returns (IDelayedWithdrawalRouter);
function getAllValidators() external view returns (Validator[] memory);
function getAllNodes() external view returns (IStakingNode[] memory);
function isStakingNodesOperator(address) external view returns (bool);
Expand Down

0 comments on commit 41c6611

Please sign in to comment.