Made comment changes to Burnable and Pausable spec files

This commit is contained in:
Thomas Adams
2022-05-26 14:08:33 -07:00
committed by Thomas Adams
parent 657a051062
commit 1dd3b7a307
2 changed files with 1 additions and 3 deletions

View File

@ -14,7 +14,7 @@ rule onlyApprovedCanReduceBalance {
uint256 balanceAfter = balanceOf(holder, token);
assert balanceAfter < balanceBefore => e.msg.sender == holder || isApprovedForAll(holder, e.msg.sender);
assert balanceAfter < balanceBefore => e.msg.sender == holder || isApprovedForAll(holder, e.msg.sender); // TODO add assert message
}
/// This rule should always fail.

View File

@ -36,8 +36,6 @@ filtered {
"Transfer methods must revert in a paused contract";
}
/// Calling pause must pause an unpaused contract.
/// When a contract is in an unpaused state, calling pause() must pause.
rule pauseMethodPausesContract {
require !paused();