Skip to content

Commit

Permalink
fix: change envExists return sig (#7774)
Browse files Browse the repository at this point in the history
* fix: change envExists return sig

* update: cheats testdata
  • Loading branch information
yash-atreya authored Apr 24, 2024
1 parent e0ea59c commit ad04f23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/cheatcodes/assets/cheatcodes.json

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

2 changes: 1 addition & 1 deletion crates/cheatcodes/spec/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1503,7 +1503,7 @@ interface Vm {

/// Gets the environment variable `name` and returns true if it exists, else returns false.
#[cheatcode(group = Environment)]
function envExists(string calldata name) external view returns (bool exists);
function envExists(string calldata name) external view returns (bool result);

/// Gets the environment variable `name` and parses it as `bool`.
/// Reverts if the variable was not found or could not be parsed.
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.

0 comments on commit ad04f23

Please sign in to comment.