Skip to content

Commit

Permalink
feat: add vm.prompt cheatcodes to Vm interface (#529)
Browse files Browse the repository at this point in the history
* Add vm.prompt cheatcodes to Vm interface (fixes #528)

* regenerate using vm.py

---------

Co-authored-by: Matt Solomon <[email protected]>
  • Loading branch information
Tudmotu and mds1 authored Mar 26, 2024
1 parent 9ba64c0 commit e4aef94
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 e4aef94

Please sign in to comment.