bug(forge
): warp effect is reversed when switching back to original fork
#8168
Labels
C-forge
Command: forge
Cmd-forge-script
Command: forge script
Cmd-forge-test
Command: forge test
T-bug
Type: bug
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (6179312 2024-06-10T00:18:46.177980000Z)
What command(s) is the bug in?
forge script / forge test
Operating System
macOS (Apple Silicon)
Describe the bug
Scenario: two or more forks created using
vm.createFork
cheatcodeBug: Use the
warp
cheatcode on fork1
to move to a future timestamp, then switch to fork2
, and finally switch back to fork1
. Theblock.timestamp
on fork1
will be the block just before the warp.Reproducing:
The text was updated successfully, but these errors were encountered: