From 57704a44b6968050cffaed1ba40b221a94af89eb Mon Sep 17 00:00:00 2001 From: Avory Date: Tue, 9 Sep 2025 19:53:11 +0300 Subject: [PATCH] Update StdStorage.sol --- src/StdStorage.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/StdStorage.sol b/src/StdStorage.sol index 1627af75..50b5f4c8 100644 --- a/src/StdStorage.sol +++ b/src/StdStorage.sol @@ -252,7 +252,7 @@ library stdStorageSafe { (bool found, bytes32 key, bytes32 parent_slot) = vm.getMappingKeyAndParentOf(who, bytes32(child)); if (!found) { revert( - "stdStorage read_bool(StdStorage): Cannot find parent. Make sure you give a slot and startMappingRecording() has been called." + "stdStorage parent(StdStorage): Cannot find parent. Make sure you give a slot and startMappingRecording() has been called." ); } return (uint256(parent_slot), key); @@ -269,7 +269,7 @@ library stdStorageSafe { (found,, parent_slot) = vm.getMappingKeyAndParentOf(who, bytes32(child)); if (!found) { revert( - "stdStorage read_bool(StdStorage): Cannot find parent. Make sure you give a slot and startMappingRecording() has been called." + "stdStorage root(StdStorage): Cannot find parent. Make sure you give a slot and startMappingRecording() has been called." ); } while (found) {