From 7bdeaede9d5f8e6e760a9ca6e5bbbacba662416b Mon Sep 17 00:00:00 2001 From: skhomuti Date: Wed, 27 Dec 2023 13:38:35 +0500 Subject: [PATCH] feat: submit withdrawal base method --- src/CSModule.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CSModule.sol b/src/CSModule.sol index 615d7bf0..f748bc2e 100644 --- a/src/CSModule.sol +++ b/src/CSModule.sol @@ -967,6 +967,7 @@ contract CSModule is ICSModule, CSModuleBase { if ( no.isTargetLimitActive && + // TODO: totalExited or totalWithdrawn? vetKeysPointer > (no.totalExitedKeys + no.targetLimit) ) revert TargetLimitExceeded(); if (no.stuckValidatorsCount > 0) revert StuckKeysPresent();