mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-02 13:23:10 +00:00
New mutation for extendLock
This commit is contained in:
parent
ff6b69caed
commit
4dff946866
12
certora/mutations/038_extendLock_beyond_max.patch
Normal file
12
certora/mutations/038_extendLock_beyond_max.patch
Normal 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;
|
||||
}
|
||||
|
||||
1
certora/mutations/VaultBase/038_extendLock_beyond_max.patch
Symbolic link
1
certora/mutations/VaultBase/038_extendLock_beyond_max.patch
Symbolic link
@ -0,0 +1 @@
|
||||
../038_extendLock_beyond_max.patch
|
||||
Loading…
x
Reference in New Issue
Block a user