Skip to content

Commit addeae6

Browse files
yash-atreyaYash Atreya
andauthored
feat(vm): getStorageAccesses (#712)
Ref foundry-rs/foundry#11296 Adds: ```solidity /// Returns an array of `StorageAccess` from current `vm.stateStateDiffRecording` session function getStorageAccesses() external view returns (StorageAccess[] memory storageAccesses); ``` --------- Co-authored-by: Yash Atreya <[email protected]>
1 parent 0c71116 commit addeae6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Vm.sol

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

test/Vm.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ contract VmTest is Test {
1313
}
1414

1515
function test_VmSafeInterfaceId() public pure {
16-
assertEq(type(VmSafe).interfaceId, bytes4(0x347835a6), "VmSafe");
16+
assertEq(type(VmSafe).interfaceId, bytes4(0x1ce18476), "VmSafe");
1717
}
1818
}

0 commit comments

Comments
 (0)