Skip to content

Commit

Permalink
Revert "fix: statemind - Slashing in the future"
Browse files Browse the repository at this point in the history
This reverts commit f7a679b.
  • Loading branch information
alrxy committed Jan 20, 2025
1 parent 6020ffa commit 81881a7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/managers/VaultManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ abstract contract VaultManager is NetworkStorage, SlashingWindowStorage, Capture
error NoSlasher();
error TooOldTimestampSlash();
error NotOperatorSpecificVault();
error FutureTimestampSlash();

/// @custom:storage-location erc7201:symbiotic.storage.VaultManager
struct VaultManagerStorage {
Expand Down Expand Up @@ -645,11 +644,6 @@ abstract contract VaultManager is NetworkStorage, SlashingWindowStorage, Capture
bytes memory hints
) internal returns (uint256 response) {
VaultManagerStorage storage $ = _getVaultManagerStorage();

if (timestamp > _now()) {
revert FutureTimestampSlash();
}

if (!($._sharedVaults.contains(vault) || $._operatorVaults[operator].contains(vault))) {
revert NotOperatorVault();
}
Expand Down

0 comments on commit 81881a7

Please sign in to comment.