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
Within a foundry test script I am assigning a uint256 variable the value of block.timestamp. Later on after running skip() the original variable automatically updats to reflect the new block.timestamp without the variable being manually reassigned in the code.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (d28a337 2024-08-27T00:19:36.462740000Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Apple Silicon)
Describe the bug
Within a foundry test script I am assigning a
uint256
variable the value ofblock.timestamp
. Later on after runningskip()
the original variable automatically updats to reflect the newblock.timestamp
without the variable being manually reassigned in the code.Current Code:
The text was updated successfully, but these errors were encountered: