From 92f19ef9bc2cb3c273269d616950ac29662c12de Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Fri, 19 Jul 2024 17:01:54 +0300 Subject: [PATCH] fix agreement mistake README.md --- lib/forge-std/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/forge-std/README.md b/lib/forge-std/README.md index 8494a7d..5857620 100644 --- a/lib/forge-std/README.md +++ b/lib/forge-std/README.md @@ -165,7 +165,7 @@ contract Storage { ### stdCheats -This is a wrapper over miscellaneous cheatcodes that need wrappers to be more dev friendly. Currently there are only functions related to `prank`. In general, users may expect ETH to be put into an address on `prank`, but this is not the case for safety reasons. Explicitly this `hoax` function should only be used for address that have expected balances as it will get overwritten. If an address already has ETH, you should just use `prank`. If you want to change that balance explicitly, just use `deal`. If you want to do both, `hoax` is also right for you. +This is a wrapper over miscellaneous cheatcodes that need wrappers to be more dev friendly. Currently there are only functions related to `prank`. In general, users may expect ETH to be put into an address on `prank`, but this is not the case for safety reasons. Explicitly this `hoax` function should only be used for addresses that have expected balances as it will get overwritten. If an address already has ETH, you should just use `prank`. If you want to change that balance explicitly, just use `deal`. If you want to do both, `hoax` is also right for you. #### Example usage: