Timestamp deadline
Test time-based logic with a prefilled block timestamp.
Solidity 0.8.36REPL mode
Why use this example
Use this pattern when the answer depends on transaction fields, block data, chain identity, payable value, or live RPC state. The entry isolates timestamp deadline so its input, result, and state changes stay easy to compare.
Solidity to run
uint256 deadline = 1_800_000_100
block.timestamp
block.timestamp < deadlineWhat to expect
With the prefilled timestamp, the run shows the current block time and evaluates the deadline check as true.
Continue the investigation
Change a value, add another expression, or open Inspect after the run. Accepted entries remain available to the next entry, and the clean replay keeps the complete result reproducible.
Read about execution controls Deployed contract investigation