Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
set guard
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrajath committed Apr 5, 2024
1 parent 9a84a22 commit df991cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/rewards-claimer/LlamaRewardsClaimTestSetup.sol
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,10 @@ contract LlamaRewardsClaimTestSetup is LlamaPeripheryTestSetup, DeployLlamaRewar
address(rewardsContract5), MockRewardsContract.withdrawERC20.selector, true
);
rewardsClaimStorage.setAuthorizedTargetSelectors(data);

// Set the Llama rewards claim guard.
CORE.setGuard(
address(ACCOUNT), bytes4(keccak256("execute(address,bool,uint256,bytes)")), address(rewardsClaimGuard)
);
}
}

0 comments on commit df991cc

Please sign in to comment.