Made comment changes to Burnable and Pausable spec files
This commit is contained in:
committed by
Thomas Adams
parent
657a051062
commit
1dd3b7a307
@ -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.
|
||||
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user