made the spec run
This commit is contained in:
@ -1,6 +1,22 @@
|
||||
import "../../munged/token/ERC1155/extensions/ERC1155Pausable.sol"
|
||||
import "../../munged/token/ERC1155/extensions/ERC1155Pausable.sol";
|
||||
|
||||
contract ERC1155PausableHarness is ERC1155Pausable {
|
||||
constructor(string memory uri_)
|
||||
ERC1155(uri_)
|
||||
{}
|
||||
|
||||
function pause() public {
|
||||
_pause();
|
||||
}
|
||||
|
||||
function unpause() public {
|
||||
_unpause();
|
||||
}
|
||||
|
||||
function onlyWhenPausedMethod() public whenPaused {
|
||||
}
|
||||
|
||||
function onlyWhenNotPausedMethod() public whenNotPaused {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
certoraRun \
|
||||
certora/harness/ERC1155/ERC1155PausableHarness.sol \
|
||||
certora/harnesses/ERC1155/ERC1155PausableHarness.sol \
|
||||
--verify ERC1155PausableHarness:certora/specs/ERC1155Pausable.spec \
|
||||
--solc solc8.2 \
|
||||
--optimistic_loop \
|
||||
|
||||
9
certora/specs/ERC1155Pausable.spec
Normal file
9
certora/specs/ERC1155Pausable.spec
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
rule sanity {
|
||||
method f; env e; calldataarg args;
|
||||
|
||||
f(e, args);
|
||||
|
||||
assert false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user