Block Context
Transactions sent to your Stagenet are executed inside replayed blocks. They see block values drawn from both the replayed chain and your Stagenet configuration.
Block number
block.number matches the block currently being replayed from the chain your Stagenet follows.
Block timestamp
block.timestamp is the timestamp of the replayed block, so time-dependent contracts behave as they would at that point on the replayed chain.
Chain ID
By default, a Stagenet uses its own randomly generated chain ID — this is what the CHAINID opcode and eth_chainId return, and it lets wallets add the Stagenet as a distinct network.
You can set a custom chain ID (for example, mirroring the forked chain’s ID for EIP-155-sensitive flows) in your Stagenet’s settings.
Gas
Stagenets use standard EVM gas metering. Gas-related block fields, such as gasPrice and baseFee, follow the block currently being replayed.
Transactions still require the chain’s native gas token, such as ETH on an Ethereum or Base Stagenet. Fund wallets with the Faucet or contract.dev generate-wallet.