Skip to content

Commit

Permalink
test: remove now useless assumptions
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Aug 12, 2024
1 parent a740591 commit 54bac05
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion certora/specs/Liveness.spec
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ rule canForceRemoveMarket(MetaMorphoHarness.MarketParams marketParams) {
assert !lastReverted;

require e3.msg.value == 0;
requireInvariant timelockInRange();
// Safe require as it corresponds to some time very far into the future.
require e3.block.timestamp < 2^63;
// Safe require as it corresponds to some time very far into the past.
Expand Down
4 changes: 0 additions & 4 deletions certora/specs/PendingValues.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ invariant noBadPendingTimelock()
hasNoBadPendingTimelock()
{
preserved with (env e) {
requireInvariant timelockInRange();
// Safe require as it corresponds to some time very far into the future.
require e.block.timestamp < 2^63;
// Safe require as it corresponds to some time very far into the past.
Expand All @@ -26,7 +25,6 @@ invariant smallerPendingTimelock()
{
preserved with (env e) {
requireInvariant pendingTimelockInRange();
requireInvariant timelockInRange();
// Safe require as it corresponds to some time very far into the past.
require e.block.timestamp > 0;
}
Expand All @@ -43,7 +41,6 @@ invariant noBadPendingCap(MetaMorphoHarness.Id id)
hasNoBadPendingCap(id)
{
preserved with (env e) {
requireInvariant timelockInRange();
// Safe require as it corresponds to some time very far into the future.
require e.block.timestamp < 2^63;
// Safe require as it corresponds to some time very far into the past.
Expand Down Expand Up @@ -74,7 +71,6 @@ invariant noBadPendingGuardian()
hasNoBadPendingGuardian()
{
preserved with (env e) {
requireInvariant timelockInRange();
// Safe require as it corresponds to some time very far into the future.
require e.block.timestamp < 2^63;
// Safe require as it corresponds to some time very far into the past.
Expand Down

0 comments on commit 54bac05

Please sign in to comment.