Skip to content

Commit 0838c54

Browse files
committed
Add better explanation re evm version
1 parent 04cc1ca commit 0838c54

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

crates/cheatcodes/assets/cheatcodes.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/cheatcodes/spec/src/vm.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,15 @@ interface Vm {
609609
#[cheatcode(group = Evm, safety = Unsafe)]
610610
function coolSlot(address target, bytes32 slot) external;
611611

612-
/// Returns the execution evm version.
612+
/// Returns the test or script execution evm version.
613+
///
614+
/// **Note:** The execution evm version is not the same as the compilation one.
613615
#[cheatcode(group = Evm, safety = Safe)]
614616
function getEvmVersion() external pure returns (string memory evm);
615617

616-
/// Set the execution evm version.
618+
/// Set the test or script execution evm version.
619+
///
620+
/// **Note:** The execution evm version is not the same as the compilation one.
617621
#[cheatcode(group = Evm, safety = Safe)]
618622
function setEvmVersion(string calldata evm) external;
619623

0 commit comments

Comments
 (0)