Skip to content

Commit b4852c7

Browse files
committed
chore: format
1 parent 9ec3522 commit b4852c7

File tree

5 files changed

+17
-10
lines changed

5 files changed

+17
-10
lines changed

src/contracts/interfaces/IEigenPodManager.sol

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,14 @@ interface IEigenPodManager is
129129
) external;
130130

131131
/// @notice Sets the address that can set proof timestamps
132-
function setProofTimestampSetter(address newProofTimestampSetter) external;
132+
function setProofTimestampSetter(
133+
address newProofTimestampSetter
134+
) external;
133135

134136
/// @notice Sets the Pectra fork timestamp, only callable by `proofTimestampSetter`
135-
function setPectraForkTimestamp(uint64 timestamp) external;
137+
function setPectraForkTimestamp(
138+
uint64 timestamp
139+
) external;
136140

137141
/// @notice Returns the address of the `podOwner`'s EigenPod if it has been deployed.
138142
function ownerToPod(

src/contracts/libraries/BeaconChainProofs.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ library BeaconChainProofs {
330330
uint64 proofTimestamp,
331331
uint64 pectraForkTimestamp
332332
) internal pure returns (uint256) {
333-
return
334-
proofTimestamp <= pectraForkTimestamp ? DENEB_BEACON_STATE_TREE_HEIGHT : PECTRA_BEACON_STATE_TREE_HEIGHT;
333+
return proofTimestamp <= pectraForkTimestamp ? DENEB_BEACON_STATE_TREE_HEIGHT : PECTRA_BEACON_STATE_TREE_HEIGHT;
335334
}
336335
}

src/contracts/pods/EigenPod.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ contract EigenPod is Initializable, ReentrancyGuardUpgradeable, EigenPodPausingC
479479

480480
// Ensure the validator's withdrawal credentials are pointed at this pod
481481
require(
482-
validatorFields.getWithdrawalCredentials() == bytes32(_podWithdrawalCredentials()) ||
483-
validatorFields.getWithdrawalCredentials() == bytes32(_podCompoundingWithdrawalCredentials()),
482+
validatorFields.getWithdrawalCredentials() == bytes32(_podWithdrawalCredentials())
483+
|| validatorFields.getWithdrawalCredentials() == bytes32(_podCompoundingWithdrawalCredentials()),
484484
WithdrawalCredentialsNotForEigenPod()
485485
);
486486

@@ -743,7 +743,7 @@ contract EigenPod is Initializable, ReentrancyGuardUpgradeable, EigenPodPausingC
743743

744744
require(success && result.length > 0, InvalidEIP4788Response());
745745
return abi.decode(result, (bytes32));
746-
}
746+
}
747747

748748
/// @notice Returns the timestamp of the Pectra fork, read from the `EigenPodManager` contract
749749
/// @dev Specifically, this returns the timestamp of the first non-missed slot at or after the Pectra hard fork

src/contracts/pods/EigenPodManager.sol

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,17 @@ contract EigenPodManager is
229229
}
230230

231231
/// @notice Sets the address that can set proof timestamps
232-
function setProofTimestampSetter(address newProofTimestampSetter) external onlyOwner {
232+
function setProofTimestampSetter(
233+
address newProofTimestampSetter
234+
) external onlyOwner {
233235
proofTimestampSetter = newProofTimestampSetter;
234236
emit ProofTimestampSetterSet(newProofTimestampSetter);
235237
}
236238

237239
/// @notice Sets the pectra fork timestamp
238-
function setPectraForkTimestamp(uint64 timestamp) external onlyProofTimestampSetter {
240+
function setPectraForkTimestamp(
241+
uint64 timestamp
242+
) external onlyProofTimestampSetter {
239243
pectraForkTimestamp = timestamp;
240244
emit PectraForkTimestampSet(timestamp);
241245
}

src/contracts/pods/EigenPodManagerStorage.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ abstract contract EigenPodManagerStorage is IEigenPodManager {
9090

9191
/// @notice Returns the amount of `shares` that have been slashed on EigenLayer but not burned yet.
9292
uint256 public burnableETHShares;
93-
93+
9494
/// @notice The address that can set proof timestamps
9595
address public proofTimestampSetter;
9696

0 commit comments

Comments
 (0)