You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the EVM, block.timestamp represents the block time (i.e., the timestamp when the current block is mined), not the local system time.
Therefore, using block.timestamp in a transaction (tx) implies that the deadline for this tx is effectively "forever," making block.timestamp + 60 entirely equivalent to block.timestamp alone.
If you want to enforce a time constraint on a pending tx, you should not rely on block.timestamp. Instead, use the user's local system time plus a fixed duration (e.g., 60 seconds).