New mutation for extendLock

This commit is contained in:
Jochen Hoenicke 2025-08-01 18:10:33 +02:00
parent ff6b69caed
commit 4dff946866
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff --git a/contracts/vault/VaultBase.sol b/contracts/vault/VaultBase.sol
index be21481..e461233 100644
--- a/contracts/vault/VaultBase.sol
+++ b/contracts/vault/VaultBase.sol
@@ -117,7 +117,6 @@ abstract contract VaultBase {
require(fund.status() == FundStatus.Locked, VaultFundNotLocked());
require(fund.lockExpiry <= expiry, VaultInvalidExpiry());
fund.lockExpiry = expiry;
- _checkLockInvariant(fund);
_funds[controller][fundId] = fund;
}

View File

@ -0,0 +1 @@
../038_extendLock_beyond_max.patch