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

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinGreen committed Dec 12, 2023
1 parent ee92276 commit 9798a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/llama-scripts/LlamaAccountTokenDelegationScript.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import {IERC20} from "@openzeppelin/token/ERC20/IERC20.sol";
import {IVotes} from "@openzeppelin/governance/utils/IVotes.sol";

import {LlamaAccount} from "src/accounts/LlamaAccount.sol";
import {LlamaUtils} from "src/lib/LlamaUtils.sol";
import {Roles, LlamaTestSetup} from "test/utils/LlamaTestSetup.sol";
import {LlamaAccountTokenDelegationScript} from "src/llama-scripts/LlamaAccountTokenDelegationScript.sol";
import {ActionInfo, PermissionData} from "src/lib/Structs.sol";

contract LlamaAccountTokenDelegationScriptTest is LlamaTestSetup {
IERC20 public constant UNI = IERC20(0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984);
address public constant UNI_WHALE = 0x878f0822A9e77c1dD7883E543747147Be8D63C3B;
uint256 public constant UNI_AMOUNT = 1000e18;

address delegationScriptAddress;
Expand Down Expand Up @@ -152,7 +152,7 @@ contract DelegateToExecutor is LlamaAccountTokenDelegationScriptTest {
LlamaAccountTokenDelegationScript.AccountTokenDelegateData[] memory tokenDelegateData =
new LlamaAccountTokenDelegationScript.AccountTokenDelegateData[](2);

for (uint256 i = 0; i < 2; i = i++) {
for (uint256 i = 0; i < 2; LlamaUtils.uncheckedIncrement(i)) {
tokenDelegateData[i] = LlamaAccountTokenDelegationScript.AccountTokenDelegateData(
LlamaAccount(payable(address(i % 2 == 0 ? mpAccount1 : mpAccount2))),
IVotes(address(UNI)),
Expand Down

0 comments on commit 9798a5f

Please sign in to comment.