-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block_timestamp
appendix revamp (#2019)
<!-- Reference any GitHub issues resolved by this PR --> Related: #1439 ## Introduced changes <!-- A brief description of the changes --> - ## Checklist <!-- Make sure all of these are complete --> - [x] Linked relevant issue - [x] Updated relevant documentation - [x] Added relevant tests - [x] Performed self-review of the code - [x] Added changes to `CHANGELOG.md`
- Loading branch information
Showing
8 changed files
with
33 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# `block_timestamp` | ||
|
||
Cheatcodes modifying `block_timestamp`: | ||
|
||
## `warp` | ||
|
||
> `fn warp(target: CheatTarget, block_timestamp: u64, span: CheatSpan)` | ||
Changes the block timestamp for the given target and span. | ||
|
||
## `start_warp` | ||
> `fn start_warp(target: CheatTarget, block_timestamp: u64)` | ||
Changes the block timestamp for the given target. | ||
|
||
## `stop_warp` | ||
|
||
> `fn stop_warp(target: CheatTarget)` | ||
Cancels the `warp` / `start_warp` for the given target. |
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
docs/src/appendix/cheatcodes/block_timestamp/start_warp.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters