Skip to content

Commit

Permalink
Add vm.prompt cheatcodes to Vm interface (fixes foundry-rs#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tudmotu committed Mar 21, 2024
1 parent bb4ceea commit aa1ba98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/Vm.sol

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

2 changes: 1 addition & 1 deletion test/Vm.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract VmTest is Test {
// inadvertently moved between Vm and VmSafe. This test must be updated each time a function is
// added to or removed from Vm or VmSafe.
function test_interfaceId() public pure {
assertEq(type(VmSafe).interfaceId, bytes4(0xce9c7617), "VmSafe");
assertEq(type(VmSafe).interfaceId, bytes4(0x97511f22), "VmSafe");
assertEq(type(Vm).interfaceId, bytes4(0xaf68a970), "Vm");
}
}

0 comments on commit aa1ba98

Please sign in to comment.