Solidity REPL
VM helpers

Move block time

Change block.timestamp during the run with vm.warp.

Solidity 0.8.36REPL mode

Why use this example

Use this pattern to shape local EVM state directly while keeping the setup and its visible effect in the same investigation. The entry isolates move block time so its input, result, and state changes stay easy to compare.

Solidity to run

vm.warp(1_800_000_000)
block.timestamp

What to expect

vm.warp changes the local block timestamp to 1,800,000,000 and block.timestamp confirms it.

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 VM helpers Execution diagnosis