diff --git a/test/rewards-claimer/LlamaRewardsClaimTestSetup.sol b/test/rewards-claimer/LlamaRewardsClaimTestSetup.sol index 2b46739..865ad14 100644 --- a/test/rewards-claimer/LlamaRewardsClaimTestSetup.sol +++ b/test/rewards-claimer/LlamaRewardsClaimTestSetup.sol @@ -14,7 +14,6 @@ import {DeployLlamaRewardsClaimer} from "script/DeployLlamaRewardsClaimer.s.sol" import {ILlamaAccount} from "src/interfaces/ILlamaAccount.sol"; import {ILlamaPolicy} from "src/interfaces/ILlamaPolicy.sol"; -import {ActionInfo} from "src/lib/Structs.sol"; import {LlamaRewardsClaimAccountExtension} from "src/rewards-claimer/LlamaRewardsClaimAccountExtension.sol"; import {LlamaRewardsClaimStorage} from "src/rewards-claimer/LlamaRewardsClaimStorage.sol"; @@ -146,18 +145,4 @@ contract LlamaRewardsClaimTestSetup is LlamaPeripheryTestSetup, DeployLlamaRewar address(rewardsContract5), 0, abi.encodeCall(MockRewardsContract.withdrawERC20, (USDC)) ); } - - function _createActionClaimRewards() public returns (ActionInfo memory actionInfo) { - LlamaRewardsClaimAccountExtension.TargetData[] memory targetData = _setupClaimRewardsData(); - bytes memory accountExtensionData = abi.encodeCall(LlamaRewardsClaimAccountExtension.claimRewards, (targetData)); - bytes memory data = - abi.encodeCall(ILlamaAccount.execute, (address(rewardsClaimAccountExtension), true, 0, accountExtensionData)); - - vm.prank(coreTeam1); - uint256 actionId = CORE.createAction(CORE_TEAM_ROLE, STRATEGY, address(ACCOUNT), 0, data, ""); - actionInfo = ActionInfo(actionId, coreTeam1, CORE_TEAM_ROLE, STRATEGY, address(ACCOUNT), 0, data); - - vm.prank(coreTeam1); - CORE.castApproval(CORE_TEAM_ROLE, actionInfo, ""); - } }