This commit is contained in:
Hadrien Croubois
2023-03-14 11:49:16 +01:00
parent e1120b9137
commit 728e2c8899

View File

@ -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;
}
/*