From be26b97ee20fdcf5964fae77f97bbb801f8d555b Mon Sep 17 00:00:00 2001 From: ygd58 Date: Fri, 3 Apr 2026 20:34:24 +0200 Subject: [PATCH] fix: change storage to memory in Drippie.executable() view function --- src/periphery/drippie/Drippie.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/periphery/drippie/Drippie.sol b/src/periphery/drippie/Drippie.sol index c7240d01..45016273 100644 --- a/src/periphery/drippie/Drippie.sol +++ b/src/periphery/drippie/Drippie.sol @@ -171,7 +171,7 @@ contract Drippie is AssetReceiver { /// @param _name Drip to check. /// @return True if the drip is executable, reverts otherwise. function executable(string calldata _name) public view returns (bool) { - DripState storage state = drips[_name]; + DripState memory state = drips[_name]; // Only allow active drips to be executed, an obvious security measure. require(state.status == DripStatus.ACTIVE, "Drippie: selected drip does not exist or is not currently active");