Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cheatcodes): update cool status, fix AccountAccessKind ordering #6641

Merged
merged 2 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions crates/cheatcodes/assets/cheatcodes.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions crates/cheatcodes/spec/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ interface Vm {
Balance,
/// The account's codesize was read.
Extcodesize,
/// The account's code was copied.
Extcodecopy,
/// The account's codehash was read.
Extcodehash,
/// The account's code was copied.
Extcodecopy,
}

/// An Ethereum log. Returned by `getRecordedLogs`.
Expand Down Expand Up @@ -352,7 +352,7 @@ interface Vm {
function store(address target, bytes32 slot, bytes32 value) external;

/// Marks the slots of an account and the account address as cold.
#[cheatcode(group = Evm, safety = Unsafe)]
#[cheatcode(group = Evm, safety = Unsafe, status = Experimental)]
function cool(address target) external;

// -------- Call Manipulation --------
Expand Down
2 changes: 1 addition & 1 deletion testdata/cheats/Vm.sol

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.