Skip to content

Commit

Permalink
Merge pull request #614 from zerosnacks/zerosnacks/add-gas-snapshot-c…
Browse files Browse the repository at this point in the history
…heatcodes

feat: add gas snapshot cheatcodes
  • Loading branch information
zerosnacks authored Oct 3, 2024
2 parents ab6de56 + 29d018d commit 4e5f46a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
32 changes: 31 additions & 1 deletion 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 @@ import {Vm, VmSafe} from "../src/Vm.sol";
// added to or removed from Vm or VmSafe.
contract VmTest is Test {
function test_VmInterfaceId() public pure {
assertEq(type(Vm).interfaceId, bytes4(0x29bd9d0a), "Vm");
assertEq(type(Vm).interfaceId, bytes4(0x35457718), "Vm");
}

function test_VmSafeInterfaceId() public pure {
Expand Down

0 comments on commit 4e5f46a

Please sign in to comment.