2018-10-18 13:03:52 +00:00
|
|
|
contract C
|
|
|
|
{
|
|
|
|
function f() public payable {
|
|
|
|
assert(msg.sender == block.coinbase);
|
|
|
|
assert(block.difficulty == block.gaslimit);
|
|
|
|
assert(block.number == block.timestamp);
|
|
|
|
assert(tx.gasprice == msg.value);
|
|
|
|
assert(tx.origin == msg.sender);
|
|
|
|
uint x = block.number;
|
2020-12-16 17:32:34 +00:00
|
|
|
unchecked { x += 2; }
|
|
|
|
assert(x > block.number);
|
2020-05-05 11:33:28 +00:00
|
|
|
assert(block.timestamp > 10);
|
2018-10-18 13:03:52 +00:00
|
|
|
assert(gasleft() > 100);
|
|
|
|
}
|
|
|
|
}
|
2021-01-20 10:22:28 +00:00
|
|
|
// ====
|
2021-03-31 15:11:54 +00:00
|
|
|
// SMTEngine: all
|
2021-01-20 10:22:28 +00:00
|
|
|
// SMTIgnoreCex: yes
|
2018-10-18 13:03:52 +00:00
|
|
|
// ----
|
2021-03-31 15:11:54 +00:00
|
|
|
// Warning 6328: (46-82): CHC: Assertion violation happens here.
|
|
|
|
// Warning 6328: (86-128): CHC: Assertion violation happens here.
|
|
|
|
// Warning 6328: (132-171): CHC: Assertion violation happens here.
|
|
|
|
// Warning 6328: (175-207): CHC: Assertion violation happens here.
|
|
|
|
// Warning 6328: (211-242): CHC: Assertion violation happens here.
|
|
|
|
// Warning 6328: (295-319): CHC: Assertion violation happens here.
|
|
|
|
// Warning 6328: (323-351): CHC: Assertion violation happens here.
|
|
|
|
// Warning 6328: (355-378): CHC: Assertion violation happens here.
|