Skip to content

Commit 39702dc

Browse files
committed
chore: comment about adding explicit clamping for switching actors
1 parent 6dbd18d commit 39702dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ActorManager.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ abstract contract ActorManager {
6969

7070
/// @dev Expose this in the `TargetFunctions` contract to let the fuzzer switch actors
7171
/// NOTE: We revert if the entropy is greater than the number of actors, for Halmos compatibility
72+
/// @dev This may reduce fuzzing performance if using multiple actors, if so add explicitly clamped handlers to ManagersTargets using the index of all added actors
7273
/// @notice Switches the current actor based on the entropy
7374
/// @param entropy The entropy to choose a random actor in the array for switching
7475
/// @return target The new active actor

0 commit comments

Comments
 (0)