rewind
Signature
function rewind(uint256 time) public;
Description
Rewinds block.timestamp
by the specified number of seconds.
Examples
assertEq(block.timestamp, 3600);
rewind(3600);
assertEq(block.timestamp, 0);
rewind
function rewind(uint256 time) public;
Rewinds block.timestamp
by the specified number of seconds.
assertEq(block.timestamp, 3600);
rewind(3600);
assertEq(block.timestamp, 0);