fv/Governor
Hadrien Croubois 2 years ago
parent e1120b9137
commit 728e2c8899
  1. 6
      certora/specs/GovernorFunctions.spec

@ -123,14 +123,14 @@ rule queue(uint256 pId, env e) {
// effect
assert success => (
state(e, pId) == QUEUED()
state(e, pId) == QUEUED() &&
!queuedBefore &&
isQueued(pId)
);
// no side-effect
assert state(e, otherId) != otherStateBefore => otherId == pId;
assert isQueued(otherId) != queuedBefore => otherId == pId;
assert state(e, otherId) != otherStateBefore => otherId == pId;
assert isQueued(otherId) != otherQueuedBefore => otherId == pId;
}
/*

Loading…
Cancel
Save